CentOS 6.4 Netinstall

Download the network installation iso file and burn to CD.
Place the CD in the CD-Rom and reboot the system.
When ask to select the network install method, choose “HTTP” and enter the following:

1) for 32 Bit
Host: mirror.centos.org
Directory: centos/6.4/os/i386

2) for 64 Bit
Host: mirror.centos.org
Directory: centos/6.4/os/x86_64

Posted in CentOS, Linux, Linux Installation and tagged , , by with comments disabled.

CentOS 6.3 NetInstall

Download the network installation iso file and burn to CD.

Place the CD in the CD-Rom and reboot the system.

When ask to select the network install method, choose “HTTP” and enter the following:

1) for 32 Bit
Host: mirror.centos.org
Directory: centos/6.3/os/i386

2) for 64 Bit
Host: mirror.centos.org
Directory: centos/6.3/os/x86_64


Posted in CentOS, Linux, Linux Installation and tagged , , , by with comments disabled.

Add Gnome/Gui to a Minimal CentOS 6.3 Linux System

I recently used the netinstall CentOS CD to install one of my Linux systems. During the installation process, I decided to install CentOS 6.3 minimal to quiken the overall install process. After the successful installation, I decided it was time to add Gnome/GUI to the system. The following were the steps taken to achive this task.

First, it is worth mentioning that there are two versions of this installation.

a.) Short version

b.) Long version

 

STEPS:

a. ) Short version:

Start a new terminal and enter the following:

yum -y groupinstall basic-desktop basic-platform x11 fonts

b.) Long version:

yum -y install “Desktop” “Desktop Platform” “X Window System” “Fonts”

 

That’s it! It will work regardless the method used 😉


Posted in CentOS, Linux, Linux Installation and tagged , , , , , by with comments disabled.

How Fix VsFTPD Passive Errors On CentOS (Works On Any Linux Distro.)

While trying to connect to my VsFTPD server on CentOS Linux, I got errors “connection time out, Failed to retrieve directory listing”. The reason for this is that, passive mode connects to random ports above 1023 and if you use iptables like in my case, these ports has to be opened otherwise the above errors will occure. One approach to resolving this issue is to enable passive mode, lock down the FTP server to a port range (to serve as random ports) and open the port range in the firewall. Below are the steps I took:

1.) Edit vsftpd.conf and add the following (vi /etc/vsftpd/vsftpd.conf)

     pasv_enable=YES

     pasv_max_port=10100

     pasv_min_port=10000

     port_enable=YES

2.) Specify which IP address VsFTPD will advertise in response to passive connections

     pasv_address={your public IP address}

     Note: If you have two network interfaces, specify the IP address for the one poniting outside network

              Example: EXT= 10.10.1.77         INT=192.168.1.77

              You have to specify and add “pasv_address=10.10.1.77” to the lines above

OR If you don’t have afixed elastic IP address:

      pasv_addr_resolve={your public domain or DNS}

3.) Open the required ports in iptables

      First open die standard port range 20 to 21 by adding this lines to your iptables

      iptables -A INPUT -m state –state NEW -m tcp -p tcp –dport 20:21 -j ACCEPT

      iptables -A INPUT -m state –state NEW -m tcp -p tcp –dport 10000:10100 -j ACCEPT

4.) Restart vsftpd

     /etc/init.d/vsftpd restart

That’s it! Your passive connections should work without errors

The idea came from https://www.gosquared.com/blog/archives/936


Posted in Linux, VsFTP and tagged , , , by with comments disabled.

CentOS 5.8 NetInstall

Download the network installation iso file and burn to CD.

Place the CD in the CD-Rom and reboot the system.

When ask to select the network install method, choose “HTTP” and enter the following:

1) for 32 Bit
Host: mirror.centos.org
Directory: centos/5.8/os/i386

2) for 64 Bit
Host: mirror.centos.org
Directory: centos/5.8/os/x86_64


Posted in CentOS, Linux, Linux Installation and tagged , , , by with comments disabled.

CentOS 5.4 NetInstall

Download the network installation iso file and burn to CD.

Place the CD in the CD-Rom and reboot the system.

When ask to select the network install method, choose “HTTP” and enter the following:

1) for 32 Bit
Host: mirror.centos.org
Directory: centos/5.4/os/i386/

2) for 64 Bit
Host: mirror.centos.org
Directory: centos/5.4/os/x86_64/


Posted in CentOS, Linux, Linux Installation and tagged , , by with comments disabled.

How To Mount NTFS disks on CentOS

Type this command to determine your kernel version:

[root@lnx ~]# uname -r
2.6.18-128.el5

Download the NTFS kernel modules from:
http://www.linux-ntfs.org/doku.php?id=redhat:rhel5

The current kernel module version of my system at the time of this writing was:
kernel-module-ntfs-2.6.18-128.el5-2.1.27-0.rr.10.11.i686.rpm

Install the RPM :

rpm -ihv kernel-module-ntfs-2.6.18-128.el5-2.1.27-0.rr.10.11.i686.rpm

 

Load the kernel module :

modprobe ntfs

 

Find the disk info : fdisk -l

One partition should be mentionned as HPFS/NTFS

 

Mount the partition :

mkdir /g_drive

mount -t ntfs /dev/hdb2 /g_drive

That’s it!


Posted in CentOS, Linux, Mounting and tagged , , by with comments disabled.