: September-2009

Home » Posts tagged : Centos 5

Install CentOS 5.3 in text mode without any server application options. Update and harden CentOS 5.3 Applications you need to install after server installation. yum install httpd yum install php yum install php-mysql yum install mysql-server Startup MySQL Server and set password /etc/init.d/mysqld start /usr/bin/mysqladmin -u root password 'newpassword' chkconfig mysqld on (So when the ..

Read more

Install CentOS 5.3 in text mode without any server application options. Update and harden CentOS 5.3 Applications you need to install after server installation. yum install xauth Download Sun Java JDK and Install (Choose Java SE Development Kit (JDK)) Download Sun JDK (Version I used jdk-6u16-linux-i586-rpm.bin) Copy Java JDK to Server and Install chmod +x ..

Read more

Do all updates on Server Other needed applications yum install sysstat (For utilities, iostat etc) Installation of Iscsi Target software wget easynews.dl.sourceforge.net/sourceforge/iscsitarget/iscsitarget-0.4.17.tar.gz tar zxvf iscsitarget-0.4.17.tar.gz cd iscsitarget-0.4.17 make make install Disk partition Make sure you have GPT Kernel Support. (CentOS and Redhat Enterprise has this option enabled by default) File Systems > Partition Types > ..

Read more

Do all updates on Server Other needed applications yum install sysstat (For utilities, iostat etc) Installation of Iscsi Target software wget easynews.dl.sourceforge.net/sourceforge/iscsitarget/iscsitarget-0.4.16.tar.gz tar zxvf iscsitarget-0.4.16.tar.gz cd iscsitarget-0.4.16 make make install Disk partition Make sure you have GPT Kernel Support. (CentOS and Redhat Enterprise has this option enabled by default) File Systems > Partition Types > ..

Read more

To create basic iptables firewall in a Redhat compatible distro, edit the /etc/sysconfig/iptables file and add the info below: *filter :INPUT ACCEPT [0:0] :FORWARD ACCEPT [0:0] :OUTPUT ACCEPT [0:0] -A INPUT -m state --state INVALID -j DROP -A INPUT -i lo -j ACCEPT -A INPUT -s 192.168.0.50 -p udp -m udp --dport 123 -j ACCEPT ..

Read more