“Device eth0 does not seem to be present” error when we move or clone a CentOS 6.3 virtual machine in vSphere

When we move or clone a CentOS 6.3 Virtual machine made in vSphere5.5, and boot the machine once it is moved/cloned, we get the following error: “Device eth0 does not seem to be present”. This is due the fact that whenever we move or clone a Virtual machine, vSphere changes the MAC Address and CentOS […]

List only directories in Linux

How to List only directories in Linux ls command is used in linux to list the files in current directory or the specified directory.  However it doesn’t list the directories only in the given directory.  We can use ls with the combination of grep command to list only directories in a given directory.  ll is […]

How to clean yum cache

How to clean yum cache YUM stands for Yellowdog Updater Modified and is used to install and maintain packages in Linux.  By default, the packages downloaded with yum are kept in cache.  If we need to clean these, the following options are available: yum clean packages yum clean headers yum clean all yum clean packages […]

Add swap file in CentOS 6.4

Add swap file in CentOS 6.4 Swapon command with option -s, displays the current swap space in KB. # swapon -s If a file with the name /extraswap already exists, check it with ‘ls’ command and delete it using ‘rm’ command. # ls /extraswap #  rm -rf /extraswap The following dd command example creates a […]

Install Apache 2.4.4 in CentOS 6.4

Install Apache 2.4.4 in CentOS 6.4 Apache HTTP server is an open source and most popular web server for Linux distributions as well as for Windows. The website is: http://httpd.apache.org/ CentOS 6.4 comes with Apache version 2.2.15-28.  To install Apache 2.2.15 in CentOS 6.4, we use yum as follows: # yum install httpd But, if we […]

Install apache 2.2.15 in CentOS 6.4

Install apache 2.2.15 in CentOS 6.4 Apache HTTP server is an open source and most popular web server for Linux distributions as well as for Windows. The website is: http://httpd.apache.org/ CentOS 6.4 comes with Apache version 2.2.15-28.  To install Apache 2.2.15 in CentOS 6.4, we need to do the following: If yum repository is configured […]

Begin typing your search term above and press enter to search. Press ESC to cancel.

Back To Top