How to Install and Configure CentOS on Virtual Machine


Procedure

Step 1: fitting the Virtual Drive
From the File menu, purpose to New, so choose Virtual Machine...  The New Virtual Machine Wizard seems.



Select Custom, so click Next.



Accept the default digital computer, so click Next.




Select i'll install the software system later, so click Next. this selection can probably already be designated for you.


On the Guest software system, choose Linux; then, from the Version sink list, choose CentOS; so click Next.


In the Virtual machine name text box, enter a name; then browse to the placement you wish to store this virtual machine; so click Next.


Accept the defaults, so click Next.


Accept the defaults, so click Next. one GB is quite decent for a development machine.


For the needs of this procedure, the employment bridged networking choices is chosen.  However, any of the choices is also designated at this time. choose the choice most acceptable to your desires, so click Next.



Accept the default, so click Next.



Select the produce a brand new virtual disk choice, so click Next.



Accept the default, so click Next.



Enter the dimensions of the virtual disk; check the apportion all space currently option; choose the shop virtual disk as one file option; so click Next.  For development functions, fifteen GB is quite decent. it's easier to trace one computer file instead of multiple disk files for a given installation.  Allocating all of the space like a shot simplifies future computer code installation.



Accept the default, so click Next.



Review the configuration choices you've got created, so click end.  A progress meter can seem.



Once the disk has been created, VMware digital computer returns to the outline read for the newly-created VM.



Be sure your CentOS installation disk has been inserted into the table drive.

Check to form positive that the CD/DVD drive has been designed to purpose to the ISO image on the CentOS installation disk.  To do this, initial click Edit virtual machine settings, and then, on the Hardware tab, choose CD/DVD (IDE).



On the proper facet, make sure that the employment physical drive choice has been designated, so choose the acceptable drive from this option's list box.  Click OK.
TIP: it is best to insert the CentOS disk within the drive at the start of VM setup, so step right into CentOS installation once fitting the VM. the explanation being that VMware digital computer can discover the installation disk within the drive throughout the VM setup method and afterward step right into launching the installation once beginning the VM.
Step 2: Launching the installation

Click Power on this virtual machine. VMware digital computer can mechanically discover the CentOS installation disk within the drive so launch the installation.  Incidentally, you may additionally see the VMware digital computer prompt, at the lowest of the window.  Ignore this for the present.



 A prompt seems on prime of the CentOS installation screen.  Click OK.



Click anyplace on the CentOS screen, so as to pass the mouse pointer awareness into the virtual machine, so press ENTER. make sure to try and do this quickly, as this selection doesn't stay for long.  The installation preparation begins.



At some purpose throughout this preparation, you will be prompted to perform a CD take a look at.



Click anyplace on the blue half, press the Tab or right-arrow keys, so press ENTER.  If you bought this so much, there isn't any got to take a look at the CDROM from now on.



The preparation can proceed for many minutes. once this section of the preparation is completed, a brand new screen can seem.



Click Next.



Select the language acceptable for you, or settle for the default, so click Next.



Select the keyboard layout acceptable for you, or settle for the default, so click Next.



Click Yes.  This launches Disk priest, and you may continue this procedure within the next section.



Step 3: Partitioning the Disk exploitation CentOS Disk priest

After the CentOS installation preparation routine finishes scanning the disk, it'll launch Disk priest.



Click on the bar that states take away UNIX operating system partitions on designated drives and build default layout. a listing of many additional choices here are going to be displayed.
NOTE: scrutinize references [5-7], below, for extra useful detail on partitioning in UNIX operating system.


Select the list choice produce custom layout, so click Next.



Click the New button. the primary partition you may produce is that the boot partition.



From the Mount purpose drop-down list box, choose /boot. ensure that the filing system sort shown is ext3.  For the dimensions (MB), enter 100.  Leave all different choices default.  Then click Next.



Click the New button once more. consecutive partition you may produce is that the root partition. this can be wherever most of your applications are going to be put in to.



From the Mount purpose drop-down list box, select "/". ensure that the filing system sort shown is ext3.  For the dimensions (MB), enter 8500.  Leave all different choices default. Then click OK.



Click the New button once more.The next partition to make is that the swap partition. this can be wherever CentOS keeps its disk space - almost like the Page get into Windows.  Search the net for steering on however giant this could be.  For the needs of this procedure, you may set this to 1500, that as regards to takes care of the rest of the space obtainable.



