Remote Management logon to Linux

Source: Internet
Author: User
Remote Management login to Linux some time ago installed centos system, but has been unable to use putty connection, but because it does not hinder the learning command, so it will not be enough, so I am interested tonight, I will try again. First, use the VM to reinstall the centos system. The VM uses the VMwareworkst... remote management to log on to Linux.

Centos system was installed some time ago, but it has never been connected with putty, but it is useless because it does not impede the learning of commands. if you are interested tonight, try again.
First, the centos system is reinstalled with the virtual machine. the virtual machine uses VMware workstation9.0 and centos5.5 for the system.

Create a VM and select the custom advanced mode. my general parameter is memory 1024 MB. the hard disk type is SCSI, and the size is 20 GB. The network connection adopts the bridge mode. Because no printer function is required, the connection is removed when the power is turned on in the device status. First, create a virtual machine and then use an image to install the system. because Windows XP SP3 is used, centos is a 32-bit version. Use the GUI to install and create a custom partition structure. The Linux directory is as follows:

Create four partitions.
Mount point:/system type: ext3 size: 10000 M
System Type: swap size: 2048 M
Mount point:/web system type: ext3 size: 5000 M
Mount point:/test system type: ext3 size: 1000 M
By the way, I would like to add a way to name hard disks and partitions in linux.
In Linux, IDE devices are named after hd. The first ide device is hda, and the second is hdb. And so on
We generally have two IDE interfaces on the motherboard, which can be installed with four IDE devices. The two devices on the primary IDE correspond to hda and hdb respectively, and the two devices on the second IDE port correspond to hdc and hdd respectively.
Generally, our hard disk is installed on the primary interface of the primary IDE, so it is hda. the optical drive is usually installed on the primary interface of the second IDE, therefore, it is hdc (hdb is used to name the Slave interface on the primary IDE). The SCSI interface device is named by sd. The first device is sda, and the second is sdb. And so on
A partition is named by a device name and a number. For example, hda1 represents the first partition on the hda hard disk device. Each hard disk can have a maximum of four primary partitions. The role is to name the primary partition of the hard disk from 1 to 4. Logical Partitions start from 5. each time you have multiple partitions, you can use numbers.
For example, a common system has a primary partition used to guide the system. This partition corresponds to the C partition we often call. in linux, it is named hda1. Next we will divide the three logical partitions into D, E, and F, which are commonly referred to as hda5, hda6, and hda7 in linux.
On the optional software, I checked Desktop-Gnome and Server, Server-GUI. software customization was selected later. now you can select the software you need. After the software package is selected, the dependency of the software package is checked. by default, you can reboot the system after installation. You can disable the firewall and change the time when you set the option for the first time you start the system. Log on to the system.
If it is a common user, use su-root on the terminal and enter the password to enter the root user.
After the system is installed, use ifconfig on the terminal to view the virtual IP address, and ping the IP address in the DOS system. the following prompts are displayed:
Or the target cannot be reached, and the target is not found.
Method 1: Go to Control Panel-security center and disable firewall. if not, go to Method 2.


Method 2: switch the control panel to the classic mode and install a loopback Nic.
Click Add hardware. The process is as follows:





After installation, right-click my neighbor -- properties

After the virtual machine is installed, two virtual NICs of VMware will appear and can be disabled temporarily. Right-click local connection 2 -- properties and set the IP address


In this case, the eth0 IP address is modified along with the terminal. By the way, eth is the abbreviation of Ethernet, 0 indicates the first block, and if is the abbreviation of interfere.

Ping the address under DOS.

Use putty to connect to linux

After the operation is successful, you can use putty for remote management. In addition, use the VM to save the snapshot.

By the way, after successful logon, the system's default primary prompt is "$" for common users and "#" for root users.
Finally, we recommend two remote logon management tools: Putty and SecureCRT. the former does not need to be installed and used directly. The latter needs to be installed but is more powerful. files can be transferred to each other in Linux and Windows.
Two methods to exit the system are: exit or logout. Method 2: press ctrl + D.
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: info-contact@alibabacloud.com 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.