Monthly Archives: June 2013

Qmail Installation on RHEL5

1 Software Pre-requisites Apache Web Server Perl –any version  of 5 GCC – the gcc compiler wget – use for downloading installers patch & patchutils  2  Download the source files wget http://www.qmail.org/netqmail-1.05.tar.gz wget ftp://cr.yp.to/ucspi-tcp/ucspi-tcp-0.88.tar.gz wget ftp://cr.yp.to/daemontools/daemontools-0.76.tar.gz mkdir -p /usr/local/src mv … Continue reading

Posted in Server Configuration | 1 Comment

Configure SVN with Http in linux

[root@server~]# Yum install httpd mod_dav* mod_dav_au* Add these file in httpd.conf LoadModule dav_svn_module modules/mod_dav_svn.soLoadModule dav_svn_module modules/mod_authz_svn.so #<Directory />#    Options FollowSymLinks#    AllowOverride None#</Directory> Add these under above code <Location /svnrepos>  DAV svn  SVNPath /svnrepos/  AuthType Basic  AuthName “Subversion repository”  AuthUserFile /svnrepos/conf/svn-auth-file  … Continue reading

Posted in Server Configuration | Leave a comment

How to Configuring Timezone In Linux

[root@server~]# ln -sf /usr/share/zoneinfo/CET /etc/localtime [root@server~]# ln -sf /usr/share/zoneinfo/Asia/Calcutta localtime  * In above example you need to use directory structure i.e. if you want to set the timezone to Calcutta (India) which is located in the Asia directory.  [root@server~]# su … Continue reading

Posted in Linux/CentOS | Leave a comment

SVN (Subversion) Server on Red Hat (RHEL) 6.3/5.8

install needed packages (mod_dav_svn and subversion) #yum install mod_dav_svn subversion Modify Subversion config file : /etc/httpd/conf.d/subversion.conf LoadModule dav_svn_module     modules/mod_dav_svn.so LoadModule authz_svn_module   modules/mod_authz_svn.so # Add the following to allow a basic authentication and point Apache to where the actual repository resides. <Location /svn> … Continue reading

Posted in Server Configuration | Leave a comment

Install and configure Samba with Stunnel in Linux

[root@server~]# yum install samba*  [root@server~]# vim /etc/samba/smb.conf  [root@server~]# chcon -t samba_share_t  /your shared directory  [root@server~]# testparm # check ur config file  [root@server~]# service smb start  [root@server~]# service nmb start  [root@server~]# service winbind start [root@server~]# Chkconfig smb on [root@server~]# Chkconfig nmb … Continue reading

Posted in Server Configuration | Leave a comment

Monitoring MySQL With Nagios:

Download, Extract and install the MySQL Plugin  on Nagios Server: wget http://labs.consol.de/wp-content/uploads/2010/10/check_mysql_health-2.1.3.tar.gz tar -zxvf check_mysql_health-2.1.3.tar.gz cd check_mysql_health-2.1.3 ./configure –prefix=/usr/local/nagios –with-nagios-user=nagios –with-nagios-group=nagios –with-perl=/usr/bin/perl make make install Create database user on machines where mysql is running: grant usage, replication client on *.* … Continue reading

Posted in Monitoring | Leave a comment