On the filing system sort drop-down list box, choose swap.  For the dimensions (MB), enter 1500.  Leave all different choices default. Then click OK.  Lastly, the ultimate drive to make is that the /home drive, wherever user files area unit keep.  Repeat the on top of procedures to make this drive, so click OK.



This completes disk partitioning exploitation Disk priest.  Click Next.

Step 3: putting in CentOS

The next few steps involve preparative configuration before launching the particular installation of CentOS.



Accept the defaults, so click Next.



If you've got Dynamic Host Configuration Protocol designed on your network, make sure that the mechanically via DHCP choice is chosen.  Otherwise, tack together as necessary.  Then click Next.



Select town nearest you, leave all different settings as their default, so click Next.



Enter the basis watchword, so click Next. A progress meter can seem for some moments.



Now you're at the last preparation step.



Leave all settings at their default, so click Next.




Click Next.  This launches the installation, that lasts many minutes. throughout the installation, you will be given with many completely different screens.





After many minutes, the installation are going to be completed. once installation is completed, you may be prompted to resuscitate.



Click resuscitate. uphold there! you are within the home stretch.



Click Forward.



If you wish to act with Windows systems over your network, check NSF4 and Samba.  If you plan to create net applications, check WWW and Secure WWW.  For the needs of this procedure, i'll check simply WWW and Secure WWW.  This opens those ports through the firewall to permit these services to work.  Click Forward.



At the prompt, click Yes.



Click on the SELinux Setting drop-down list box, so choose Permissive [10].  Otherwise, you will not be able to install or run some applications.  Then click Forward.



Check the alter kdump choice.  Leave the opposite choices here default. this may be helpful later if you would like to troubleshoot one thing later.  Then click Forward. you will be prompted to substantiate the kdump choice setting.  Click okay to proceed.



Make the acceptable time adjusts pro re nata, so click Forward.



Enter a username, etc, so click Forward.



Accept the defaults, so click Forward.



Unless you've got additional computer code you wish to put in, simply click Forward.





Congratulations!  If you've got reached the login screen, you've got with success put in and designed CentOS UNIX operating system.  It remains to update your CentOS UNIX operating system instance with the most recent upgrades and patches, and to put in one tool that you just can realize helpful later which some applications need so as to be intsalled with success.

Step 4: change CentOS

At the CentOS login screen, login exploitation the basis account.



At this time, I performed AN install the VMware extras (that's what the prompt is for, down at the lowest of the screen).  As a result, the yellow prompt space at the lowest of the screen can disappear.

Open a terminal.  Enter the subsequent command [12]:
# yum update
This will mechanically verify what are often updated, compile a listing of things needing update, transfer the updates from CentOS, so install them. it'll take many minutes for the update to finish. settle for the default the least bit prompts.



This completes change of CentOS.  Continue on to consecutive step.

Step 5: putting in Sysstat

Before you land up, there is one tool that it's helpful to put in before moving on to different things: sysstat [11]. you will find that it's required once putting in different applications, like Jive.  sysstat are often put in either through the CentOS Package Manager or from the command. each strategies are going to be given here.  First, from the command.

At the prompt, enter the subsequent command:
# yum list
This will cause a list to be generated of all doable applications and tools that you just will install.  Scroll through this list till you discover AN item starting with sysstat. it'll in all probability look one thing like: sysstat.i386. observe of its entire name, so enter the subsequent command:
# yum install sysstat.i386
Note that your sysstat entry is also somewhat completely different from what's shown here.  Once the installation begins, follow all prompts.



This completes insallation from the prompt exploitation YUM.  Next, exploitation Package Manager.

From the Gnome panel, Applications menu, choose Add/Remove computer code.  Then, on the Browse tab, within the left panel, choose Base System, so on the proper panel, choose System Tools



Click the facultative packages button, so scroll down till you see the entry, sysstat-[version].i386, wherever your version might vary. choose this entry, check it, so click shut.



You'll be came to the Package Manager tool.  The Apply button are going to be enabled.



On the Package Manager tool, click Apply. you will be prompted to substantiate your choices.



Click Continue.  A progress meter can seem momentarily.



...and then you will be enlightened of the end result of the installation.



Click OK. you are came to the Package Manager tool.  Note that currently the Apply button is not any longer enabled.

0 comments:

Post a Comment