virtual machine installation and virtual hosting shared filesThe main purpose of this experiment is to introduce how to install the virtual machine, to help the virtual machine and host Configure the same network segment IP, implementing host and Virtual machine file interconnection and file sharing the following is a detailed description:Open VMware file Installation Pending installation650) this.width=650
Use the web hosting site (jsp + mysql + tomcat) and mysqltomcat
1. Sign up for the orange Internet account: http://www.cndns.com/
2. Select an orange cloud Host:
3. Select the desired host type.
3. You can communicate with customer service at any time. Log on to the management center after the purchase is complete.
4. Click host management on the left -- orange cloud host
You can see the orange cloud ho
. How one or more
Configuration method:
Add another
Attention:
1. The name attribute of the
2. The port property of the
3. The Defaulthost property of the
4. This section I did not test success, is trying to ...
Third, IP address-based virtual host
1. HTTP 1.0 does not support the host field, when the site unified use of port 80, people can only use a different IP address to establish a virtual host
Disadvantage: Each virtual host consumes a ip,ip consume serious
2. HTTP 1.1 can establ
Modify the conf/server. xml file
Easy Configuration
Step 1: Open the shared Thread Pool
Name = "Catalina">
Name = "tomcatthreadpool" nameprefix = "Catalina-Exec -"
Maxthreads = "1000" minsparethreads = "50" maxidletime = "600000"/>
Name = "tomcatthreadpool" nameprefix = "Catalina-Exec-" maxthreads = "1000" minsparethreads = "50" maxidletime = "600000"/>Comments before and after the default value NameThe name used to reference this pool in ot
and cannot be loaded by other Tomcat instances, so there is no high-availability feature. Persistentmanager The persistent Session Manager principle isthat Tomcat can persist session information in a defined file or database, but this session management is still only able to load the session information of its own instance, Instead of being able to load session information from other instances, the
access records (added here, Tomcat turns off the access log by default, needs to be turned on, and then customizes the log format.) But the session remains the same.650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/4C/DB/wKioL1RGZcCTUVAqAAU_FvVswHg499.jpg "title=" Acce.png "alt=" Wkiol1rgzcctuvaqaau_fvvswhg499.jpg "/>Since the session defaults to the presence of Tomcat in the JVM, we verify that m
installed memcached servers. The default memcached port number is 11211 */
Failovernodes = "N2"
Requesturiignorepattern = ". * \. (ICO | PNG | GIF | JPG | CSS | JS) $"
Transcoderfactoryclass = "De. javakaffee. Web. MSM. serializer. kryo. kryotranscoderfactory"
/>
L production server No. 1:
Memcachednodes = "N1: 10.10.19.6: 11211, N2: 19.7: 11211"
/* The IP addresses of the two previously installed memcached servers. The default memcached port number is 11211 */
Failovernodes = "N1"
Requestur
Open the tomcat7 \ conf \ Catalina. properties file.Open Tomcat 5 again. After reading it, you will know.Tomcat 5.5.35
## List of comma-separated paths defining the contents of the "shared" # classloader. Prefixes should be used to define what is the repository type.# Path may be relative to the CATALINA_BASE path or absolute. If left as blank,# the "common" loader will be used as Catalina‘s "
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.