How to install centos on linux

How to Install CentOS 8 (with Screenshots)

CentOS released its long-awaited update of the widely popular Linux distribution CentOS 8 – in September 2019.

If you are already a CentOS user and want to use the latest version, there is still no straightforward way of upgrading to version 8. To set up CentOS 8, you will need to install the OS from scratch.

This tutorial will show you how to install CentOS 8 with step-by-step instructions and screenshots.

Tutorial on how to install CentOS 8

  • A recommended minimum of 8GB hard disk space (+2 GB for optimal performance)
  • Bootable USB/DVD
  • Internet connection

Step 1: Download CentOS 8

The first step is to download the CentOS 8 ISO file located on the official CentOS website.

There you will find two available ISO packages – CentOS Linux DVD ISO (the non-enterprise environment that includes the GUI) and CentOS Stream DVD ISO (the rolling-release distro).

In this guide, we installed the freely available CentOS Linux 8 and downloaded the corresponding ISO.

Download CentOS Linux DVD ISO file

Note: The default desktop environment for CentOS 8 is GNOME 3.28. The latest GNOME introduced many useful features such as an upgraded UI, extended device support, new box features, and many other novelties.

Step 2: Boot System from USB

After downloading the ISO, create a bootable USB.

Boot the system from the medium on which you have stored the ISO file.

It should display the main menu with several options to choose from. Select Install CentOS Linux 8.0.1905 and hit Enter to begin the installation process.

Step 3: Install CentOS 8

The installation process starts by selecting the language you want to use while installing. Find the language of your choice and click on Continue.

CentOS Linux 8.1905 installation welcome screen

The next window shows you a summary of the localization, software, and system configuration. You can inspect all the settings and adjust the parameters to suit your needs.

installation summary for CentOS 8 with localization software and system

Keyboard Layout

The first thing you can set is the keyboard layout you want to use on your system.

The default keyboard layout is in English (US), but you can add other keyboards by clicking on the plus sign (+) and finding the one you want.

Читайте также:  Self sign certificate linux

If you have multiple keyboard layouts, the one on the top of the list will be set as the default. You can move the layouts around and select the order in which they are listed.

CentOS 8 keyboard layout

Language Support

Although you have already selected a language for the installation process, you can install additional language support. Find the languages you want to add, check the box, and click Done to return to the main menu.

select additional language support for CentOS 8

Time and Date

Set the time and date for your CentOS 8 by selecting the region and city you are in. The system automatically changes the time according to your geographical location.

configure time and date on CentOS 8

Installation Source

You can also select the installation source you want to use. By default, it is set to the auto-detected installation media (a DVD or ISO file). If you don’t want to use the locally available media, you can use a network location.

select installation source for CentOS 8

Software Selection

The Software Selection section lets you decide which packages to install as part of your CentOS 8 system. You can decide on the Base Environment (whether you want a server with a GUI, the minimal installation or something else) and even add additional packages from the Add-ons list.

In this guide, we are going to install the server with a graphical interface (GUI).

set base environment for CentOS 8

Installation Destination

Make sure to click on the Installation Destination to select the device(s) on which you want to install CentOS 8.

You can decide how you want to partition the storage devices by selecting Automatically configure partitioning or I will configure partitioning (meaning you will do it manually).

If the storage you selected hasn’t been previously used (i.e. it is a clean installation), you can use automatic partitioning.

In case you are reusing storage on which you have important data you want to preserve, manual partitioning would be a wiser choice. This feature allows you to configure advanced setting options that reflect your needs.

Go back to the Installation Summary by clicking on Done.

CentOS 8 Linux device selection

Once you have finished setting up the CentOS 8 configuration, click on the button in the bottom right corner labeled Begin Installation.

Installation Summary for CentOS with begin installation selected

Kdump

Under the System heading you will find kdump configuration. In the event of a system crash, kdump captures information that can be invaluable in determining the cause of the crash.

Читайте также:  Linux copy directory recursive

