Linux

apt show

apt show command shows information about a package. root@ok-vm:~# apt show apache2 Package: apache2 Version: 2.4.18-2ubuntu3.5 Priority: optional Section: web Origin: Ubuntu…

apt policy

apt policy command show information about a package. root@ok-vm:~# apt policy apache2 apache2: Installed: 2.4.18-2ubuntu3.5 Candidate: 2.4.18-2ubuntu3.5 Version table: *** 2.4.18-2ubuntu3.5 500…

geoip

PHP Script to Find GeoIP info Install GeoIP Apache Module in CentOS Install GeoIP PHP Module in Ubuntu Country Blocking with nginx…

webmin

Webmin is an open source control panel to manage Linux and FreeBSD servers. http://www.webmin.com Download Latest source distribution from http://www.webmin.com/download.html To install…

sar

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

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…