Blog

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…

sublime

sublime shortcuts CTRL + D = select all occurrence of a word. CTRL + L = select current line. SHIFT + LEFT/RIGHT…