How To Setup a NGINX Virtual Host Using a Custom Domain

Getting Started Thanks to: This guide assumes that you’ve been following along from the previous tutorial: How to Install and Configure a NGINX Server (LEMP Stack) Important: to properly setup your virtual host you will need to be able to create a DNS A RECORD for a domain or subdomain you own. I use GoDaddy to register my […]

How To Secure Your Linux Server or Workstation – Linux Best Security Practices

Thanks to Boot Disk One of the foremost requisites of a secure Linux server is the boot disk. Nowadays, this has become rather simple as most Linux distributions are on bootable CD/DVD/USB sticks. Other options are, to use rescue disks such as the ‘TestDisk’, ‘SystemRescueCD’, ‘Trinity Rescue Kit’ or ‘Ubuntu Rescue Remix’. These will enable […]

Understanding Linux File System Quotas – Installation and Setup

Thanks to When you are running your own web hosting, it is important to monitor how much space is being used by each user. This is not a simple task to be done manually since one of the users or group could fill up the whole hard disk, preventing others from availing any space. Therefore, […]

How to: Restrict Users to SCP and SFTP and Block SSH Shell Access with rssh

Thanks to FTP is insecure protocol, but file-transfer is required all time. You can use OpenSSH Server to transfer file using SCP and SFTP (secure ftp) without setting up an FTP server. However, this feature also grants ssh shell access to a user. Basically OpenSSH requires a valid shell. Here is how sftp works: SCP/SFTP […]


Source: Download PIWIK web analytics. Upload to server. Create a mysql table. Go to your site. And it will guide you step by step. eg. 1.chown -R www-data:www-data /var/www/piwik This is because it wants to create a configuration for you. Then it will ask your mysql connection settings. Then it will ask your user name and […]

Run Commands

  To Access Run Command Accessibility Controls access.cpl Accessibility Wizard accwiz Add Hardware Wizard hdwwiz.cpl Add/Remove Programs appwiz.cpl Administrative Tools control admintools Adobe Acrobat (if installed) acrobat Adobe Designer (if installed) formdesigner Adobe Distiller (if installed) acrodist Adobe ImageReady (if installed) imageready Adobe Photoshop (if installed) photoshop Automatic Updates wuaucpl.cpl Bluetooth Transfer Wizard fsquirt Calculator […]

Vi Editor Command

Source: Linux and Unix are managed through a series of text files. Linux administrators do not normally use graphical editors to manage these configuration files. Editors such as WordPerfect, starOffice, and yes, even Microsoft Word normally save files in a binary format that Linux can’t read. Popular text editors for Linux configuration files include emacs, […]

Network Monitoring With Zabbix

Network Monitoring With Zabbix Source: Howtoforce  Zabbix has the capability to monitor just a about any event on your network from network traffic to how many papers are left in your printer. It produces really cool grahps. In this howto we install software that has an agent and a server side. The goal is to […]