Blog

sar

Enable sar in Ubuntu install sysstat on CentOS View Past Performance Data With sar To see stats for the previous day, run…

docker

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…

Backup with tar

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…

zfs

Install zfs file system on Ubuntu apt install -y zfs Listing ZFS file systems root@ns3048991:~# zfs list NAME USED AVAIL REFER MOUNTPOINT…

sendmail

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. .…

maldet

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…