Posts Tagged ‘centos’

CentOS 4.7 Server VM is now avaiable

January 2nd, 2009

Yet another addition to the library of virtual machines offered by Linhost.info, this time it’s CentOS 4.7 Server compressed to a size of 286 MB and available via HTTP.

Download the virtual machine

CentOS 5.2 net install

December 29th, 2008

Recently I noticed that for the first time CentOS was available in the form of a network installation. Which means instead of downloading the whole operating system only a small ISO (less than 8 MB) has to be downloaded which is enough to boot from and connect to the remote CentOS servers. No need to download 4 GB’s of data. It’s also the perfect solution for multiple internal deployments. The whole process may take around 30 to 40 minutes.

Remember the available architectures are i386 and x86_64. I am linking directly to the i386 architecture.

Download CentOS 5.2 Net Install ISO (7.7 MB)

After you burn the ISO in to a CD/DVD we can start the network installation.

Network installation

For the Installation Method choose HTTP to fetch the remaining packages from the CentOS servers.

Configure TCP/IP

We will start the installation by choosing DHCP in order to grab an IP from the local area network.

HTTP setup

Now we need to point the installation to fetch the files from the Internet server for CentOS. Enter the following information for Web site name and CentOS directory. the following information. Make sure you enter the same values or the installation will fail.

  • Web site name
  • mirror.centos.org
  • CentOS directory
  • /centos/5.2/os/i386

Press OK to start fetching the files from the Internet.


Final

The hard work is done, proceed to customise the CentOS installation like usual by selecting the packages you want install. This the best and most efficient way of installing CentOS.

Assign A Static IP On CentOS With A Working DNS Configuration

October 9th, 2008

First we need to become in order to issue the “setup” command.

[root@localhost ~]# setup

A text configuration page will appear, choose “Network configuration”.

Choose the intended interface that will be assigned the static IP.

Remove the star in “Use DHCP” option and start assigning the IP address, Netmask and Gateway address. After you are done choose “OK”.

After making the changes don’t forget to choose Quit instead of Cancel otherwise the changes will not be implemented.

The previous instruction should give you a working machine with a static IP, the only problem is that there is no working DNS to reach other domains in the Internet. If you try to ping Google.com you will get an error, however if you Ping one of the many IP’s Google owns like 72.14.207.99 you will have successful packer transmission. To solve this issue we need to add DNS entry’s to the /etc/resolv.conf file.

Open /etc/resolv.conf with your favorite text editor and add the IP addresses for your DNS servers. In this example I added the IP addresses that belong to the OpenDNS service.

nameserver  208.67.222.222
nameserver 208.67.220.220

Another option is to add the IP address of your gateway (Router) and have it act as the intermediate for your ISP DNS servers.

Do not forget to restart your network service or just reboot the entire machine.