- Installed mariadb
- Deployed code via gitlab.
- Created tmp folders for CakePHP 3
- Created uploads folders for CakePHP 3
- Added app.php file
- Installed composer
- Ran
composer update
- Installed rabbitmq
- Ran
composer dumpautoload -o
- Deployed database
- Imported existing database
- Increased
innodb_buffer_pool_size
to 400M
- Installed supervisorctl
- Added supervisorctl configuration. Check file above.
- Setup the shell scripts via the supervisor by adding conf files
- Created a new virtualhost configuration for the web application.
nano /etc/apache2/sites-available/systemtest.osmosys.asia.conf
a2ensite systemtest.osmosys.asia.conf
service apache2 restart
- Added the following to
apache2.conf
file, to remove apache version and OS reporting -
ServerSignature Off
ServerTokens ProductOnly
- Set
expose_php
to off in php.ini, to disable PHP version reporting.
- Using certbot, got an https certificate for the server.