Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Centos7 system creation, Xshell6.0 session environment deployment (can be followed)

2025-01-30 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

Ladies and gentlemen, the practical information introduced today is the CentOS-7 system of the virtual machine and the installation method of Xshell-6.0.

Vmware Experimental Environment Software package

Link: https://pan.baidu.com/s/1ZjQrV0aCH8Ub2FV2biQ6FA extraction code: gsp8

Contos 7.0Software Link: http://isoredirect.centos.org/centos/7/isos/x86_64/CentOS-7-x86_64-DVD-1810.iso

Open the link and download aliyun.

Xshell6.0 installation package

Link: https://pan.baidu.com/s/1elhbcItQTnn6S0VP-P4vkQ extraction code: tav1

First, CentOS-7 system installation

We want to open the virtual platform VMware Workstation, the installation of the system is implemented on this platform.

First of all, click create Virtual Machine on the home page of the open platform.

Select Custom (Advanced) and click next.

In the build virtual machine wizard that pops up, we select version 14 of the virtual machine hardware function and click next.

Then click to install later and let it automatically present the client operating system option; if you select the second option, it will not recognize the CentOS-7 system image; in the pop-up client operating system, we check Linux (L), as for the version, it is recommended to choose the latest CentOS 7 64-bit (according to the personal choice version, the latest version is the most functional), adding that the 64-bit system can install 32-bit software packages, which are downwards compatible.

After moving on to the next step, name the virtual machine. Since it is the installation of the second virtual machine, you can name it CentOS 7-2 here, and you can choose any save path. Remember that there are no Chinese characters and spaces (no matter what software is installed).

Here I install it on G disk and click next.

When choosing the number of processors, it depends on the individual processor allocation: i5 processor chooses single core, i7 can choose dual core (the system runs fast), or single core. Click the next step.

When choosing memory, the notebook memory of 16g chooses to allocate 4 gigabytes of Gcore and 4G memory to allocate 1G (the lowest threshold). Here I give it 2G.

Select NAT.

Select the recommended LSI Logic (L).

Select the recommended SCSI (S), which is the hard disk interface of the server.

Next, choose to create a virtual hard disk.

At this time, the virtual disk defaults to 20g of space, and the capacity is not enough, so we configure it with 40G disk. The following options do not move by default, click next.

Click to browse and save the disk file to the file you just created (so that if you want to delete it later, you can empty all the virtual machine system folders at once), and I'll put it in the centos 7-2 folder on the G disk that I just created.

To move on to the next step, click the Custom hardware option to delete the sound card and printer (not needed in the experiment, leave it here to take up space).

Click CD/DVD (IDE), check the use ISO image file, click Browse to add the image of the desktop.

In addition, Chinese must not appear in the added file path.

Click close, click finish, and the virtual machine is established. Open for configuration after completion.

Select the first one and enter to install it. Then click enter to load again.

I choose simplified Chinese here, depending on my personal situation (foreign friends can choose the national language they are good at here), click to continue.

Go to the installation information summary and confirm that the information is what you need. The time is Shanghai, the keyboard is in Chinese form and the language is Chinese.

The software chooses to change the configuration, it defaults to the minimum installation, that is, a kernel is installed and there is nothing else. We need to click on it and add it manually.

Pay attention to choose the GNOME desktop, it will provide you with a very intuitive desktop environment, which is helpful for us to operate.

The default space is not enough, we need to add space to the disk and click on the configuration.

Check manual partition and click finish.

Partition scheme selects standard partitions, suitable for our linux operation, point "+" to create and mount files, directories, disk space in linux, which must be mounted (adding partitions is equivalent to mounting space to specified files and logos).

The "/" in the figure represents the root directory, which is a necessary component. Configure it with 20g of space. Click add mount point.

Click "+" and select the swap swap partition, which is as essential as "/". This setting is 1.5 times the physical memory you just set. I set 2 gigabytes for physical memory earlier, and here I set four gigabytes for it.

Click "+", and then set up a boot partition to put the compressed kernel of the system and configure it with 6G.

The user's own home directory, configure it with 10G.

Click finish first, and then click to accept changes.

KDUMP is a storage space for disaster recovery. In the event of a space crash, it will give a space for system recovery. The network and hostname do not need to be changed, and we will configure them later. SECURITY POLICY is open and does not need to be changed. The default option is available. Click install.

During installation, set a password in the ROOT Super Admin (any setting, no password complexity requirements, unlike windows systems).

When the restart is complete, click not accepted license, enter the check box to agree to the license agreement, and then click agree.

This is followed by a series of configurations, including the selection of Chinese language, the selection of input language, the disclosure of geographical location in privacy, the selection of Shanghai time zone, the skipping in the upper right corner without an online account, and the choice to start using CentOS Linux (S) after configuring a common user name and password.

Then you enter the interface of CentOS 7:

Find your user name and click Log out to enter the Super Admin settings.

Click not listed after logging out, and enter the user name and password of the Super Admin.

Enter root, and then enter the previously set password to enter the page.

Before entering the administrator's page, you need to make a series of settings in the same way as ordinary users (same as the above steps, including language settings, location disclosure in privacy).

But now the page can not surf the Internet, we need to enter the terminal for editing.

Enter the command and hit enter to enter the network card page

As shown in the following picture, there is a lot of information on the network card page.

We need to change no to yes and open the network card (use the key above and below to move to no and change it to yes).

First, enter I and esc to exit edit mode, and then enter: wq to save and exit.

Then enter the network restart command: service network restart, enter.

Add this: type ifconfig to view information about IP.

At this time, the system can surf the Internet normally.

In terminal mode, enter ping www.baidu.com to try to connect to Baidu. That is, it can be connected:

Second, install xshell-6.0

I am now installing xshell-6.0 on the windows virtual machine and opening the installation package

Click the next step directly.

Check to accept the license agreement and click next.

There is no need to change the account name, go straight to the next step.

Select the default path. No need to change it. Click next.

The program folder defaults to xshell 6, which is installed directly.

Click finish to get the software running directly.

At this point, a small page of the user data folder will pop up, ignore it, and click OK directly.

Click New on the page that comes out. We need to configure some data, enter ifconfig in the centos system terminal to view the ip address, and paste the IP number into the host.

Enter the keyboard settings and select ASCll 127 for both sequences. Click the link when you are finished.

Enter ifconfig on the page of the session to view the ip, as in the centos system.

Let's test whether it can surf the Internet properly. Enter ping www.baidu.com.

To sum up, the session created can control the centos7-2 system remotely and surf the Internet successfully. That's all for today, and more on my next blog post (hee hee).

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report