Unable to find network card in CentOS 6

Some time we are unable to find network information on ifcfg command or network connection does not work after cloning.

To see all interfaces   ifcfg -a

To force CentOS 6 to re-detect network interfaces

Delete the MAC Address from ifcfg-eth0 file

Read more

How to install FTP server on CentOS

How to install FTP server on CentOS

#yum install vsftpd
#chkconfig vsftpd on
#service vsftpd start

#nano /etc/vsftpd/vsftpd.conf       (uncomment the following)

anonymous_enable=NO   (disallow anonymous login)
ascii_upload_enable=YES
ascii_download_enable=YES
ftpd_banner=Welcome to DATACENTER FTP service.

Read more

How to reset Centos Linux Password

Reboot the linux 1-Press esc to intruppet boot loader 2-Press e to edit boot loader to load linux Kernal in single mode 3-add s at the end of  of the line and press ENTER kernel /vmlinuz-2.6.18-194.el5PAE ro root=/dev/VolGroup00/LogVol00 s 3-Press b to boot 4-Linux will boot in single mode 5-now change the password of the root … Read more

How To Find Out My Linux Distribution Name and Version

$ cat /etc/*-release output CentOS release 5.9 (Final) $ lsb_release -a output LSB Version: :core-4.0-ia32:core-4.0-noarch:graphics-4.0-ia32:graphics-4.0-noarch:printing-4.0-ia32:printing-4.0-noarch Distributor ID: CentOS Description: CentOS release 5.9 (Final) Release: 5.9 Codename: Final

How to change SSH port number

How to change SSH port number If you want to change your ssh port number other then 22 you can do it by editing sshd_config. Step 1 : Login to your server as Root Step 2 : edit it nano /etc/ssh/sshd_config Step 3 : Search for following line that has : Port 22 Step 4 … Read more