How To Add Swap Space on Ubuntu 22.04
Introduction One way to guard against out-of-memory errors in applications is to add some swap space to your server. In this guide, we will cover how to add a swap…
Introduction One way to guard against out-of-memory errors in applications is to add some swap space to your server. In this guide, we will cover how to add a swap…
sudo apt update sudo apt install curl unzip sudo apt install php php-curl curl -sS https://getcomposer.org/installer -o composer-setup.php sudo php composer-setup.php --install-dir=/usr/local/bin --filename=composer composer -V
We have to add the following code in wp-config.php define('DISABLE_WP_CRON', true); 2. Install corn job in doplet (Ubuntu) sudo apt update sudo apt install cron sudo systemctl enable cron 3.…
I quickly checked this by $ free -m And the output suggested that there is no swap file provisioned. This is how the output looked - total used free shared…
Edit /etc/nginx/sites-available/your_domain ... listen [::]:443 ssl; listen 443 ssl; ... Have to add http2 after ssl as bellow ... listen [::]:443 ssl http2; listen 443 ssl http2; ... Add #…
BIO_new_file(“/etc/letsencrypt/live/domain.com/fullchain.pem”) failed (SSL: error:02001002:system library:fopen:No such file or directory:fopen(‘/etc/letsencrypt/live/domain.com/fullchain.pem’,’r’) Solutions Find where the issue grep -R /etc/letsencrypt/live/example.com/fullchain.pem /etc/nginx/ 2. fix or reset them 3. sudo nginx -t 4. sudo systemctl…
Easy way to solve in nginx server 1. Suppose the configuration as server { listen 80; listen [::]:80; root /var/www/html/cirk-l.com/public; index index.php index.html index.htm index.nginx-debian.html; server_name example.com www.example.com ; location…
sudo apt-get install php7.4-soap sudo nginx -t sudo systemctl restart nginx
sudo apt-get install php7.4-soap (or 7.x) sudo nginx -t sudo systemctl restart nginx
sudo apt-get remove phpmyadmin sudo apt-get purge phpmyadmin sudo apt-get autoremove