First, new peanut Shell 1.0
On the Peanut Shell official website (http://www.oray.com) Download "New Peanut Shell 1.0" installation software, software installation completed, need to register, after the successful registration of Peanut Shell website will assign us a domain name, the style is probably: xxx.gicp.net.
1. After installation and landing will show 1:
Figure 1
2. Right-click for domain name diagnostics after 2
Figure 2
3. Right click on the domain name in Figure 1--click "New Peanut Shell Management" appears 3
4. Click "Add Map"--click "Current Host" (the fastest configuration can be customized)
Show Figure 4 Click on "Open extranet HTTP80 port" in Figure 4
Figure 4
5. Click "OK" in Figure 4 to display Figure 5, right-click on the image of the Chinese-Foreign network address replication to get access to the address
Second, tomcat6.0 configuration
After confirming that jdk,tomcat6.0 is installed on the server and configuring the environment, you are ready to configure the server, first add the project to the Tomcat WebApp directory, and modify the Server.xml file (red is the modified content in 3 steps below)
1. Modify the port number to 80
<port= "protocol"= "http/1.1" connectiontimeout = "20000" redirectport= "8443"/>
2. Change the HOST name to your dynamic domain name, as below,
<name= "Healthmanage.gicp.net" appBase= "WebApps" Unpackwars = "true" Autodeploy = "true" xmlvalidation= "false"xmlnamespaceaware= "false" (These two lines in my original file did not, I see the tutorial has added)>
3. Change the value of engine defaulthost to your dynamic domain name as follows:
< enginename = "Catalina" Defaulthost = "Healthmanage.gicp.net" >
Note: After modifying the Server.xml file, the direct save is OK, do not need to restart Tomcat, otherwise you will not be able to access
After 3 steps, tomcat6.0 configuration complete enter "http://xxx.gicp.net/project name" on the browser.
New Peanut Shell +tomcat released Javaweb project "pro-Test effective"