- How to Build a Linux Server with CentOS7.6
- 1. CentOS7.6 download
- 2. CentOS7.6 Installation
How to Build a Linux Server with CentOS7.6
This site describes the procedure for building a home server with CentOS (The Community ENTerprise Operating System), one of the Linux distributions.
CentOS is a “RHEL clone” that is based on Red Hat Enterprise Linux (RHEL), which has the largest market share in enterprise Linux.
I have built the following websites
1. “Safe Air Conditioner Repair and Proper Freon Recovery” http://marchan-na.com (CentOS7.6, using wordpress)
2. “Error Codes for Commercial Air Conditioners” http://ac.marchan-na.com (CentOS7.6, using wordpress)
3. “Linux Server Construction” https://korodes.com (Debian 11, using wordpress)
We will now proceed in order to set up your own network environment, install CentOS7.6, various server functions, and install the CMS (wordpress).
Order of Linux server construction
Network environment check and configuration (explained in this page)
Installing CentOS7.6 (explained in this page)
Basic server configuration
Publishing a Server
Building a Web Server
Building a mail server
Installation of CMS (wordpress)
1. CentOS7.6 download
The installation environment in this page is as follows
①Installed by CUI
CUI:Operation by command input
GUI: Operation on a graphical screen like Windows
②Use a dedicated Linux PC
You can also use Virtualbox or VMware Player to install it on a Windows PC, but we will skip that this time.
１.1 CentOS7.6 download
CentOS8.0 has been released and CentOS7.6 is no longer available for download from the official site.
It will take some time, but if you follow the official site, you will find a site where you can still download it deep down, so please don’t get frustrated and download it.
①If you access the official CentOS website https://www.centos.org/, you will see the following screen
If you cannot find it, go to https://vault.centos.org/7.6.1810/isos/x86_64/
Download CentOS-7-x86_64-DVD-1810.iso and create the installation media using DVD burning software.
Create the installation media using DVD burning software.
Scroll down to the bottom of the screen where you clicked “Get CentOS Now” with an orange background color on this page, and you will see the following screen, so click “then click here” specified by the yellow arrow.
Then you will see a screen like this
Scroll down to the bottom and you will see the following screen. Click on the “tree” of Version 7.6 specified by the red arrow.
Then, the following screen will appear, and click on the “isos /” indicated by the red arrow.
Click on “x86_64 /” specified by the red arrow on the screen that appears as follows
Click “CentOS-7-x86_64-DVD-1810.iso” specified by the red arrow on the screen as shown below.
Click on the address indicated by the red arrow in the following screen
Click on the red arrow “7.6.1810 /” to open the following screen
Click on the red arrow “isos /” to open the following screen.
The following screen will appear when you click on it, and click on the red arrow “x86_64 /”.
Click on the red arrow and select “CentOS-7-x86_64-DVD-1810.iso” to finally download the file.
1.２ CentOS7.6 Installation Disk Disk Creation
Burn the CentOS-7-x86_64-DVD-1810.iso you downloaded above to a DVD.
You can use your own burning software. If you don’t have one, there is a free one available on Vector.
Once you have the installation disc, you can change the BIOS settings of your PC to boot from the DVD.
We will assume that you know how to do this.
If you don’t know how to do this, you can find a lot of information on the Internet by searching for “BIOS settings for PC to boot from DVD.
2. CentOS7.6 Installation
Insert the installation disc into your DVD-ROM drive and boot up.
2.1 Initial installation screen
Then you will see the following screen, press the “Install CentOS 7” key at the top and go to “2) Select Language”.
CentOS7 uses “eth0” and “eth1” as the default NICs, while CentOS7 uses “eth1” and “eth2” as the default NICs. In order to use “eth0” or “eth1”, which were used in the previous CentOS 6 series, press the “Tab” key when the above screen appears.
Then you will see the following screen.
2.2 Select Language
On the next language selection screen, select “English” and click “Continue”.
2.3 Network and Hostname” settings
Then, on the next screen
①Click on the “IPv4 Settings” tab.
②Set the method to “Manual”.
④Enter the IP address, Netmask, and Gateway.
IP address: It depends on your router, but for example, if your router’s IP is “192.168.11.1”, you can use “192.168.11.#”.
For example, if your router’s IP is “192.168.11.1”, you can specify any number in the “#” part of “192.168.11.#”.
Gateway: Basically, specify the IP of the router (often “192.168.11.1” or “192.168.1.1”).
⑤Enter “DNS Server
Enter the primary DNS or router address specified by your provider.
Then, perform “IPv6 Settings” on the next screen.
2.4 Date and Time” settings
2.5 Software Selection” settings
Select Basic Web Server and click
♦Hardware Monitoring Utility
♦Perl for the Web
Check the above items.
2.6 Set the “Install Location”.
After setting, click “Finish” in the upper left corner of the screen.
When the root password is set, the “ROOT Password” item in the configuration screen will change to “The root password has been set.
Root is the Linux system administrator account, and is a user with absolute authority.
If the root password is compromised, the user who gets the password will have unlimited access to the system, so the password must be set carefully.。
We recommend that you use a password that is as complex and difficult to guess as root, but you can change it after installation, so there is no problem if you set a password that is easy to remember.
The strength of the “Password” will be displayed. When the password strength is set to “Strong”, click “Finish”.
When the message “Completed! is displayed at the bottom of the screen as shown in the figure below, CentOS installation is complete. Click “Restart” to reboot.
The startup screen during reboot will look like this
When CentOS starts, you will see “hostname login:” as shown below.
Login to CentOS with the username and password of the regular user you just created.
When you see the bash prompt “$”, your login is complete.
So far, we have introduced the installation of CentOS7.6.
Once you are able to login to the console, the installation step is complete. Once the installation is complete, you can use SSH or other remote connections to control the system from Windows, etc. This is basically the end of using the console.