Day2 -- SecureCRT configuration, day2 -- securecrt

Source: Internet
Author: User

Day2 -- SecureCRT configuration, day2 -- securecrt

In production, we cannot see the working interface of the virtual machine. The virtual machine interface is equivalent to the display screen of the data center. In fact, we manage it in the operating tool. Here we use SecureCRT to remotely connect to the virtual machine, secureCRT settings are as follows:

1. Enable SecureCRT (Super Terminal), Click [quick link], as shown below:

2. Create a connection and set the Host Name and user name. The default port number is as follows:

3. A prompt box appears for the first time. Select "Receive and save". A dialog box is displayed, as shown in the following figure. Enter the password to log on:


4. The connection is successful, as shown below:

5. Set the session options as follows:

My settings are as follows:


(Configuration 1)

(Configuration 2)

5. Check the NIC configuration information. If ONBOOT is set to no, you need to [ifup eth0] Start the NIC every time you start the instance, as shown below:

6. Modify the NIC configuration information so that ONBOOT = yes. In this way, you do not need to start the NIC (ifup eth0) every time you start the NIC, as shown below:

Use sed-I's # ONBOOT = no # ONBOOT = yes # G'/etc/sysconfig/Network-scripts/Ifcfg-eth0, Modify the NIC configuration information

Network Interface Configuration File [root @ localhost ~] # Cat/etc/sysconfig/network-scripts/ifcfg-eth0 TYPE = Ethernet # network adapter type device = eth0 # network adapter Interface Name ONBOOT = yes # whether the system is automatically loaded at startup, whether the network adapter is started, yes automatic start, no start each time, ifup eth0, ONBOOT = no, every time you want ifup eth0 to start BOOTPROTO = static # enable address protocol-static: static protocol-bootp protocol-dhcp protocol IPADDR = # Nic IP address NETMASK = # Nic network address GATEWAY = # Nic GATEWAY address DNS1 = # Nic DNS address HWADDR = 00: 0C: 29: 13: 5D: 74 # Nic device MAC address BROADCAST = # Network Card broadcast address re-import ifcfg-eth0 network configuration file [root @ localhost ~] #/Etc/init. d/network reload Shutting down interface eth0: [OK] Shutting down loopback interface: [OK] Bringing up loopback interface: [OK] Bringing up interface eth0: [OK] disable and activate the NIC interface [root @ localhost ~] # Ifdown eth0 # disable the network [root @ localhost ~] # Ifup eth0 # Start and close network service method 1: [root @ localhost ~] # Service network stop # disable the network service [root @ localhost ~] # Service network start # start the network service [root @ localhost ~] # Service network restart # Method 2: [root @ localhost ~] #/Etc/init. d/network stop [root @ localhost ~] #/Etc/init. d/network start [root @ localhost ~] #/Etc/init. d/network restart Nic status query [root @ localhost ~] # Service network status Configured devices: lo eth0 Currently active devices: lo eth0 temporary Nic configuration, no need to restart. [Root @ localhost ~] # Ifconfig eth0 netmask

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.