centos安装 / Installation of CentOS 7.3 Guide

The latest version of CentOS 7, a Linux platform based on sources of Red Hat Enterprise Linux, has been released in November this year with many bug fixes, new packages upgrades, such as Samba, Squid, libreoffice, SELinux, systemd and others and support for the 7th generation of Intel Core i3, i5, i7 processors.

This guide will show you how to install CentOS 7.3 using the DVD ISO image on a UEFI based machine.

If you’re looking for RHEL, go through our RHEL 7.3 Installation Guide.

Requirements
  1. Download CentOS 7.3 ISO Image

In order to properly perform the installation of CentOS 7.3 on a UEFI based machine, first enter your motherboard UEFI settings by pressing a special key (F2F11F12 depending on motherboard specifications) and assure that QuickBoot/FastBoot and Secure Boot options are disabled.

CentOS 7.3 Installation

1. After you’ve downloaded the image from the above link, burn it to a DVD or create a bootable UEFI compatible USB drive using Rufus utility.

Place the USB/DVD in the appropriate motherboard drive, reboot your machine and instruct the BIOS/UEFI to boot-up from the DVD/USB by pressing a special function key (usually F12F10 depending on the vendor specifications).

Once the ISO image boots-up, the first screen will appear on your machine output. From the menu select Install CentOS 7 and hit Enter to continue.

CentOS 7.3 Boot Menu

CentOS 7.3 Boot Menu

2. After the install ISO image has been loaded into your machine RAM, the welcome screen will appear. Choose the language you want to perform the installation process and press hit on Continue button.

Select CentOS 7.3 Installation Language

Select CentOS 7.3 Installation Language

3. On the next screen hit on Date and Time and choose your geographical location from the map. Make sure the date and time are correctly configured and hit on Done button to go back to the main installer screen.

CentOS 7.3 Installation Summary

CentOS 7.3 Installation Summary

Select Date and Time

Select Date and Time

4. On the next step setup the keyboard layout by hitting on Keyboard menu. Choose or add a keyboard layout and hit on Done to continue.

Select Keyboard Layout

Select Keyboard Layout

5. Next, add or configure the language support for your system and hit Done to move to the new step.

Select Language Support

Select Language Support

6. In this step you can setup your system Security Policy by choosing a security profile from the list.

Set the desired security profile by hitting on Select profile button and Apply security policy button to ON. When you finish click on Done button to continue with the installation process.

Enable CentOS 7.3 Security Policy

Enable CentOS 7.3 Security Policy

7. On the next step you can configure your base machine environment by hitting on Software Selection button.

From the left list you can opt to install a desktop environment (GnomeKDE Plasma or Creative Workstation) or choose a server custom installation type (Web serverCompute NodeVirtualization host, Infrastructure server, Server with a graphical interface or File and Print Server) or perform a minimal installation.

In order to subsequently customize your system, select Minimal Install with Compatibility Libraries add-ons and hit on Done button to continue.

CentOS 7.3 Software Selection

CentOS 7.3 Software Selection

For a full Gnome or KDE Desktop environment use the below screenshots as a guide.

Gnome Desktop Software Selection

Gnome Desktop Software Selection

KDE Desktop Software Selection

KDE Desktop Software Selection

8. Assuming that you want to install a Graphical User Interface for your server, choose Server with GUI item from the left plane and check the proper Add-ons from the right plane depending on what kind of services the server will provide to your network clients.

The range of services you can choose from is diversified, from Backup, DNS or e-mail services to File and Storage services, FTP, HA or Monitoring tools. Choose only the services that are crucial for your network infrastructure.

Select Server with GUI

Select Server with GUI

9. Leave the Installation Source as default in case you’re not using other specific network locations such as HTTPHTTPSFTP or NFS protocols as additional repositories and hit on Installation Destination in order to create hard disk partitions.

On the Device selection screen make sure your local machine hard disk is checked. Also, on Other Storage Options assure that Automatically configure partitioning is selected.

This option ensures that your hard disk will be properly partitioned according to your disk size and Linux file system hierarchy. It will automatically create /(root)/home and swap partitions on your behalf. Hit on Done to apply the hard drive partition scheme and go back to the main installer screen.

Important: If you want to create custom layout with custom partition sizes, you can select “I will configure partitioning” option to create custom partitions.

Select CentOS 7.3 Installation Destination

Select CentOS 7.3 Installation Destination

10. Next, hit on KDUMP option and disable it if you want to free RAM in your system. Hit Done to apply changes and go back to main installation screen.

Kdump Selection

Kdump Selection

11. In the next step set-up your machine hostname and enable network service. Hit on Network & Hostname, type your system Fully Qualified Domain Name on Host name and activate the network interface by switching the Ethernet button from OFF to ON in case you have a DHCP server in your LAN.

Set Network and Hostname

Set Network and Hostname

12. In order to statically configure your network interface hit on Configure button, manually add your IP settings as illustrated in the below screenshot and hit on Save button to apply changes. When you finish, hit on Donebutton to return to main installer menu.

Configure Network and IP Address

Configure Network and IP Address

13. Finally, review all configurations so far and if everything seems in place, hit on Begin Installation button to start the installation process.

Begin CentOS 7.3 Installation Guide

Begin CentOS 7.3 Installation Guide

14. After the installation process starts, a new configuration screen for setting-up users will appear. First, hit on ROOT PASSWORD and add a strong password for root account.

The root account is the highest administrative account in every Linux system and has full privileges. After you finish hit on Done button to return to user settings screen.

Select Root Password

Select Root Password

Set Root Password

Set Root Password

15. Running the system from root account is extremely unsecure and dangerous so it’s advisable to create a new system account in order to perform day-to-day system tasks by hitting on User Creation button.

Add your new user credentials and check both options in order to grant this user with root privileges and manually enter the password each time you log in to the system.

When you finish this last section hit on Done button and wait for the installation process to finish.

Create User Account

Create User Account

16. After a few minutes the installer will report that CentOS has been successfully installed on your machine. In order to use the system you just have to remove the installation media and reboot the machine.

CentOS 7.3 Installation Complete

CentOS 7.3 Installation Complete

17. After reboot, log in to the system using the credentials created during the installation process and make sure perform a full system update by issuing the below command with root privileges.

$ sudo yum update
Update CentOS 7.3

Update CentOS 7.3

Answer with yes to all questions asked by yum package manager and finally, reboot the machine again (use sudo init 6) in order to apply new kernel upgrade.

$ sudo init 6

That’s all! Enjoy the latest release of CentOS 7.3 on your machine.


评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值