No longer include php-mcrypt in the web server installation
This commit is contained in:
parent
f8dbd128df
commit
3026569f18
1 changed files with 3 additions and 3 deletions
|
@ -15,7 +15,7 @@
|
||||||
|
|
||||||
### Package Requirements for Web Server
|
### Package Requirements for Web Server
|
||||||
|
|
||||||
nginx, php, php-apcu-bc, php-fpm, php-composer, php-gd, php-imap, php-intl, php-mcrypt, php-memcached, php-geoip, geoip-database geoip-database-extra, memcached, mariadb, bower, gulp, npm, certbot
|
nginx, php, php-apcu-bc, php-fpm, php-composer, php-gd, php-imap, php-intl, php-memcached, php-geoip, geoip-database geoip-database-extra, memcached, mariadb, bower, gulp, npm, certbot
|
||||||
|
|
||||||
### Folders for Web Server
|
### Folders for Web Server
|
||||||
|
|
||||||
|
@ -25,14 +25,14 @@ nginx, php, systemd
|
||||||
|
|
||||||
1. Install the packages in the `Package Requirements` above
|
1. Install the packages in the `Package Requirements` above
|
||||||
2. Copy the folders above that aren't already configured to their equivalent location in `/etc`
|
2. Copy the folders above that aren't already configured to their equivalent location in `/etc`
|
||||||
3. In `/etc/nginx/sites-available/REPLACEME.TLD.conf` and `/etc/systemd/system/letsencrypt.service`
|
3. In `/etc/nginx/sites-available/REPLACEME.TLD.conf` and `/root/letsencrypt.sh`
|
||||||
4. Rename `/etc/nginx/sites-available/REPLACEME.TLD.conf`
|
4. Rename `/etc/nginx/sites-available/REPLACEME.TLD.conf`
|
||||||
5. Add your site files to `/srv/http/REPLACEME.TLD` where public assets are located in `/srv/http/REPLACEME.TLD/public`
|
5. Add your site files to `/srv/http/REPLACEME.TLD` where public assets are located in `/srv/http/REPLACEME.TLD/public`
|
||||||
6. Create a symlink from `/etc/nginx/sites-available/REPLACEME.tld.conf` to `/etc/nginx/sites-enabled/REPLACEME.tld.conf`
|
6. Create a symlink from `/etc/nginx/sites-available/REPLACEME.tld.conf` to `/etc/nginx/sites-enabled/REPLACEME.tld.conf`
|
||||||
7. Run `openssl dhparam -out /etc/nginx/dhparam.pem 4096` to generate the diffie-hellman parameter
|
7. Run `openssl dhparam -out /etc/nginx/dhparam.pem 4096` to generate the diffie-hellman parameter
|
||||||
8. Run `systemctl start php-fpm nginx` to start the web services and `systemctl status php-fpm` and `systemctl status nginx` to check for errors
|
8. Run `systemctl start php-fpm nginx` to start the web services and `systemctl status php-fpm` and `systemctl status nginx` to check for errors
|
||||||
9. If there were no errors in the previous command, run `systemctl enable php-fpm nginx` to enable the web services at boot
|
9. If there were no errors in the previous command, run `systemctl enable php-fpm nginx` to enable the web services at boot
|
||||||
10. Ensure the public web directory exists and run `systemctl start letsencrypt` to generate the SSL certificates
|
10. Ensure the public web directory exists, update the list of domains in `/root/letsencrypt.sh` and then run it to generate the SSL certificates
|
||||||
11. Run `systemctl start certbot-renewal.timer` and `systemctl enable certbot-renewal.timer` to start and enable the auto-renewal process
|
11. Run `systemctl start certbot-renewal.timer` and `systemctl enable certbot-renewal.timer` to start and enable the auto-renewal process
|
||||||
|
|
||||||
### MySQL Config
|
### MySQL Config
|
||||||
|
|
Loading…
Reference in a new issue