This kernel crash dumping mechanism requires a part of the system memory that will be reserved just for its use. Kdump is enabled by default, with automatic memory reservation.

You can also set the memory reservation to an amount you find suitable, manually.

memory reservation by enabling kdump

Network and Host Name

The installation wizard will automatically detect locally accessible interfaces which will be listed in the left pane. You can select a network and activate (or deactivate) it. After the installation of CentOS, follow our guides to learn more details about configuring your network settings and how to change hostname on CentOS 8.

configure networking features for CentOS 8

Security Policy

Security policies are not enabled by default.

They should only be enforced if a policy is required by specific organization rules or government regulations.

User Settings

While the wizard installs CentOS 8 on your machine, you can configure the User Settings.

Configure user settings

Start by creating a root password. Bear in mind that this needs to be a strong password. The root user is used for system administration and has access to all commands and files. For uncrackable password ideas, consider some of our suggestions for greater system protection.

Setting up root account

Next, create a user with non-root privileges for everyday use. Then, type in your full name and a user name for the system. Tick the boxes that make the user an administrator and require password confirmation. Finally, provide the password you want to use and retype it to confirm.

Configure user

Wait until the installation is complete. You will receive a message that CentOS Linux 8 has been successfully installed and is ready to use. To start using the new OS, you first need to Reboot the system.

CentOS 8 installation complete

Licensing

The system restarts and opens an Initial Setup window with a Licensing Agreement that you must accept to finish the configuration. Click on the License Information and tick the box to confirm you accept the agreement.

License agreement for CentOS

Step 4: Run CentOS 8

With the initial setup and configuration done, the installation wizard redirects you to the login screen. Type in the password you assigned to your user and hit Enter.

This takes you to the CentOS 8 Welcome screen, where you need to choose a language for your OS and click Next.

Читайте также:  Linux dlopen cannot open shared object file no such file or directory

welcome screen

In the following prompt, select the keyboard layout or input method you prefer and click Next again.

choose keyboard layout or an input method

Select whether you want Location Services turned on or off. This is a privacy setting you may or may not want to uphold. By leaving Location Services ON, you allow applications to determine your geographical location.

turning off or on location services for CentOS

Finally, the prompt gives you an option to Connect to Your Online Accounts for more convenient access. If you do not want to do so, click the Skip button to proceed.

The button Start Using CentOS Linux takes you to the CentOS 8 desktop.

Successfully install CentOS 8

That’s it! You’re ready to go. After reading this guide and following all the steps, you should have successfully installed CentOS 8 on your system. You can now explore all the new features CentOS 8 has to offer.

To find out more about these new features and updates, take a look at our review on the CentOS 8 release.

Источник

Installation Guide

This manual explains how to boot the CentOS 7 installation program (Anaconda) and how to install CentOS 7 on AMD64 and Intel 64 systems, 64-bit ARM systems, and 64-bit IBM Power Systems servers. It also covers advanced installation methods such as Kickstart installations, PXE installations, and installations over VNC. Finally, it describes common post-installation tasks and explains how to troubleshoot installation problems.

Information on installing CentOS Atomic Host can be found in the Red Hat Enterprise Linux Atomic Host Installation and Configuration Guide.

This document is adapted and modified from the Red Hat Enterprise Linux 7 Installation Guide, available at https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/.

The text of and illustrations in this document are licensed by Red Hat under a Creative Commons Attribution–Share Alike 3.0 Unported license («CC-BY-SA»). An explanation of CC-BY-SA is available at http://creativecommons.org/licenses/by-sa/3.0/. In accordance with CC-BY-SA, if you distribute this document or an adaptation of it, you must provide the URL for the original version.

Red Hat, as the licensor of this document, waives the right to enforce, and agrees not to assert, Section 4d of CC-BY-SA to the fullest extent permitted by applicable law.

All CentOS Documentation content available under CC-BY-SA 3.0.

This page was built using a modified version of the Antora default UI. The source code for this UI is licensed under the terms of the MPL-2.0 license.

Источник

Оцените статью
Adblock
detector