Home PC Games Linux Windows Database Network Programming Server Mobile  
           
  Home \ Linux \ CentOS 6.5 Telnet SecureCRT use management tools     - Three kinds of implementation model of the Linux thread history (Programming)

- Oracle SQL statement tracking (Database)

- How to make Linux a non-root user uses less than 1024 ports (Linux)

- Android first line of code study notes (Programming)

- Linux ps command (Linux)

- Apache POI Excel Document Processing (Linux)

- Under Linux using Magent + Memcached cache server cluster deployment (Server)

- STL in the list of erase () method (Programming)

- Difference between TCP and UDP protocols (Linux)

- Create a DLL using MinGW and Attention (Programming)

- AngularJS application unit testing started (Programming)

- To help you easily protect the Linux System (Linux)

- ARM platform compiler installation Golang (Linux)

- Java Class file format parsing (Programming)

- Household use Linux Security (Linux)

- Whisker Menu 1.4.3 Install menu Linux (Linux)

- Ubuntu 14.04 compile RT288x_SDK / toolchain / squashfs3.2-r2 Error (Linux)

- LinSSID: a graphical Wi-Fi scanner under Linux (Linux)

- Android screen rotation processing and ProgressDialog the best AsyncTask (Programming)

- Installation Docker FAQ on Ubuntu (Linux)

 
         
  CentOS 6.5 Telnet SecureCRT use management tools
     
  Add Date : 2018-11-21      
         
         
         
  Virtual Machine Version: VMware Workstation_10.0.3

Linux System Version: CentOS_6.5 (64-bit)

I. Introduction:

A few days ago made a return to white, installed last month released the latest version of CentOS 7, was found in the study when there are many places and the old version of CentOS is not the same, so a lot of problems (of course, for I am concerned that a beginner), so now again replace a CentOS 6.5 to learn. We go directly to the main topic.

When a VMware virtual machine in the CentOS installation is successful, the system will simulate win7 the two virtual NICs: VMnet1 and VMnet8, we take a look, click on "Control Panel ---> View network status and tasks ---> change adapter settings ", the following interface

Open the virtual machine, select "Virtual Machine ---> Settings" menu, the following interface

If you want to ensure that virtual machines and physical machines to communicate or access the Internet, make sure the top right corner of the image above the "Device Status" To: Connected.

There are three ways a network connection, the following details about these three ways

Two, Bridge bridge mode, NAT mode, Host-only host-only mode:

Bridge mode: the virtual machine's network adapter for communication, simple configuration; and as long as a real computer on the same network segment can communicate directly; if there are other computers in the LAN can also be accessed. Disadvantages: take up a segment of the IP address. (Similar to a real stand-alone computer)
NAT mode: using the virtual NIC VMnet8 communication; and can only communicate with the machine; On this basis, the virtual machine can access the Internet through the host
Host-only mode: using the virtual NIC VMnet1 communication; and can only communicate with the machine; you can not access the Internet.
 

Three, Host-only host-only mode configuration:

(1) First check VMWare service conditions:

Select "Computer ---> Services and Applications Management --- --- Services", find VMware NAT service and VMware DHCP service, we start it

(2) See the virtual machine network card segments:

Since using a virtual card VMnet1, then take a look at it VMnet1 segments

VMnet1 IP address is 192.168.154.1, the subnet is 192.168.154.X (virtual machine automatically assigned address, each person's computer might be different)

Then turn to share a local connection

Then we enter into the VMware virtual machine, the connection mode is set to Host-only mode

Then, open the VMware Virtual Network Editor, look at the configuration

You can see, the virtual network is 192.168.154.X

(2) is configured in a virtual machine:

CentOS open terminal, enter the root user, enter the following command to view the current card information :( Note: if is the interface)

ifconfig

Shows no network card available (lo native loopback adapter that is mainly used for communications and test the machine, do not need to plug the network cable can ping through, there is not much sense).

Enter the following command to assign an IP address to the network card eth0 :( must ensure and VMnet1 for the same network segment 192.168.154.X)

ifconfig eth0 192.168.154.2
ifconfig

3) validated in Windows:

