lwc:lamp_etc

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
lwc:lamp_etc [2021/09/29 14:06] John Harrisonlwc:lamp_etc [2025/01/22 07:16] (current) John Harrison
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:
 +<code>
 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;
 +</code>
 now restore the DB: now restore the DB:
 +<code>
 mysql -u filimin_manager -p mysql -u filimin_manager -p
   * use <DB name>;   * use <DB name>;
   * source <filename>;   * source <filename>;
 +</code>
 +
 +===== Certbot/Letsencypt =====
 +  * add domains to existing certificate on nginx: ''certbot --nginx''
 +    * choose all the domains listed to renew existing domains and add the new ones
 +
 +===== tidbits =====
 +  * check dates of certificate: ''openssl s_client -connect ${SITE_URL}:${SITE_SSL_PORT} -servername ${SITE_URL} 2> /dev/null |  openssl x509 -noout  -dates''
  
  
  
  • lwc/lamp_etc.1632942415.txt.gz
  • Last modified: 2021/09/29 14:06
  • by John Harrison