Home  >  Article  >  Operation and Maintenance  >  Set up and configure a local Linux server through VMware

Set up and configure a local Linux server through VMware

L先生
L先生Original
2020-05-02 15:14:113141browse

The process of setting up a local Linux server deployment project in VMware

1. Prepare the Linux environment in VMware

2. Configure the network connection

3. Installation and management web operation management (Pagoda, Xiaopi, etc.)

4. Access management control panel

5. Deployment project

6. Configure local host

7. Successfully access the configured URL

1. Preparation:

2. Network connection:

In order to communicate with the host host, vmware should set the bridge mode.

Important operations: More settings in vmware's virtual network editor, bridge mode to bridge to the host's WLAN network card (local network adapter view), re- The connection view IP is: 192.168.1.10, and the host’s IP address is 192.168.1.7, and they can ping each other. (If ping fails, open the inbound rules of the host firewall, filter by configuration file, filter by public configuration file, and enable file and printer sharing echo request-ICMpv4-In).

Set up and configure a local Linux server through VMware

3. Installation management (Take the installation of the pagoda as an example):

RunPagodaIn centOs installation command

##yum install -y wget && wget -O install.sh http://download.bt.cn/install/install_6.0.sh && sh install.sh

Set up and configure a local Linux server through VMware Set up and configure a local Linux server through VMwareSet up and configure a local Linux server through VMware

##result:

Bt-Panel:

http://118.77.239.41:8888/87fcf236

username: ofcpslat

password: 4a0db007

Because it is included Network, the IP here is the connected external network IP, so you should visit http://192.168.1.10:8888/87fcf236

## 4. Visit the Pagoda Control Panel

'http://192.168.1.10:8888/87fcf236',

Set up and configure a local Linux server through VMware##5. Deployment Project

Add site: abc.xpv.com (refer to the pagoda manual for specific operations. Ordinary tests can be added to the top directory, while laravel needs to add the running directory to public)

Set up and configure a local Linux server through VMware

6. Configure local host At this time, accessing abc.xpv.com is invalid, or the website of abc.xpv.com already exists.

Solution:

Need to modify the local HOST and point the new URL to the virtual machine ip address for management Open C:\Windows\System32\drivers\etc\hosts and add 192.168.1.10 URL

##7. The computer accesses the URL successfully

Of course, this website is only accessible for testing within the local LAN. The external network cannot be accessed.

Set up and configure a local Linux server through VMware

Summary:

#This method allows you to experience deployment projects without purchasing a cloud server. Some codes are not available under Windows. Problem, there may be errors during deployment.

But there are also inconveniences. You have to start the virtual machine every time you use it (it is recommended to suspend the virtual machine)

The above is the detailed content of Set up and configure a local Linux server through VMware. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn