Reinstalling MySQL on CentOS/Redhat 6 Rumi, February 7, 2016 Some time we faces issues with MySQL installation on Linux machine. If we simply remove MySQL packages and re-install doesn’t fixes the issue, in that case old settings may still exists on server which again affects new install. In that case first uninstall MySQL completely from system and erase all… Continue Reading
Simple failover cluster using UCARP on Ubuntu (Heartbeat Alternative) Rumi, January 24, 2016 In this tutorial, I’ll show you the steps to create a simple failover cluster on Ubuntu using CARP. To make the things meaningful,we’ll create the cluster for Apache service but you can use it for any other service, which relay on IP. Scenario: Here is my Setup: PrimarySrv: This is the… Continue Reading
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
Linux Tune Network Stack (Buffers Size) To Increase Networking Performance Rumi, December 23, 2015 By default the Linux network stack is not configured for high speed large file transfer across WAN links. This is done to save memory resources. You can easily tune Linux network stack by increasing network buffers size for high-speed networks that connect server systems to handle more network packets. The… Continue Reading
Mount NFS Partition from WIndows 2008 Server Rumi, December 21, 2015December 21, 2015 On server 2008, go to the Server manager, and Add/Remove Programs. For my example, i already have file services installed on this server, if it’s not, install it as a role, and add this feature, “services for NFS” 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 Update SSH & MOTD Banner on CentOS 6 Rumi, December 7, 2015December 7, 2015 For legal reasons, Some people need to display a warning banner on their Linux machine before login so that a person requires to acknowledge the contents of the banner before entering the password. To do this, edit a/etc/issue.net file and fill it with the desired context. Edit the /etc/issue.net file: sudo… Continue Reading
Secure RDP connection through Vyatta using PuTTY Rumi, December 6, 2015 Connecting to SSH Server as gateway instead of directly RDP to a PC is safer way and add another layer ofencryption.With this method,we can connect to any client that is behind the firewall provided that we have open the port 22 (or any other SSH port) to the SSH Server…. Continue Reading
Convert RPM-Debian Rumi, December 6, 2015December 6, 2015 Ubuntu is an excellent Operating System and we can find almost any package through Software Centers or PPA but sometime the software is not available in deb/ppa but only in rpm format than we can convert the rpm file into deb format very easily using one command. Let’s check that… Continue Reading