Installing CentOS Server on VMware

As I said in the last post, I’m planning to install and configure Asterisk – the open source PBX that runs on Linux. As you probably know, a PBX make connections among the internal telephones of a private organization and when connected to a PSTN line, you can also use it to make regular phone calls to any phone. I have installed asterisk before using tribox which does all the installation for you including the operating system and asterisk. if you want to get familiar with asterisk you should try trixbox first, then move on to something more advanced like I’m doing now. The reason why I’m doing this manual installation is because I want to get familiar with CentOS and Asterisk, and learn from both of them as much as I can.

For this installation I assume you already have a physical machine available, or a virtual machine. If you haven’t started using virtual machines, I recommend checking the links below on how to get started.

If you are using a virtual machine, remember to boot the VM from the CentOS ISO image we will download below.

Getting the CentOS DVD ISO image

The DVD ISO image I downloaded is located at http://centos.secsup.org/5.2/isos/i386/CentOS-5.2-i386-bin-DVD.iso I recommend visiting http://www.centos.org/ website just in case there is a newer version of CentOS.

I must warn you that the download is 3.7 GB big, so you need  a good Internet speed connection, otherwise installing CentOS should be your resolution for next year, 2010!.

Installing CentOS

power up the virtual machine.

the CentOS installation screen should come up:

CentOS installation screen

We want to install using the graphical mode, so just press ENTER on this screen.

next CentOS will ask you if you want to test the media CD before the installation. we are installing the OS from an ISO image, and if we press OK probably it will take awhile, so just Skip this option. ( press the SPACE bar to select )

CentOS testing Media CD

at this point CentOS should launch the setup wizard. after awhile you should get to the following window:

CentOS 5 window

I think we can safely click on Next on this window.

Choose your language on the following screen.

CentOS choose your language

after choosing your language, just click Next.

next you need to choose your keyboard layout.

image

click Next, after choosing your keyboard layout.

clicking the Next button gives me the following warning about the  partition table being unreadable. this is normal, the partition is new, and needs to be initialized in order for CentOS to start using it.

partition table unreable warning

click on the Yes button.

on the following screen CentOS wants a partition on the hard drive. and because I don’t have any partition on this drive that I’m using I will choose the default setting : Remove Linux partitions on selected drives and create default layout:

CentOS partitioning

Click Yes on the following warning:

removing data warning

next we need to configure the network devices. I chose the network device to use when I setup the virtual machine, and for now, I will have DHCP to assign the TCP/IP settings automatically.

CentOS network properties

Click on Next after choosing your network settings.

next choose your language by clicking on the map region.

CentOS choosing language

click on Next after selecting your language.

next choose your root password.

CentOS root password

after entering your root password, click on Next.

next the installation wizard will ask what type software you want to include on the installation, check Desktop – Gnome and Server and nothing else. the extra stuff can be installed later on if you need them using the software management.

image

 

click on the Next button

next, you get the screen that will begin the installation.

CentOS installation begin

as the screen indicates, a complete log of the installation can be found at root/install.log directory after the OS has been installed. the options we have selected can be found at “root/anaconda-ks-cfg”

click Next to start the installation.

after  rebooting CentOS,  the configuration wizard will come up.

configure CentOS

click on Forward.

next the wizard will ask you what services to allow through the firewall. I guess we are not too concerned about web services or anything else that needs access to this system right now, if later on Asterisk needs any of these services, we will add it.

CentOS firewall

Choose the Firewall default settings, and click Next.

next, you will need to configure SElinux settings. if you are wondering what is SELinux, I did a quick research and this is what I found out at NASA website.

What is Security-enhanced Linux?

Security-enhanced Linux (SELinux) is a reference implementation of the Flask security architecture for flexible mandatory access control. It was created to demonstrate the value of flexible mandatory access controls and how such controls could be added to an operating system. The Flask architecture has been subsequently mainstreamed into Linux® and ported to several other systems, including the Solaris™ operating system, the FreeBSD® operating system, and the Darwin kernel, spawning a wide range of related work. The Flask architecture provides general support for the enforcement of many kinds of mandatory access control policies, including those based on the concepts of Type Enforcement®, Role-based Access Control, and Multi-level Security.

SELinux settings

I will leave the default settings, and click Forward.

next, select your date and time.

CentOS Date and Time

you select a Network Time Protocol if you need to. otherwise just click on Forward.

on the next window you will need to create a user account for non-administrative stuff. is recommended, so I will created one.

image

Click Forward after you have created the user account.

next, the wizard will test your audio card.

CentOS sound card

after testing your audio settings, click on Forward.

on the following screen choose to install additional software by clicking on the install additional software option.

image

Otherwise just click Finish.

by now CentOS should be installed on the VMware machine.

CentOS login screen

On the next article we will be installing VMware tools to enhance our VMware visual settings and performance.



Related stuff:

