Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
lwc:lamp_etc [2020/11/26 19:28] – created John Harrison | lwc:lamp_etc [2025/01/22 07:16] (current) – John Harrison | ||
---|---|---|---|
Line 14: | Line 14: | ||
* the certificate needs to be a pem file. To create a pem file: cat apache.crt apache.key > apache.pem | * the certificate needs to be a pem file. To create a pem file: cat apache.crt apache.key > apache.pem | ||
- | After installing server, | + | After installing server, |
* note: as of 7-Nov-2015 it appears 4095 is too high. 1023 seems to be the number to use. | * note: as of 7-Nov-2015 it appears 4095 is too high. 1023 seems to be the number to use. | ||
- | test from a remote client with: | + | test from a remote client with: '' |
- | look for errors on the server in / | + | look for errors on the server in '' |
===== Disable compression ===== | ===== Disable compression ===== | ||
Line 33: | Line 33: | ||
if creating a new DB log into mysql, create the DB and give your user permissions to access it: | if creating a new DB log into mysql, create the DB and give your user permissions to access it: | ||
+ | < | ||
mysql -u root -p | mysql -u root -p | ||
* create database <DB name>; | * create database <DB name>; | ||
Line 38: | Line 39: | ||
* flush privileges; | * flush privileges; | ||
* quit; | * quit; | ||
+ | </ | ||
now restore the DB: | now restore the DB: | ||
+ | < | ||
mysql -u filimin_manager -p | mysql -u filimin_manager -p | ||
* use <DB name>; | * use <DB name>; | ||
* source < | * source < | ||
+ | </ | ||
+ | |||
+ | ===== Certbot/ | ||
+ | * add domains to existing certificate on nginx: '' | ||
+ | * choose all the domains listed to renew existing domains and add the new ones | ||
+ | |||
+ | ===== tidbits ===== | ||
+ | * check dates of certificate: | ||