Server Monitoring with Munin and Monit on Ubuntu 14.04 LTS Rumi, January 6, 2016 Our system’s hostname is server1.example.com, and we have a website www.example.com on it with the document root/var/www/www.example.com/web. The following steps have to be performed as root user. To become root user on your server, run this command: sudo su Ensure that the system is up to date before you start… Continue Reading
SVN Server on Ubuntu 12.04 LTS with Web Access Rumi, December 9, 2015December 9, 2015 To install SVN server, run this command at the command prompt: sudo apt-get install subversion libapache2-svn apache2 Make the directory where you want to keep the svn repositories and edit the dav_svn.conf file: sudo mkdir /svn sudo nano /etc/apache2/mods-enabled/dav_svn.conf Delete all the data and make it simple like this 🙂 <Location… Continue Reading
How to setup vsftpd FTP with SSL on Ubuntu 12.04 Rumi, December 7, 2015December 7, 2015 This tutorial teaches you, how to setup vsftpd server on Linux based dedicated Web server. The tutorial also teaches you how to add the ftp users and lock the directory to individual users(In this scenario,lock the users into their individual web directory). In Ubuntu 12.04, vsftpd with chrooted users gives the following… Continue Reading
How to install FFmpeg or avconv on Debian Rumi, November 1, 2015 You may install “avconv” which has almost the same usage as “ffmpeg”. The two commands often use the same syntax, but features such as srt subtitles may only work with ffmpeg. sudo apt-get install libav-tools Continue Reading
Stunnel on Debian/Ubuntu with Squid Rumi, October 27, 2015 What’s Stunnel The Stunnel program is designed to work as an SSL encryption wrapper between remote client and local (inetd-startable) or remote server. It can be used to add SSL functionality to commonly used inetd daemons like POP2, POP3, and IMAP servers without any changes in the program’s code. What… Continue Reading
Install Openmediavault on Debian Wheezy/7 Rumi, October 3, 2015April 27, 2018 First Install Debian minimal Configure your Debian repositories Update the repository sources and add the contrib and non-free repositories. nano /etc/apt/sources.list It should look something like this: deb http://ftp.us.debian.org/debian/ wheezy main contrib non-free deb-src http://ftp.us.debian.org/debian/ wheezy main contrib non-free deb http://security.debian.org/ wheezy/updates main contrib non-free deb-src http://security.debian.org/ wheezy/updates main contrib… Continue Reading
Enable mod_rewrite on Apache for Debian Rumi, September 8, 2015 To enable and load mod_rewrite, do the following. $ sudo a2enmod rewrite Then open up the following file, and replace every occurrence of “AllowOverride None” with “AllowOverride all”. $ sudo vi /etc/apache2/sites-available/default or $ sudo vi /etc/apache2/sites-available/000-default Finally, restart Apache2. $ sudo service apache2 restart Continue Reading
Cacti on Debian (Updated) Rumi, April 19, 2015April 19, 2015 Downloading Cacti You can download the newest version of Cacti from its website. wget http://www.cacti.net/downloads/cacti-0.8.7b.tar.gz Installing Cacti Install apache webserver with php support, mysql database server, snmp, some php modules and rrdtool. apt-get install apache2 libapache2-mod-php5 php5 php5-cli php5-mysql php5-gd php5-snmp mysql-client mysql-server libmysqlclient15-dev snmp snmpd rrdtool Add a user… Continue Reading
NFS Server and Client on Debian 6/7 Rumi, March 13, 2015 Assumptions: NFS Server IP: 172.16.5.100 NFS Client Node1: 172.16.5.101 NFS Client Node2: 172.16.5.102 NFS Client Node3: 172.16.5.103 NFS Client Node4: 172.16.5.104 On the NFS Server: Install nfs-kernel-server Install nfs-kernel-server and nfs-common Install nfs-common on the computer that has the files to be shared. apt-get update && sudo apt-get install nfs-kernel-server nfs-common Edit the exports… Continue Reading
Install and configure fail2ban Rumi, January 4, 2015 Servers do not exist in isolation, and those servers with only the most basic SSH configuration can be vulnerable to brute force attacks. fail2ban provides a way to automatically protect the server from malicious signs. The program works by scanning through log files and reacting to offending actions such as… Continue Reading