Background:
Installing a Linux virtual machine as a server with VMware
Installation steps:
1. Download and install VMware
2. Download the Linux image file (32-bit, 64-bit distinction)
3, the new virtual machine, the default installation can be. After the virtual machine is newly created, the operating system will be installed automatically, waiting for installation .....
4, install VMware Tools, the purpose is to share the host, full-screen display of virtual machines and other functions. Here's the CD/DVD
To select the Linux.iso file (under the VMware installation directory)
5. Open the DVD in the virtual machine to see vmwaretools-10.0.5-3328253.tar.gz, copy the package to a different location, and unzip it.
6, install Vmware-tools. Ctrl+alt+t Open the command line, first enter Su and enter the password to switch to root, and then enter the command to find the package just unpacked
vmware-install.pl, enter the ./vmware-install.pl to perform the installation, as long as no errors occur during the installation, press ENTER until you see
"Enjoy", that means the installation is successful!
7, connect the network. If you find that the virtual machine cannot be connected to the network, you need to check if VMware DHCP service, VMware NAT Services Two is turned on.
Right-click computer → manage → services to see if the service is started
To connect a Linux virtual machine remotely:
1, installation Xshell
2. Enter ifconfig on the Linux virtual Machine command line to find the IP address, and ping the address in the host to see if the communication between them is normal.
3, the host in the Telnet 22 port is normal, is generally not good, because Ubuntu default is not installed OpenSSH server,
So to telnet to an Ubuntu host using SSH, you first need to install an SSH server.
4, Input: PS-E | grep SSH If the service has been started, you can see "sshd", otherwise it means no installation service, or no boot
5. Install SSH service, enter command: sudo apt-get install Openssh-server
6. Start Service:/ETC/INIT.D/SSH start
7, remote connection with remote tool Xshell, if denied access, then shut down the firewall or allow 22 port.
8. Attach a successful map!!!
Linux virtual machine installation and remote connection steps