centOS 7

Installation of “CentOS 7.0″ with Screenshots

Step by Step CentOS 7 (64 bit) Installation Guide with Screenshots

Please follow the screenshots to understand the installation process of CentOS 7 64-bit.

(Click on the image to enlarge the view)

Insert the CentOS DVD and boot your machine with the cdrom. You will get the below screen.

Select "Install CentOS 7" and Press Enter

Next Select the Language as per your preference and click on "Continue"

The Next screen completely new as compared to earlier releases of CentOS. Now you have to work on all the thumbnails you see on this screen one by one. So lets start by adjusting "Date and Time"

Next you will get the below screen where you can select your continent and click on "Done"

NOTE: I am skipping the "Language Support" and "Keyboard" as it already shows English(US) which we had opted for in the earlier options above.

You will come back to your previous screen where you can select the next thumbnail to edit. Lets go to "Software Installation"

Here you will find a bunch of pre-defined groups of packages which you can select as per your environment. Select any one "Base Environment" and in case you want any add ons the same can be selected from the left panel as shown below. Once selected click on "Done" to go back to the previous screen.

Next lets configure our partition using "Installation Destination"

Now in my case I am using simple internal datastore to install my OS. But in case you want to add any iSCSI Target, Click on "Add Disk" and add the iscsi target details. For now we will skip those details.

Select the disk where you want to continue the installation. As you see a "check mark" is visible once I selected the disk.

Make sure you have checked the box "I will configure partitioning" or else the image will automatically create partitions for you.

Click on "Done"

Since you opted for manual configuration of partition the next screen will ask for the type of partition you want to create. Here you can select

As for now we will select "Standard Partition" and click on "Done".

Click the "+" button as shown above and create a new "Mount Point". Assign 200MB of space to the partition

By default "XFS" filesystem is selected for any partition you create. Let us change that to ext4 as shown below and update the settings. The list of available options for filesystem is as shown below

Similarly create any other mount point as per your requirement.

So as you see we have created /boot, /var, /, and swap partition with ext4 filesystem. Lets click on "Done" as we are done with the partitioning.

Next lets configure the "Network and Hostname"

Turn "ON" the ethernet device connected to your machine and click on "Configure" to configure the network settings

Also change the "hostname" as per your environment

C

As you see the installation has begun in the mean time you can add a password for your root user. Also you can create additional user by using the "User Creation" thumbnail.

As you see I am providing my root password below

Once the installation is finished, Reboot the machine.

Once the machine reboots, next it will prompt the below screen. Click on "License Information"

Accept the "License Agreement" and Click "Done"

Next you will return to your previous screen . Here you can create a user which will be used to login for the first time

Provide the user details and Click on "Done"

Continue the configuration step and Next you will get the Kdump configuration page.

Let us enable the Kdump and let the machine decide the amount of memory required for the same.

Select the "Language" you prefer

Provide your Location details

In CentOS 7 this new feature is added where you can connect to your Cloud if you have any existing account. Well we don't have to lets skip this step

So looks like we have completed all the step and here it says our Installation and Configuration is completed.

Below is the Login Screen which we get once everything is completed

###################Installation Guide with Screenshots####################################

This tutorial will guide you on how to perform a minimal installation of latest version of CentOS 7.0, using the binary DVD ISO image, an installation that is best suitable for developing a future customizable server platform, with no Graphical User Interface, where you can install only the software that you need.

Installation of CentOS 7

If you want to find out more about what’s new in this release of CentOS 7.0 holds and download links, I suggest reading the previous article on release announcements:

Requirements

CentOS 7.0 Installation Process

1. After downloading the last version of CentOS using above links or using official CentOS download page. Burn it to a DVD or create a bootable USB stick using LiveUSB Creator called Unetbootin.

2. After you have created the installer bootable media, place your DVD/USB into your system appropriate drive, start the computer, select your bootable unit and the first CentOS 7 prompt should appear. At the prompt choose Install CentOS 7 and press [Enter] key.

CentOS 7 Boot Menu

3. The system will start loading media installer and a Welcome screen should appear. Select your Installation Process Language, that will assist you through the entire installation procedure and click on Continue.

CentOS Installer Loading

Select Installation Process Language

4. The next step, present screen prompt is Installation Summary. It contains a lot of options to fully customize your system. First thing you may want to setup is your time settings. Click on Date & Time and select your server physical location from the provided map and hit on upper Done button to apply configuration.

Select Date & Time and Location

5. The next step is to choose your Language Support and Keyboard settings. Choose your main and extra language for your system and when you’re finished hit on Done button.

Select Language and Keyboard

Select English Language

6. The same way choose your Keyboard Layout by hitting the plus button and test your keyboard configuration using the right input filed. After you finish setting up your keyboard, again hit on upper Done button to apply changes and go back to main screen on Installation Summary.

Choose Keyboard Layout

Choose English Keyboard

