feat: replace apache2 with nginx + php-fpm
BREAKING CHANGE: The `apache2` webserver has been replaced with `nginx` and `php-fpm`, be sure to uninstall `apache2` and clean related configuration files from your system before upgrading.
This commit is contained in:
parent
2f205544c2
commit
ec45717ccf
8 changed files with 114 additions and 48 deletions
|
@ -52,7 +52,7 @@ sudo systemctl restart libretime.target
|
|||
Verify that all the services are still running after the install process:
|
||||
|
||||
```bash
|
||||
sudo systemctl --all --plain | egrep 'libretime|apache2'
|
||||
sudo systemctl --all --plain | egrep 'libretime|nginx|php.*-fpm'
|
||||
```
|
||||
|
||||
Verify for any error in the logs after the install process:
|
||||
|
|
|
@ -52,4 +52,4 @@ For some LibreTime services, you can set a higher log level using the `LIBRETIME
|
|||
sudo -u libretime libretime-analyzer --config /etc/libretime/config.yml --log-level debug
|
||||
```
|
||||
|
||||
The `/var/log/apache2/libretime.error.log` file contains logs from the web server.
|
||||
The `/var/log/nginx/libretime.error.log` file contains logs from the web server.
|
||||
|
|
|
@ -50,18 +50,18 @@ sudo rm -f /{etc,usr/lib}/systemd/system/airtime*
|
|||
sudo rm -f /{etc,usr/lib}/systemd/system/libretime*
|
||||
```
|
||||
|
||||
Remove apache2 configuration files:
|
||||
Remove nginx configuration files:
|
||||
|
||||
```bash
|
||||
sudo rm -f /etc/apache2/sites-{available,enabled}/airtime*
|
||||
sudo rm -f /etc/apache2/sites-{available,enabled}/libretime*
|
||||
sudo rm -f /etc/nginx/sites-{available,enabled}/airtime*
|
||||
sudo rm -f /etc/nginx/sites-{available,enabled}/libretime*
|
||||
```
|
||||
|
||||
Remove php configuration files:
|
||||
Remove php-fpm configuration files:
|
||||
|
||||
```bash
|
||||
sudo rm -f /etc/php/*/apache2/conf.d/airtime*
|
||||
sudo rm -f /etc/php/*/apache2/conf.d/libretime*
|
||||
sudo rm -f /etc/php/*/fpm/pool.d/airtime*
|
||||
sudo rm -f /etc/php/*/fpm/pool.d/libretime*
|
||||
```
|
||||
|
||||
Remove logrotate configuration files:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue