【Foreword】 Recently I want to stress test ITOO's examination system, so I want to install Linux on my computer, and then install jmeter to perform stress testing. But why do we need to connect to xshell? Because on the virtual machine, you always switch the mouse with the host, and you can't paste and copy, so it is more convenient to connect with xshell. 【hint】 CentOS7 recommends using the first method of setting a static IP address. 【step】 1. Install VMware Just click Next 2. Install Linux Download CentOS and install it in VMware. There are many tutorials on the Internet, so I won’t go into details here. 3. Configuration One way is to set a dynamic IP (recommended): 1. Set the Linux network configuration type 2. Log in to the Linux system and enter: 3. Configure the network card and bind a static IP Open the configuration file eno16777736 Type: After editing, save and exit (!wq) 4. Restart the network card service service network restart 5. Configure the network IP of the virtual machine Test it out Ping baidu.com If it works, it means it is successful. The second method: set a static IP (not recommended) It is troublesome to use this method in CentOS7. The following steps may result in different ping results. If you must use this method, please refer to the following blog: https://www.jb51.net/article/190173.htm To connect to xshell, you need to configure the IP and put the IP in Linux and the IP on the virtual machine in the same network segment. 1). Set the network configuration type of the Linux system 2). Check the network segment in the virtual machine 3). Set up a static IP in Linux system 1. Log in to the Linux system 2. Input: 3. Configure the network card and bind a static IP Open the configuration file eno16777736 Type: After editing, save and exit 4. Restart the network card service service network restart You can also check whether the IP address is consistent with the one entered above: ip addr 4). Configure the IP address of the virtual machine The default gateway should be consistent with the one configured in the virtual machine. 5) Test it out Ping baidu.com If it works, it means it is successful. If not, add DNS1=114.114.114.114 to the above network card configuration file, then restart the network card service: service network restart, and test again 4. Download xshell to connect to Linux Then enter your username and password (these are set when you installed Linux) 【Summarize】 This completes the connection, and you can use xshell to connect to the Linux system. During this configuration process, I actually went through a lot of ups and downs, from not understanding at first to gradually understanding. I will continue to share the installation process of jmeter in the future, so stay tuned. This concludes this article about the steps (2 methods) to connect Linux in VMware using xshell. For more information about connecting Linux in VMware using xshell, please search previous articles on 123WORDPRESS.COM or continue browsing the related articles below. I hope you will support 123WORDPRESS.COM in the future! You may also be interested in:
|
<<: Vue implements scrollable pop-up window effect
>>: Detailed tutorial on installing and configuring MySQL 5.7.20 under Centos7
vue+el-upload multiple files dynamic upload, for ...
This article records the complete uninstallation ...
Table of contents 1. What is reflection? 2. Refle...
When writing HTML code, the first line should be ...
Table of contents 1. Installation 2. Use Echarts ...
step Place the prepared static resource files in ...
Database transaction isolation level There are 4 ...
The decompressed version of MYSQL is installed 1:...
When coding, you will find that many things have ...
Table of contents 1. MySQL join buffer 2. JoinBuf...
Today, I found out while working on PHP that if w...
Disadvantages of Tables 1. Table takes up more byt...
This article uses examples to illustrate the prin...
Preface Last week, a colleague asked me: "Br...
Preface Because this is a distributed file system...