7. On the next step you can customize your installation by using other Installation Sources than your local DVD/USB media, such as a network locations using HTTP, HTTPS, FTP or NFS protocols and even add some additional repositories, but use this methods only if you know what you’re doing. So leave the default Auto-detected installation media and hit on Done to continue.

Choose Installation Sources

Auto Detect Installation Type

8. On the next step you can choose your system installation software. On this step CentOS offers a lot of Server and Desktop platform environments that you choose from, but, if you want a high degree of customization, especially if you are going to use CentOS 7 to run as a server platform, then I suggest you select Minimal Installwith Compatibility Libraries as Add-ons, which will install a minimal basic system software and later you can add other packages as your needs require using yum groupinstall command.

Software Selection

Select CentOS 7 Minimal Install

9. Now it’s time to partition your hard-drive. Click on Installation Destination menu, select your disk and chooseI will configure partitioning.

Choose Installation Destination

Installation Device Selection

10. On the next screen, choose LVM (Logical Volume Manager) as partition layout and, then, click on Click here to create them automatically, option which will create three system partition using XFS filesystem, automatically redistributing your hard-disk space and gathering all LVS into one big Volume Group namedcentos.

Select LVM Partition Type

Create Partitions

11. If you are not pleased with the default partition layout done automatically by the installer you can completelyadd, modify or resize your partition scheme and when you finish hit on Done button and Accept Changes on the Summary of Changes prompt.

Summary of Partition Changes

NOTE: For those users, who have hard-disks more than 2TB in size, the installer automatically will convert partition table to GPT, but if you wish to use GPT table on smaller disks than 2TB, then you should use the argument inst.gpt to the installer boot command line in order to change the default behaviour.

12. The next step is to set your system hostname and enable networking. Click on Network & Hostname label and type your system FQDN (Fully Qualified Domain Name) on Hostname filed, then enable your Network interface, switching the top Ethernet button to ON.

If you have a functional DHCP server on you network then it will automatically configure all your network setting for enabled NIC, which should appear under your active interface.

Set System Hostname

Enable Ethernet Interface

13. If your system will be destined as a server it’s better to set static network configuration on Ethernet NIC by clicking on Configure button and add all your static interface settings like in the screenshot below, and when you’re finished hit on Save button, disable and enable Ethernet card by switching the button to OFF and ON, and, then hit on Done to apply setting and go back to main menu.

Enter Network Settings

14. Now it’s time to start installation process by pressing on Begin Installation button and set up a strong password for root account.

Click on Begin Installation

Select Root Password

Enter Root Password

15. After you finish setting up a strong password for root account move to User Creation and create your first system user. You can designate this user to become a System Admin with root privileges using sudo command by checking the box Make this user administrator, then click on Done to go back on main menu and wait for the installation process to finish.

CentOS 7 Installation Process

User Creation and Set Password

16. After the installation process finishes, the installer will show a successfully message on screen, demanding to reboot your system in order to use it.

CentOS 7 Installation Complete

Congratulation! You have now installed last version of CentOS on your bare new machine. Remove any installation media and reboot your computer so you can login to your new minimal CentOS 7 environment and perform other system tasks, such as update you system and install other useful software needed to run day to day tasks.

-----------------

Fix GNOME License Not Accepted Issue on CentOS 7

Initial setup of CentOS Linux 7 (core)

1) [x] Creat user 2) [!] License information

(no user will be created) (license not accepted)

Please make your choice from above ['q' to quit | 'c' to continue | 'r' to refresh]:

To fix the issue, you have to perform the following :

a) Press 1

b) Press 2 in order to change [ ] to [x] in front of 2) I accept the license agreement

c) Press q

d) Accept license menu does not prompt anymore at boot.

------------------------

vmtools install

[root@rhel~]# yum -y install epel-release

# yum -y install open-vm-tools

# systemctl start vmtoolsd.service

# systemctl enable vmtoolsd.service

-----------------------------------HYper -V---------------------------

#  yum groupinstall "GNOME Desktop" "Graphical Administration Tools" 

Activating Hyper-V Integration Services for Linux Distributions that Ship with LIS Drivers and Services Already Installed

Please use the steps below for Linux distributions that ship with LIS drivers and services already installed. For this example we have chosen Ubuntu 12.04 (i.e. Ubuntu Hyper-V Integration Services).

    The first step is to edit the "modules" file located in /etc/initramfs-tools using this command:

    sudo vi /etc/initramfs-tools/modules

    In vi Editor, navigate to the last line in the file and use the insert ( I ) command to append and enter the following lines:

    hv_vmbus

    hv_storvsc

    hv_blkvsc

    hv_netvsc

    Save the file by hitting the Esc key and then issuing the ": x" command

    Next, run the following commands to re-initialize the “modules” file:

    sudo update-initramfs –u

    Finally, reboot the virtual machine by executing the below command in Shell:

    sudo shutdown -r now

Once the guest virtual machine is rebooted, the LIS drivers and services will be registered in the system.