Do not install CentOS? Not anxious ~ After reading you, you will be (pure life, another remote management method)

In this blog, I will lead you to install Centos 7 in the virtual environment of VM 14 (7 is the latest Centos system) and can realize remote connection through Xshell 6 (a remote control software).


Directory:

1. Complete the basic Centos creation in the VM14 virtual environment
2. Complete the installation of Centos 7 and connect to the Internet.
3. Use Xshell 6 to achieve Remote control

What is Centos?

CentOS (Community Enterprise Operating System, meaning community enterprise operating system in Chinese) is one of the Linux distributions, based on the enterprise-level Linux distributions provided by Red Hat Linux that can freely use the source code. It is a completely free open source software.
Download address: https://www.centos.org/download/
There is so much nonsense, let’s start:

First, complete the basics in the VM14 virtual environment Centos creation

First, open our VM14 and select “Create a new virtual machine” on the home page (students who have not created an icon on the desktop can also click on the file in the upper left corner-create a virtual machine to achieve)
Can't install Centos? Don't worry~ You will be ready after reading it (pure practical operation, a remote management method is also given)
Can't install Centos? Don't worry~ You will be there after reading it (pure practical operation, and a remote management method is also presented)
Then, select “Custom” in the wizard, and select the default VM14 for compatibility, and select “Install Later” in the next installation source (because we have to choose which Linux Kind of version)
Can't install Centos? Don't worry~ You will be there after reading it (pure practical operation, a remote management method is also given)
Can't install Centos? Don't worry~ You will be there after reading it (pure practical operation, a remote management method is also presented)
Can't install Centos? Don't worry~ You will be done after reading it (pure practical operation, a remote management method is also given)
Can't install Centos? Don't worry~ You will be done after reading it (pure operation, remote management method will be given as a gift) )
Next, the following steps:
1. Name the virtual machine and set the installation path (under the path Don’t have Chinese)
2. Set the number of processor cores (the host is a single core with 4 cores and 4 threads and below, and the host is a choice with 6 cores and 12 threads and above. Use 2 cores or even 4 cores)
3. Set the memory (1G for host memory below 8G is enough, 2G for 8G~16G, 4G for 16G or more)
4. Select network Type (be sure to select the NAT mode, many of the Centos software installations need to be connected to the Internet to install)
Will not install Centos? No hurry~ You will be there after reading it (pure practical operation, a remote management method is also presented)
 Can't install Centos? No hurry~ You will be there after reading it (pure practical operation, a remote management method is also presented)
 Can't install Centos? No hurry~ You will be there after reading it (pure practical operation, a remote management method is also presented)
 Can't install Centos? No hurry~ You will be there after reading it (pure practical operation, a remote management method is also presented)
Settings after this Just choose the default. The only thing to note is that there can be no Chinese in the installation path of the disk file.
Will not install Centos? No hurry~ You will be there after reading it (pure practical operation, a remote management method is also presented)
 Can't install Centos? No hurry~ You will be ready after reading it (pure practical operation, and a remote management method is also presented)
Finally, after completing the virtual Don’t forget to put the ios image of Centos 7 in the CD drive before setting up the computer, and you can easily delete some unused devices.
Will not install Centos? No hurry~ You will be there after reading it (pure practical operation, a remote management method is also presented)
 Can't install Centos? No hurry~ You will be there after reading it (pure practical operation, and a remote management method is also presented)
Next let us enter The second part of this experiment operation: install Centos 7 and enable it to connect to the Internet (not the network card is in NAT mode~~)

Second, complete the installation of Centos 7 and connect to the Internet

2-1 Centos 7 installation

First open the set Centos7-2, press enter in the following interface to start the installation
Centos will not be installed ? No hurry~ You will be there after reading it (pure practical operation, another remote management method is presented)
wait patiently for 30s~one Minutes (the time varies depending on the configuration you set for the virtual machine) to enter the installation interface, first set the entire installation process to Chinese (if English is good, you can set it to English XD), click Next, first pay attention to whether the time zone and language are correct< br>Can't install Centos? No hurry~ You will be there after reading it (pure practical operation, and a remote management method is also presented)
 Can't install Centos? No hurry~ You will be there after reading it (pure practical operation, and a remote management method is also given)
