VMware Workstation+linux+xshell+xftp+mysql+sqlyog Configuration

Source: Internet
Author: User

These days are doing these things to do projects, configuration more complex, here note the installation process points.

1. VMware Workstation

The main problem is the internet of NAT, which is detailed below, from the network.

NAT configuration There is a gateway where the address of the gateway in the virtual machine needs to be consistent. DHCP configuration There is a network segment, if statically assigned address, then statically set the virtual machine in the IP of the system should be outside the interval. Several network cards, vmnet0-bridging, vmnet1-host Only,vmnet8-nat (shown in "Change Adapter Configuration" on Windows)

What we need to configure here is Vmnet8.

Note 1: Set the network segment here. Set up a network segment based on your favorite situation. If you change the network segment here, then you need to shut down the virtual machine, re-open the network will be normal.

Illustration 2: Here is the location of the NAT setting, where the gateway is important because the gateway is assigned to this address when the IP address is set in the virtual machine. You can also use this gateway as a DNS for built-in virtual machines

Note 3: The third place is set up by this switch to provide a DHCP server, and then the client obtains the IP address range

Speaking of this, in fact, for workstation in the vmnet*, is a switch, but this switch configuration is relatively simple, do not provide too much functionality.

According to the above configuration, the personal advice is to put the virtual machine, and then re-boot, or the network may not be able to pass. In addition, if you change the network segment and host wants to communicate with the virtual machine, you will need to change the IP address of the virtual NIC Vmnet8 in host as well.

Linux Static IP settings:

(1) Modify file: $ vi/etc/sysconfig/network-scripts/ifcfg-eth0 (Another way to modify the gateway, $ vi/etc/sysconfig/network)

# advanced Micro Devices [AMD] 79c970 [PCnet32 LANCE]

Device=eth0

Bootproto=static[H1]

#DHCPCLASS =

hwaddr=00:0c:29:af:8e:7b

ipaddr=192.168.45.254[H2]

netmask=255.255.255.0[H3]

gateway=192.168.45.2[H4]

Onboot=yes

Above [H1] those don't write.

[H1] means the static acquisition of IP

[H2] Fill in the available IP address, the first figure in the countdown to start and end of the address

[H3] Based on the subnet mask setting in the third-to-last figure

[H4] According to the gateway in the second-to-last diagram

After filling, restart. (or $/etc/init.d/networking restart, may networking not find, can not find the restart it)

2, Xshell, this direct connection, the server address is filled in the virtual machine eth0 IP.

3, Xftp, this nothing to say, in Xshell installed after the. The files can be copied directly from the computer and the target machine. and Xshell cooperation, is a Korean company's products.

4, MySQL this to install a bit.

5, SQLyog

This is to visualize MySQL, but the connection may not be connected, one possible reason is that the server's firewall is not shut down.

View firewall has no off: service iptables status

Close: $ service iptables stop (seemingly or/etc/init.d/iptalbes stop) to open, and finally change to start

Boot not start: $ chkconfig iptables off, on: on

VMware Workstation+linux+xshell+xftp+mysql+sqlyog Configuration

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.