2 Responses to Installing CentOS Server on VMware

  1. Fruiftith says:

    in the past vehicle forum make reference to off-line organizations, typically organized as non-profits and run by volunteers (who have |been most frequently chosen). Some car forums were big enough to become run like a compensated business with salaried employees within |the sixties, some were backed by vehicle sellers. Many vehicle forums charge membership costs in return for benefits, for example guides and occasions. The guides typically contain |photographs, messages using their company people, service and parts advice, products and automobiles wanted and/or available, and historic |material of great interest towards the membership. Vehicle forum frequently host events (known as “meets”) which frequently also welcome |interested non-people. Vehicle forum may also participate in alternative activities of numerous types, including races, cruising, shows, |”mod” days when garage equipment and repair tools are for sale to people to do and assist one another with DIY work, or community service |activities. Meets are essentially a period for that forum to spend time with each other and also to discuss cars and do normal stuff, for example bowling, eating, movies, etc.Many (otherwise most) traditional vehicle forum have finally added online presences, although the majority of the content typically resides inside a walled garden for people only. Most vehicle forums have an online business mainly through their vehicle forums highly relevant to their vehicle of great interest. Some car forum also provide their very own website. They often make use of the forums or their website to arrange their meets and events. For example, before a large event, they’d organize to determine the number of individuals are going, where you can get together, and just how to caravan for their destination. Many vehicle forum people consider the things they’re doing, not only a spare time activity, it’s a lifestyle they live and eat.|
    previously vehicle forum reference off-line organizations, typically organized as non-profits and run by volunteers (who’ve|been most often selected). Some vehicle forums were large enough being run just like a paid out business with salaried employees within|the sixties, some were backed by vehicle retailers.|Many vehicle forums charge membership costs in exchange for benefits, for instance guides and occasions. The guides typically contain|photographs, messages off their people, service and parts advice, items and automobiles wanted and/or available, and historic|material of curiosity for the membership. Vehicle forum frequently host occasions (referred to as “meets”) which regularly also welcome|interested non-people. Vehicle forum could also take part in other pursuits of several types, including races, cruising, shows,”mod” days when garage equipment and repair tools are available to individuals to complete and assist each other with DIY work, or community service activities. Meets are basically a period of time for your forum to spend some time with one another also to discuss cars and do normal stuff, for|example bowling, eating, movies, etc.|Many (otherwise most) traditional vehicle forum have recently added online presences, although a lot of the content typically resides|in the walled garden for individuals only. Most vehicle forums have an internet business mainly through their vehicle forums strongly related|their vehicle of curiosity. Some clubs offer their unique website. They frequently take advantage from the forums or the website to|arrange their meets and occasions. For instance, before a sizable event, they’d organize to look for the quantity of people ‘re going, where|you will get together, and the way to caravan for his or her destination. Many vehicle forum people think about the things they are doing, not just|a free time activity, it is a lifestyle they live and eat.|
    formerly vehicle forum reference off-line organizations, typically organized as non-profits and run by volunteers (who’ve|been most frequently selected). Some vehicle forums were big enough being run as being a compensated out business with salaried employees within|the sixties, some were backed by vehicle merchants.|Many vehicle forums charge membership costs in return for benefits, for example guides and occasions. The guides typically contain|photographs, messages off their people, service and parts advice, products and automobiles wanted and/or available, and historic|material appealing for that membership. Vehicle forum frequently host occasions (known to as “meets”) which will also welcome|interested non-people. Vehicle forum may also be a part of other hobbies of countless types, including races, cruising, shows,”mod” days when garage equipment and repair tools are for sale to people to accomplish and assist one another with DIY work, or community service|activities. Meets are essentially some time for the forum to invest a while with each other and to discuss cars and do normal stuff, for|example bowling, eating, movies, etc.|Many (otherwise most) traditional vehicle forum have lately added online presences, although some this content typically resides|within the walled garden for people only. Most vehicle forums have an online business mainly through their vehicle forums highly relevant to|their vehicle appealing. Some clubs offer their own website. They often times make use in the forums or even the web site to|arrange their meets and occasions. For example, before a substantial event, they’d organize to search for the amount of people Are going, where|you’re going to get together, and ways to caravan for destination. Many vehicle forum people consider whatever they do, not only|a spare time activity, it’s a lifestyle they live and eat.|
    been most frequently selected). Some vehicle forums were large enough being run like a paid out out business with salaried employees withinthe sixties, some were backed by vehicle retailers.Many vehicle forums charge membership costs in exchange for benefits, for instance guides and occasions. The guides typically containphotographs, messages off their people, service and parts advice, items and automobiles wanted and/or available, and historicmaterial appealing for your membership. Vehicle forum frequently host occasions (recognized to as “meets”) that will also welcomeinterested non-people. Vehicle forum could also take part in other hobbies of numerous types, including races, cruising, shows,”mod” days when garage equipment and repair tools are available to individuals to complete and assist each other with DIY work, or community serviceactivities. Meets are basically a while for that forum to get some time with one another and also to discuss cars and do normal stuff, forexample bowling, eating, movies, etc.Many (otherwise most) traditional car forum have recently added online presences, even though some the information typically residesinside the walled garden for individuals only. Most vehicle forums have an internet business mainly through their vehicle forums strongly relatedtheir vehicle appealing. Some clubs offer their very own website. They frequently occasions take advantage within the forums or perhaps the how do peoplearrange their meets and occasions. For instance, before a considerable event, they’d organize to find the quantity of individuals are going, whereyou are getting together, and methods to caravan for destination. Many vehicle forum people consider anything they do, not justa free time activity, it is a lifestyle they live and eat.|

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>