ApacheBench tool comes bundled with the standard Apache source distribution for measuring the performance of HTTP web servers. This especially shows you how many requests per second your Apache is capable of serving by generating a flood of requests to a given URL and returns some easily digestible performance related metrics to the screen.
For example, the following command will execute 1000 HTTP GET requests, processing up to 10 requests concurrently, to the specified URL.
ab -k -n 1000 -c 10 "https://comparis.com/"
sudo apt install ncdu
ncdu -x /var/
ERROR: The partition with /var/lib/mysql is too full!
sudo apt clean
sudo service mysql start
That’s all folks. 😉
certbot certonly --manual --manual-public-ip-logging-ok --preferred-challenges dns-01 --server https://acme-v02.api.letsencrypt.org/directory -d *.yourdomain.com
cat /etc/group | grep sudo
certbot renew --force-renewal -i apache -d example.com -d www.example.com
To copy a directory with all subdirectories and files, use the cp command. Below is an example command of how you would use the cp command to copy files. Additional information about this command and other examples are available through the above cp link.
cp -r /home/hope/files/* /home/hope/backup
In the example above, the cp command would copy all files, directories, and subdirectories in the /home/hope/files directory to the /home/hope/backup directory.
Copy a folder called /tmp/conf to /tmp/backup:
cp -avr /tmp/conf/ /tmp/backup
-a : Preserve the specified attributes such as directory an file mode, ownership, timestamps, if possible additional attributes: context, links, xattr, all.
-v : Explain what is being done.
-r : Copy directories recursively. Example
Now with the help of Certbot will generate wildcard certificate for our test domain erpnext.xyz
sudo certbot certonly --manual --preferred-challenges=dns --email firstname.lastname@example.org --server https://acme-v02.api.letsencrypt.org/directory --agree-tos -d *.erpnext.xyz
After executing the above command, the Certbot will share a text record to add to your DNS.
Please deploy a DNS TXT record under the name
_acme-challenge.erpnext.xyz with the following value:
Then you will receive:
Press Enter to Continue
Waiting for verification...
Cleaning up challenges
- Congratulations! Your certificate and chain have been saved at:
Your key file has been saved at:
Your cert will expire on 2019-08-31. To obtain a new or tweaked
version of this certificate in the future, simply run certbot
again. To non-interactively renew *all* of your certificates, run
- If you like Certbot, please consider supporting our work by:
Donating to ISRG / Let's Encrypt: https://letsencrypt.org/donate
Donating to EFF: https://eff.org/donate-le
Check version number
certbot --version || /path/to/certbot-auto --version
If you have already installed Certbot, you should add a parameter to apt-get install to upgrade only a specific package
sudo apt-get update
sudo apt-get install --only-upgrade certbot
PHP 5.6.25-2+deb.sury.org~trusty+1 (cli)
Copyright (c) 1997-2016 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies
with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2016, by Zend Technologiescode
In the page the php code phpinfo();
PHP Version 5.5.9-1ubuntu4.19
Now to correct this you need to:
sudo a2dismod php5
sudo a2enmod php5.6
sudo service apache2 restart