Posts

Showing posts from 2013

PXE Server RHEL 6.2 64 Bit

[root@localhost ~]# yum install http* *tftp* dhcp* system-config-kickstart* [root@localhost ~]# vim /etc/sysconfig/selinux SELINUX=disabled [root@localhost ~]# iptables -F [root@localhost ~]# /etc/init.d/iptables stop [root@localhost ~]# chkconfig iptables off [root@localhost ~]# /etc/init.d/httpd restart [root@localhost ~]# chkconfig httpd on [root@localhost ~]# mkdir /var/www/html/abc/ [root@localhost ~]# cp -rv /media/RHEL_6.2\ x86_64\ Disc\ 1/* /var/www/html/abc/     Configure DHCP Server [root@localhost ~]# cp /usr/share/doc/dhcp-4.1.1/dhcpd.conf.sample  /etc/dhcp/dhcpd.conf [root@localhost ~]# vim /etc/dhcp/dhcpd.conf ####################################################################################################### # dhcpd.conf # # option definitions common to all supported networks... option domain-name "example.org"; #option domain-name-servers ns1.example.org, ns2.example.org; default-lease-time 600; max-lease-time 7200; # Use th

Postfix Mail Server With Mysql

Postfix Mail Server With Mysql [root@smtp ~]# yum install http* php* mysql* -y Download Postfixadmin Tar URL => http://downloads.sourceforge.net/project/postfixadmin/postfixadmin/postfixadmin-2.3.2/postfixadmin-2.3.2.tar.gz?r=&ts=1295671941&use_mirror=citylan [root@smtp ~]# cd Desktop/ [root@smtp Desktop]# cp postfixadmin-2.3.2.tar.gz /var/www/html/ [root@smtp ~]# cd /var/www/html [root@smtp html]# tar -xvf postfixadmin-2.3.2.tar.gz [root@smtp html]# cp -a postfixadmin-2.3.2 mailadmin [root@smtp html]# cd mailadmin/ [root@smtp mailadmin]# cp config.inc.php config.inc.php-org [root@smtp mailadmin]# vim config.inc.php ( This is postfixmailserver configuration file ) $CONF['database_password'] = 'postfix'; $CONF['admin_email'] = 'postmaster@new.com '; $CONF['encrypt'] = 'cleartext'; 'abuse' => 'abuse@new.com&

MAILZU WITH AMAVISD

       DOCUMENTATION FOR IMPLEMENTING MAILZU WITH AMAVISD-NEW : # cd /var/www/html/ Download Mailzu # wget http://nchc.dl.sourceforge.net/project/mailzu/mailzu/MailZu%200.8RC3/MailZu_0.8RC3.tar.gz # tar xzf MailZu_0.8RC3.tar.gz # mv MailZu_0.8RC3.tar.gz /usr/local/src/ # mv MailZu_0.8RC3 mailzu # cd mailzu/config # cp config.php.sample config.php # cp config.php.sample config.php.original # wget http://www200.pair.com/mecham/spam/mzcpatch.txt # patch -p0 < mzcpatch.txt Make a Database For Amavisd named as amavis and give all accesses to amavis user on all tables of amavis database and give it to password as amavis as : # mysql -u root -p Enter Password: mysql > create database amavis ; mysql > grant all privileges on amavis.* to amavis@localhost identified by 'amavis' ; mysql > exit Now try to login mysql Server as : # mysql -u amavis -pamavis amavis Now we have to add Schemas to amavis database . Copy below contents in a file and then redir

DNS configuration for RHEL5

DNS ( Domain Name Server ) ############################################## [root@desktop18 ~]# yum install caching-name* bind* -y [root@desktop18 ~]# cd /var/named/chroot/etc/ [root@desktop18 ~]# cp -p named.caching-nameserver.conf named.conf [root@desktop18 ~]# vim named.conf     ####################################################################### Configure file and add zone ####################################################################### // // named.caching-nameserver.conf // // Provided by Red Hat caching-nameserver package to configure the // ISC BIND named(8) DNS server as a caching only nameserver // (as a localhost DNS resolver only). // // See /usr/share/doc/bind*/sample/ for example named configuration files. // // DO NOT EDIT THIS FILE - use system-config-bind or an editor // to create n