1. Preparation
Search "Install Apache+PHP+MySQL under Win7" on Baidu and install the WAMP environment by yourself according to the tutorials found.
If you type http://127.0.0.1/ on the web page and the following page appears, it means that your server has been built. The next step is the key, how to penetrate the peanut shell internal network to allow users from the external network to access your website .
2. Peanut shell installation and login
Go to http://hsk.oray.com/download/ download the Peanut Shell 8 client and follow the prompts to install it.
①Enter the registered Berui account to log in
②If you forget the account password, you can click <Forgot Password> Reset password for the account
③If you have not registered an account, click <Register Account> Jump to the account registration page, and then register again Log in
3. Set up intranet mapping
Open the Peanut Shell client and click the <+> button in the [Intranet Penetration] interface .
(Peanut Shell 8 provides free intranet penetration service. If your account has not opened the intranet penetration service, you can activate it directly when you log in to the Peanut Shell 8 client for the first time.)
Confirm that the mapping content is filled in correctly and click <OK> That's it.
After adding the mapping, an external network access address will be generated, as follows:
To test access to the external network, directly enter the external network access address of Peanut Shell in the browser, as follows:
If the same interface as the one accessed by http://127.0.0.1 appears, it means that the mapping has taken effect.