Follow the above picture, Click on the software selection and modify the minimum installation to GNOME desktop (the minimum installation is not complete)
Will not install Centos? No hurry~ You will be there after reading it (pure practical operation, and a remote management method is also presented)
Complete and wait for its dependency relationship After completion, click on the installation location to perform manual partitioning (automatic partitioning has many disadvantages, and it is very likely that you will not be able to install too many software)
Can't install Centos? No hurry~ You will be there after reading it (pure practical operation, a remote management method is also presented)
Next steps: (The order is in the order of the pictures)
1. First change the automatic configuration partition to “I want to configure the partition”
2. Select the standard partition in the drop-down menu as shown in the figure, and then click the “+” sign to start adding Load point (equivalent to adding a partition in Windows)
3. Follow by “/” root (similar to the C drive in Windows), “swap” virtual swap partition (similar to the virtual memory in Windows, the capacity is the actual memory 1.5~2 times), “/boot” boot partition, “/home” home directory mounting, where “/” and “swap” must be mounted. If the settings are wrong, you can click the lower right corner to perform “Reset all” Set”
4. Click Finish to start the installation
Can't install Centos? No hurry~ You will be there after reading it (pure practical operation, and a remote management method is also presented)
 Can't install Centos? No hurry~ You will be there after reading it (pure practical operation, and a remote management method is also presented)
 Can't install Centos? No hurry~ You will be there after reading it (pure practical operation, and a remote management method is also presented)
 Can't install Centos? No hurry~ You will be there after reading it (pure practical operation, a remote management method is also presented)
Finally before the installation starts Root password settings are required (which will be used for Centos networking later). Please quietly wait for the installation to be completed. ~~
Can’t install Centos? No hurry~ You will be there after reading it (pure practical operation, a remote management method is also given)
You need to do it after installation is complete Restart. After the restart is complete, complete the basic settings according to the picture.
Will not install Centos? No hurry~ You will be there after reading it (pure practical operation, a remote management method is also presented)
After completing the initial configuration, The subsequent configuration is basically the default, not to mention it. Just pay attention to the time zone and personal login account password settings.
Will not install Centos? No hurry~ You will be there after reading it (pure practical operation, and a remote management method is also presented)
 Can't install Centos? No hurry~ You will be there after reading it (pure practical operation, a remote management method is also presented)
After all settings are completed, Open the Firefox browser through the application in the upper left corner of the desktop and find that
eh~~~ can’t access the Internet (we said before that many Centos software needs to be connected to the Internet to install, what should I do?)
 Can't install Centos? No hurry~ You will be there after reading it (pure practical operation, and a remote management method is also presented)
 Can't install Centos? No hurry~ You will be there after reading it (pure practical operation, another remote management method will be presented)
Don’t hurry, not before There is a problem with the settings, but some settings are not turned on.

2-2 Modify the network card settings so that it can connect to the Internet

Return to the desktop, click the upper right corner to log out the personal account, Enter the highest authority account by entering the root account password set before. The operation sequence is as shown in the figure:
1, log out the personal account;
2, click not listed;
3&4, enter the account “ROOT” password
Will not install Centos? No hurry~ You will be there after reading it (pure practical operation, a remote management method is also presented)
 Can't install Centos? No hurry~ You will be there after reading it (pure practical operation, a remote management method is also presented)
 Can't install Centos? No hurry~ You will be there after reading it (pure practical operation, a remote management method is also presented)
 Can't install Centos? No hurry~ You will be there after reading it (pure practical operation, a remote management method is also presented)
