Summary of installing resin + mysql + IIS + JDK

Source: Internet
Author: User

Summary:
Summary of installing resin + mysql + IIS + JDK
1. Install JDK first:
One worker downloads j2re-1_4_1_02-windows-i586-i.exe, and then installs it directly.
2) environment variables after installation:
PATH: C: \ JDK \ BIN;
CLASSPATH: C: \ JDK \ LIB \ TOOLS. JAR; C: \ JDK \ LIB \ DT. JAR;
JAVA_HOME: C: \ JDK;
2. Install resin;
1. Download resin-2.1.9.zip and decompress it. The file name is named resin;
2. Configure the environment variable, RESIN_HOME: C: \ RESIN;
3. Disable IIS;
4. Open setup.exe under resin \ bin. a dialog box is displayed, as shown in:
 

Click OK to install resin1.2.
5. Open the resin \ conf \ resin. ini file:
<Doc-dir> c: \ inetpub \ wwwroot </doc-dir> set the path of the program.

<! -- The http port -->
<Http port = '000000'/> set the port here;
6. Open httpd.exe under resin \ bin.

 
This indicates that resin runs successfully.
You can also use the management tool on the Control Panel to enter the service and start the resin web server option.
6. Open the http: // 127.0.0.1: 8080 page to go to the normal page. Resin installation is complete.
3. Install mysql + Mascon;
Download mysql and Mascon.
Then install MYSQL. After installation, enter the installation directory under DOS.
C:/> e:
E:/> cd mysql/bin;
E/mysql/bin/:> mysqld-nt-install;
You can. Then you can find the service in the service of the management tool and start it;
Install Mascon directly.
Then, log on with the default user name and password. Username: root; Password: null.
Connect to Mascon.
Install mysql-connector-java-3.0.8-stable.zip and decompress the package.
Test servlet. jar under tomcat \ common \ lib and put it under JDK. Then, set the environment variable CLASSPATH.
C: \ JDK \ SERVLET. JAR;
Open the mysql-connector-java-3.0.8-stable directory, open the mysql-connector-java-3.0.8-stable directory, and then find two folders com and org. Test the two directories to the place of the program you set. After opening the directory, find the classes under the WEB_INF folder (if not, create a new one ), test the com and org folders under the classes directory. In the future, your JAVA library classes will be placed under the classes directory.

Question 1:
If you want to install multiple sites on the server, you can modify
Shows the resin. ini file:
<Doc-dir> c: \ inetpub \ wwwroot \ hww.com </doc-dir> I created an hww.com site under the hww.com directory.
<Doc-dir> c: \ inetpub \ wwwroot \ hww.net </doc-dir> I created an hww.net site under the hww.net directory.

<Doc-dir> c: \ inetpub \ wwwroot \ web11 </doc-dir> is the same as above.

Another problem is that so many sites may be on the same server as the sites of many ASP programs.
Therefore, it may cause a problem of port snatching. I have also found many posts about this problem. Now I have solved this problem. I don't know if you can use it for reference only:
Open your resin \ conf \ resin. ini,
<Doc-dir> c: \ inetpub \ wwwroot \ web11 </doc-dir> points to the default site of the IIS Site. In this way, you can directly enter the URL address in the browser, you do not need to enter port 8080.

You do not need to install Mascon. I just installed MYSQL for ease of operation

 

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.