Simple Steps To Take To Deploy CentOS 7 On A VMware ESXi 6.0 Virtual Machine.
The CentOS is one of the class leading community driven and opensource operating systems available absolutely free of charge today. CentOS 7 is mainatined by many software engineers organized in special interest groups (SIG) from different parts of the world.This helps to ensure that every component of CentOS is well maintained and up to date. CentOS has support for a wide range of computer hardware vendors and can be deployed in a wide variety of IT environments be it in the cloud or on an on premise environment. Continue reading this tutorial to learn how to deploy CentOS 7 on a VMware ESXi 6.0 virtual machine. You will also learn how to install vmware tools on the CentOS 7 virtual machine and also install OS updates using the yum package manager.
In order to complete this tutorial successfully the following items are required. Please ensure to have these items available before taking implementation action on this tutorial :
1) The CentOS 7 install disk image file ISO
2) A VMware ESXi 6.0 server with access rights to upload files to the datastore and to create and deploy virtual machines.
3) A desktop or laptop with a web browser for accessing the ESXi 6.0 web console
4) An internet connection to download CentOS 7 updates
1) Go to the official CENTOS website and download a copy of the CENTOS 7 ISO file
2) Verify the checksum of the CENTOS ISO file.
3) Upload the CENTOS 7 ISO file to the datastore on the VMware ESXi 6.0 server.
4) Create a new virtual machine and ensure to set the virtual machine OS type as CENTOS 7. Set the DVD ROM to DATASTORE ISO and attach the CENTOS ISO file.
Step 1: Download CentOS 7
1) Click HERE to go to the official CENTOS download page where you can get a copy of the CENTOS 7 disk image file ISO. Click on the 7(2003) tab and click on the x86_x64 link. You will be directed to mirror page with a list of download links that can be used to download CENTOS 7.
Click on any mirror link and choose the CENTOS dvd file which is about 4GB in size.
2) Alot of websites including CENTOS.ORG post checksums for files next to download links so you can verify if the files havent been tampered with. Checksum are basically file signatures designed so you can run a quick check to verify if you get the same signature as the one indicated on the file download page.
Download the SHA256SUM.TXT file, it will be used to verify the correctness and completeness of the CENTOS 7 ISO file in the next step.
Step 2: Centos7 ISO File Checksum Verification
3) If you are using a Mac, open the terminal application and change the working directory to the folder where the CENTOS disk image file was downloaded to. Run the following command to get the checksum signature that is on the ISO file:
shasum -a 256 /full-path-to-file
In my case the command i ran is :
shasum -a 256 /Users/philanigumbo/Downloads/CentOS-7-x86_64-DVD-1810.iso
4) If you are using a Windows Computer the file checksum check command is a bit different. Press WINDOWS KEY + R on your keyboard at the same time to open the Windows RUN app. Type CMD and press ENTER.
Change the working directory to the folder where the CENTOS ISO file is saved and run the following command:
certutil -hashfile CentOS-7-x86_64-DVD-1810.iso
Step 3: Upload The ISO File To The Datastore On The ESXi 6.0 Server.
5) Open a web browser and type in the hostname or IP address of your VMware ESXi server then click on the OPEN THE VMWARE HOST CLIENT link. Type in your VMware username and password and click on LOGIN.
6) Once you are logged in click on STORAGE > DATASTORE BROWSER and click on the CREATE DIRECTORY button. Type in a name for the new directory on the DIRECTORY NAME text box and click on CREATE DIRECTORY.
7) Select the DIRECTORY that you created and click on the UPLOAD buton. A file selection windows will open, browse to the folder where the CENTOS ISO FILE is located and click on OPEN.