After re-entering the desktop, Right-click on the desktop and select “Open Terminal”
Can't install Centos? No hurry~ You will be there after reading it (pure practical operation, and a remote management method is also presented)
Type in the terminal< strong>“vim /etc/sysconfig/network-scripts/ifcfg-ens33” Note that there is a space after vim, so don’t forget it; and ens33 here is the default network card name, enter ens33 after pressing Enter Settings, found that “onboot” is no, this setting is to control whether the network card is activated when the system starts.
Centos will not be installed? No hurry~ You will be there after reading it (pure practical operation, and a remote management method is also given)
Use the arrow keys to move the light spot Move to this setting. At this time, you cannot modify it directly. You need to press “I” (capital i) to enter the insert mode, and then you can modify it.
Will not install Centos? No hurry~ You will be there after reading it (pure practical operation, and a remote management method is also presented)
After the modification is completed,< br>1. First press “ESC” to exit, then enter “:” to return to the bottom, then enter “wq” to save and exit
2, the setting is not effective at this time, you need to enter “service network restart” to set the network service Restart
Will not install Centos? No hurry~ You will be there after reading it (pure practical operation, a remote management method is also presented)
 Can't install Centos? No hurry~ You will be there after reading it (pure practical operation, and a remote management method is also presented)
Exit the terminal at this time, Reopen the Firefox browser and enter “www.baidu.com” to successfully connect to the Internet.
Can't install Centos? No hurry~ You will be there after reading it (pure practical operation, another remote management method is presented)

三, Use Xshell 6 to realize remote control

What is Xshell?

Xshell?? is a powerful secure terminal emulation software, which supports SSH1, SSH2, and the TELNET protocol of the Microsoft Windows platform .Xshell helps users enjoy their work in a complex network environment through the secure connection of the Internet to the remote host.
The Xshell used this time is the latest version of Xshell 6, download link:
https://pan.baidu .com/s/1FyJTpnq_7BVbsgpGDfRPgg Extraction code: atvs

3-1 Complete the settings of Xshell for later use

First complete the installation of Xshell (nothing to say, basically the default Option, the next step will be completed), and then double-click to open Xshell
Will not install Centos? No hurry~ You will be there after reading it (pure practical operation, and a remote management method is also presented)
Select “through the menu bar” Default session settings” start setting steps:
1, select the terminal-keyboard, start preliminary settings
2, set the DELETE key sequence and BACKSPACE key sequence as shown in the figure to ASCII 127 (this option can recognize Chinese and English Symbol difference)
3. Choose the appearance
4. Change the color scheme and font according to the picture, the font can recognize Chinese
Can't install Centos? No hurry~ You will be there after reading it (pure practical operation, a remote management method is also presented)
 Can't install Centos? No hurry~ You will be there after reading it (pure practical operation, a remote management method is also presented)
 Can't install Centos? No hurry~ You will be there after reading it (pure practical operation, a remote management method is also presented)
Then let us return to the menu Select New in the column
Will not install Centos? No hurry~ You will be there after reading it (pure practical operation, and a remote management method is also presented)
In the name and host Enter the user-defined name and the ip of the connected host respectively (you will know it immediately). Others remain unchanged.
Will not install Centos? No hurry~ You will be ready after reading it (pure practical operation, and a remote management method is also presented)
I don’t know if you need to connect to the host What should I do with the IP? No hurry. Return to the Centos virtual machine, right-click to open the terminal, enter “ifconfig” to view the network card information, and get the host ip
Can't install Centos? No hurry~ You will be there after reading it (pure practical operation, a remote management method is also presented)
After the creation is complete, double-click The icon on the left, start remote login
1, enter the highest authority account, remember to remember the account (otherwise you will have to re-enter it every time you enter)
2, enter the corresponding password, and also remember the password
Can't install Centos? No hurry~ You will be there after reading it (pure practical operation, a remote management method is also presented)
 Can't install Centos? No hurry~ You will be there after reading it (pure practical operation, and a remote management method is also given)
The next step is the verification time , Is there any success? Enter “ifconfig” in the Xshell corresponding host (guarantee that the corresponding Centos is open) Dangdang!!! The corresponding host network card information is displayed successfully, the experiment is successful!!
Centos will not be installed ? No hurry~ You will be there after reading it (pure practical operation, a remote management method is also presented)

Leave a Comment

Your email address will not be published.