Panel | ||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||||||||||||||||||
|
Note |
---|
Note: It is recommended to copy and paste the code provided in these instructions. |
1. Test Test the data warehouse (DWH) database connectivity and responsiveness. This will make setup and troubleshooting much easier. Depending on your base OS configuration, you may or may not have psql installed. For this test, we will assume psql is NOT installed. From the pre-install worksheet, you will need to obtain the username, host, and dbname from row 1.
...
Code Block | ||
---|---|---|
| ||
ucid ------------- US-952687-A US-954232-A US-950468-A US-946897-A US-950860-A (5 rows) |
2. Test SOLR Test Solr for connectivity and responsiveness. This will also make things easier during the installation process. From the pre-install worksheet, you will need to obtain the host and port information from row 3.
...
Operating System | Repository |
---|---|
RHEL/CentOS Rocky 8 | yumsudo dnf -y install \Note: This installs EPEL and the PowerTools repositories |
Amazon Linux 2 | sudo yum -y install \ |
4. Install CDWS and CDWI. Both packages will be installed in /usr/share/perl5/vendor_perl
. The Alexandria library will also be installed as part of these packages.
...
8. Using a text editor, set the ServerName in the alexandria-cdw(s|i)-apache.conf
files files. This should be a fully qualified domain name, not an IP address. It is also necessary to make sure the VirualHost Make sure that the VirtualHost parameter is set to reflect port 80. See below:
In alexandria-cdws-apache.conf: ServerName cdws.yourdomain.com
<VirtualHost *:80>
...
Note |
---|
Note: If you have trouble accessing your local instance of CDWI, try the following: 1. In order to use CDWI, you must assign an alias to the server’s IP address. For example, if the server is running on IP 123.45.67.89, you cannot access CDWI through http://cdwi.123.45.67.89. You must make a name assignment like this: 123.45.67.89 cdws.mydomain.com cdwi.mydomain.com “mydomain.com” must match the domain name used in step 9 8 above. It should be a domain name you have permission to use. If you are only using the service internally, then this name could be anything, but if you are exposing it externally, it should be a registered name. For For testing, you can make the name assignment on a local hosts file. You You should be able to reach CDWI from any machine on your network where the name assignment has been made. If you make a name assignment on the enterprise name server, then anyone in the organization should be able to access CDWI at http://cdwi.mydomain.com. 2. After updating the hosts file on a local machine, you need to open a new browser session. In the new browser, you should be able to access CDWI. If you open a new tab in an old browser session, you may find that CDWI is not accessible. |