Install Certbot to Auto-Renew SSL Certificates Issued by Let's Encrypt
Certbot will let you manage your SSL certificates, ensuring that your server will automatically renew Let's Encrypt without you doing it by hand.
Web, Dev, Linux, Apache, Nginx, MySQL, webhost, webserver, sysadmin
Certbot will let you manage your SSL certificates, ensuring that your server will automatically renew Let's Encrypt without you doing it by hand.
Create a database named database_name
and enter your root database passwordmysql -u root -p -e "CREATE DATABASE database_name CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci";
Create a Drupal site directory. For this setup, websites are at /var/www/
cd /var/www
mkdir example.com
Note: Use Certbot for easy management of Let's Encrypt SSL certificates.
Code:chown -R www-data:www-data /path/to/folder/
Note that this is a personal workflow of mine and not a tutorial. Commands may vary according to your setup.