...
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 # Ubuntusetfacl 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 /var/www/pcr360/data setfacl -Rm u:www-data:rwx /var/www/pcr360/data setfacl -Rm g:linuxadmins-hosted:rwx /var/www/pcr360/prod/data setfacl -Rm u:www-data:rwx /var/www/pcr360/prod/data setfacl -Rm g:linuxadmins-hosted:rwx /var/www/pcr360/test/data setfacl -Rm u:www-data:rwx /var/www/pcr360/test/data
...