Let’s Encrypt Apache on Raspberry Pi

To install let’s encrypt using “Apache on PIP

sudo apt install python3 python3-venv libaugeas0
sudo python3 -m venv /opt/certbot/
sudo /opt/certbot/bin/pip install --upgrade pip
sudo /opt/certbot/bin/pip install certbot certbot-apache
sudo ln -s /opt/certbot/bin/certbot /usr/bin/certbot

Next command will ask for:

— e-mail
— space or comma separated domain names
— config file (e.g. 000-default-le-ssl.conf)

sudo certbot --apache

You can check renewal:

sudo certbot renew --dry-run

Unable to create directory

the title was “WordPress: Unable to create directory”, but unfortunately, error “unable to create directory” occurred with trying to add theme, plugin, media file, update WordPress or any other websites uploaded with sftp

First step is to add the current user to the group www-data (Apache):

sudo gpasswd -a "$USER" www-data

sudo chown -R “$USER”:www-data /var/www – not sure in this step

Change the rights for group for modifications and executions

(more…)
Yandex.Metrica