* * Some other questions before starting:
* Motherboard Virtualization Open: To run some operating systems, virtualization software and virtual machines, hardware virtualization needs to be enabled. In most cases, operating systems that do not require virtualization technology can function properly in systems with virtualization technology enabled, but some operating systems that require this technology must be enabled for virtualization to run. Different types of computer motherboard open way some differences, please Baidu own computer model to solve. A BIOS setting like this:
* * Configure Network
* Configure some network settings for the current operating system and the virtual machine system
1, turn on the virtual machine, and then through the virtual machine tag "edit"-"Virtual network Editor", in the popup dialog box using VMnet8 set fixed IP, that is, "bridge mode" changed to "Nat mode",
2, open the Linux system interface, the desktop through the right button, the outbound menu, into the Linux terminal, we need to configure the network,
3, switch to the root user, use the command su-root, and then type the password, note that at this time the password is not displayed characters (popular point: Do not suspect that the keyboard is broken)
After entering the password and then hitting enter, the user name at the front of the @ has become root, and here I am: Z becomes root
4, using the CD command, switch to the network-scripts directory, that is, cd/etc/sysconfig/network-scripts/, in this directory through the LS command list all the file structure of the current directory
5, we modify the edit ifcfg-eno16777736 this file, through the VI command, that is: VI ifcfg-eno16777736, after the appearance of such an interface, click the "I" key to enter the text editing mode, the lower left corner will become "INSERT"
6, modify some of these properties for the following style, if there is no such attribute, manual input (//the symbol behind for interpretation, do not set in the inside):
Bootproto=static//dhcp modified to static
Onboot=yes//Set boot enable this configuration
ipaddr=192.168.122.201//Set the static IP of this machine, the first 3 fields of this IP are consistent with (open this setting in your computer). The fourth field, I set to start from 201
Subnet IP first 3 fields, your computer may be inconsistent with me, whichever is your own
gateway=192.168.122.2//Set default gateway, and consistent
Click Nat Settings
netmask=255.255.255.0//Subnet mask
dns1=192.168.122.2//Preferred DNS address
dns2=202.102.227.68//Alternate DNS address, this DNS specific setting how much, you can see the link below, depending on your city and the operator settings can be
Http://jingyan.baidu.com/article/fb48e8be5bb51d6e622e14da.html
OK, all set up, press the "ESC" key, and then enter: Wq (note Wq Front there is a colon in English), enter, you can save the exit, then we look at the contents of the saved by the cat command:
Note the contents of the Red box section
7, use the source command, let this configuration file take effect, that is, source ifcfg-eno16777736
8, restart the network, using the command: Service network Restart after the effective, then use the reboot command to restart your Linux system (of course, you directly reboot is also possible. )
9. Come to the Windows system (where is this system?) - -! Is your normal use of the system, not the virtual machine, enter the directory C:\Windows\System32\drivers\etc, we want to modify the Hosts file to set an IP and hostname mapping, right-click the Hosts file, open the way to choose Notepad, There will be something like this: modified to:
#号后的该行内容为注释, and finally remember to save
10. At this time all OK, we can use some software on Windows to manage the Linux system in your virtual machine
* SECURECRT: Remote command line operation tool
* FileZilla: Remote file Manipulation tool
* notepad++: Local or remote text file manipulation tool
: Link: Http://pan.baidu.com/s/1jHVOZiA Password: MZQD
11. Using SECURECRT to operate Linux
* Unzip and open the software, click on "File"--"quick connect", hostname using the mapping host name just set in Windows Hosts file, I here for z01, user is Z,
* In the popup dialog box, select "Accept and save" and enter the user's password as follows:
* OK, this time the page becomes this way, you can use the software directly in the virtual machine to operate the Linux system, you enter a LS to try
* Then we configure the FileZilla Client, open the software, do the following configuration (hostname, user name, password, according to your own, the port number 22 fixed), finally click on the quick link, you can later through the software to the virtual machine system in the file copy transfer, of course, It is also possible to copy files from the system of a virtual machine.
* * Conclusion
Oh, next we learn Linux Foundation.
Personal micro-Blog: http://weibo.com/seal13
QQ Big Data Technology Exchange Group (ADS do not enter): 476966007
Z The best
Links: Https://www.jianshu.com/p/52805d7e5c70
Source: Pinterest
Copyright belongs to the author. Commercial reprint please contact the author for authorization, non-commercial reprint please specify the source.
Linux Network configuration