...
Create application directories under /var/www/
Code Block language bash linenumbers true cd /var/www mkdir pcr360 cd pcr360/ mkdir configs prod licenses prod/logs data data/inbound data/outbound data/inbound-test data/outbound-test
- Place the product license file pcr360.zl included in the installation package into the licenses directory. (This must be Apache readable)
- Extract the application tarball pcr360.tar.gz included in the installation package to /var/www/pcr360/prod (the prod directory is in the tarball).
Create directories under /var/www/pcr360/prod/data
Code Block language bash cd /var/www/pcr360/prod/data mkdir archive archive/importfiles cache cache/page emails errors inbound reports reports/historical search uploads uploads/importfiles uploads/vh
Check to ensure that the new /var/www/pcr360/prod/data directory is writable and owned by Apache.
Code Block language bash # Cent OS chown -R apache:apache * # Ubuntu # For Ubuntu ACL permission are required to allow Apache (www-data) to access data files that may be owned by another user. apt install acl setfacl -Rm g:linuxadmins-hosted:rwx find /var/www/pcr360/prod/data -type d -exec chmod 775 {} + find /var/www/pcr360/test/data -type setfacld -Rm u:www-data:rwx /var/www/pcr360/data setfacl -Rm gexec chmod 775 {} + chown -R www-data:linuxadmins-hosted:rwx /var/www/pcr360/prod/data setfaclchown -RmR u:www-data:rwx linuxadmins-hosted/var/www/pcr360/prodtest/data setfaclchown -RmR gwww-data:linuxadmins-hosted:rwx /var/www/pcr360/testprod/datalogs setfaclchown -RmR u:www-data:rwx linuxadmins-hosted/var/www/pcr360/test/datalogs
Configuration
PCR-360 configurations are stored in a ini file in the /var/www/pcr360/configs/ directory created above.
...