1. Install the Linux operating system:
Using the software: VMware Workstation 11.0, CentOS 6.6. Specific steps:
650) this.width=650; "src="/e/u261/themes/default/images/spacer.gif "style=" Background:url ("/e/u261/lang/zh-cn/ Images/localimage.png ") no-repeat center;border:1px solid #ddd;" alt= "Spacer.gif"/> (1) into VMware, select "Create a new virtual machine", 1 as shown:
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/5B/68/wKioL1UI4MThQG1XAAC7p8di8O4765.jpg "title=" uac9j~ $NQYR 84UV (UB%_@IX.jpg "style=" float:right; "alt=" wkiol1ui4mthqg1xaac7p8di8o4765.jpg "/>
Figure-1 Creating a new virtual machine
(2) Follow the instructions to click on the next step is good, generally we choose the default, it is no longer. Note The first step is to create the virtual machine and install the operating system at a later time. The second is to allocate memory preferably not less than 1024M, so that when needed to start the graphical interface. The third is a network connection using NAT or bridging. If the physical machine is connected by dial-up, select NAT, or if the physical machine is surfing the internet via a non-wired network, then either Nat or bridge is available.
(3) After adding the ISO image of CentOS 6.6 on the hard drive, after booting into the installation interface: Enter the first line or the second line can install the operating system, the third behavior into the rescue mode, will be mentioned, the fourth behavior of the hard disk boot. In general, the installation of the default can be selected, note that the time zone can be selected without checking the use of UTC, so that the system time with the real Beijing time unified, otherwise the system time will be 8 hours later. In the system partition, it is recommended to choose Custom,/boot 200M, swap to distinguish the actual memory twice times the size, but preferably not more than 8G, the rest of the space allocated to the/root directory. Of course, according to the actual needs of the points, this is mentioned in the previous summary. It is recommended that you select the Minimal minimized installation at installation, and then install it using the Yum command when needed.
2. Remotely connect to a Linux system:
Using software: Xshell or Putty.
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/5B/6A/wKioL1UI7oDC8D3tAAHDxkXBgI0910.jpg "title=") ' D3J4ZBP ' jd5sd4a0ev2si.jpg "alt=" Wkiol1ui7odc8d3taahdxkxbgi0910.jpg "/>
Figure-2 Xshell Settings page
Take Xshell as an example, 2, fill in the host IP, which is the IP address of the Linux system on the virtual machine, the port number defaults to 22. Then click on the left "terminal" option, set the encoding to Unicode (UTF-8), determine the connection can enter the user name password to connect. (Xshell can also remotely connect to the desktop version of Linux, interested to see this article:
Http://jingyan.baidu.com/article/d45ad148967fcd69552b80f6.html
I did not succeed in the experiment, presumably because the GNOME Desktop could not be installed in CentOS 6.6
)
Xshell and Putty can set key logins, which is more secure than password-only login:
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/5B/6A/wKioL1UI7-qTK1RkAAGlHJochzo879.jpg "title=" z4t[ Ei@l7$_ ']~8}_8~u[nr.jpg "alt=" Wkiol1ui7-qtk1rkaaglhjochzo879.jpg "/>
Figure-3 Xshell generate key
The generated public key is copied down and used in Linux to do the following:
[[Email protected] ~]# CD./.ssh///If the directory does not need to be manually created
[email protected]. ssh]# Vim Authorized_keys
Paste the copied public key in the file, save the exit, and use the password for the key the next time you log in.
Putty using a key to log in requires the use of PuttyGen to generate the key, which is also copied after the copy public key is pasted in the file. You can save multiple public keys in Authorized_keys, just be careful not to save them in the same business.
The first article is relatively brief, the main content is not much and before the understanding of a lot, the first summed up to this, if the thought of other will be added.
Learning Notes (i)--Installing and remotely connecting the Linux operating system