Open cmd Win7 console, enter the following command:

ping 192.168.154.2
Display below, to receive such a request response packet, indicating that the ping of the

Three, NAT configuration mode:

The above steps and as Host-only mode.

Note: we must ensure IP address of the virtual network adapter VMware8 and virtual machines on the same network segment

The key command is:

ifconfig eth0 192.168.221.2


Four, Bridge bridge mode configuration:

First check VMWare service conditions and II (1) of the same steps above. Then perform the following steps:

(1) See IP address of the local connection:

Since my local connection to automatically obtain IP, you need to enter the following command in cmd view:

ipconfig
Display as follows

IP local network connection is: 192.168.1.X.

(2) set up a virtual machine connections:

First, the connection mode to bridge

Virtual Network Editor, bridged to the NIC is recommended not to vote automatically, choosing instead to local need to use the card

(3) Enter the following command to set the CentOS ip, to ensure its network is 192.168.1.X:

ifconfig eth0 192.168.1.4

In this case, the cmd Win7 that can ping through

Special Note: After the restart, the above-mentioned three methods ip will be lost, to permanent preservation, which must be written to the file.

Five, SecureCRT remote connectivity tools and virtual machines to connect :()

(1) Connection:

Open the software, select "File ---> Quick Connect", pop up the following interface

Enter the virtual machine's IP address and user name: root, then start the connection.

NOTE: In some other versions of Linux, prohibit the use of root connection, the need for a regular user job.
Then enter the root password on the line

In this way, it's done

(2) for SecureCRT software settings:

Since I installed the Chinese version of CentOS, so in order to prevent distortion when using the software, you need to make the following settings:

Select the menu bar "Options ---> Session Options", the following dialog box


To change the background color (personal habits) terminal. Then modify the font size, etc.

Then the encoding to international standard

Six, Winscp file copy tool:

Very powerful:

Integration with Windows (drag and drop, URL, shortcut)
It supports all common file operations
Supports SSH-1, SSH-2 for SFTP and SCP protocols
Batch file scripting and command-line mode
A variety of semi-automatic and automatic directory synchronization mode
Built-in text editor
Support for SSH password, keyboard-interactive, public key and Kerberos (GSS) verification
By integrating support with Pageant (PuTTY Agent) for various types of public-key authentication
Provides Windows Explorer and Norton Commander interface
Optionally store session information
It can be set in the configuration file instead of the registry for the removable media operations
Thus, in the future between Linux and windows transfer files becomes more convenient.

After the software is open, IP address, enter the virtual machine, and the root user password to connect
     
         
         
         
  More:      
 
- OpenSIPS offline messaging feature set (Server)
- Monitoring services are running properly and will email alert (Server)
- Linux system network security tools sudo Introduction (Linux)
- Achieve camera preview by ffplay (Linux)
- Java transient keyword (Programming)
- php for Linux the MySQL extension module installation and configuration (Database)
- Modify Linux SSH default port 22 in several ways (Linux)
- Ubuntu and derivatives installation Atom 0.104.0 (Linux)
- CoreCLR compiled in Linux CentOS (Linux)
- Sublime Text 3 shortcuts summary (Linux)
- Source install Python3.4 on CentOS (Linux)
- JavaScript object - Flexible and dangerous (Programming)
- DNF Command Tutorial (Linux)
- Spring Data study notes -Helloworld (Programming)
- Seven kinds of DDoS attack methods and techniques Defensive (Linux)
- Python in os.path Magical (Programming)
- MongoDB, Cassandra, HBase transaction design strategy (Database)
- Teach you how to ensure password security under the Linux operating system (Linux)
- Linux memory management (Linux)
- Generated characters using Java Videos (Programming)
     
           
     
  CopyRight 2002-2020 newfreesoft.com, All Rights Reserved.