Enable sar in Ubuntu
On Ubuntu, when i run sar, i get error root@localhost:~# sar Cannot open /var/log/sysstat/sa31: No such file or directory Please check if…
On Ubuntu, when i run sar, i get error root@localhost:~# sar Cannot open /var/log/sysstat/sa31: No such file or directory Please check if…
On a Cpanel Server with an old version of PHP, one of the applications requires MySQL 5.6 to work. Since the PHP…
If you need to try docker on web without installing on your computer, use https://labs.play-with-docker.com Docker Install Docker Basics Docker Delete Conatiner/Image…
To backup a site using tar, i created a shell script. mkdir /usr/serverok/ vi /usr/serverok/backup-daily.sh With following content #!/bin/bash /bin/tar zcvhf /backup/daily/backup.tgz…
Auto backup all your MySQL databases daily, weekly and monthly. To install on Debian/Ubuntu, run apt install automysqlbackup -y To manually backup,…
Install zfs file system on Ubuntu apt install -y zfs Listing ZFS file systems root@ns3048991:~# zfs list NAME USED AVAIL REFER MOUNTPOINT…
To test mail using sendmail, use sendmail -f sender@example.com recipient@example.com From: Sender Name Subject: Test Mail This is a test message. .…
Sent maldet scan report to email To install maldet, run cd /usr/local/src wget http://www.rfxn.com/downloads/maldetect-current.tar.gz tar xvf maldetect-current.tar.gz cd maldetect-1* ./install.sh Configure Maldet…
To generate self signed SSL certificate, run Or Or Add Self Signed SSL to Apache Virtual Host Let’s say your Apache virtual…
To install telnet on Windows, start the command prompt or power shell as Administrator, then run the following command. Sending Email with…
Proxmox is a Virtualization software that allows you to run KVM virtual machines and LXC containers. Once installed, you will be able…
sublime shortcuts CTRL + D = select all occurrence of a word. CTRL + L = select current line. SHIFT + LEFT/RIGHT…