Summary of installing RESIN + MYSQL + IIS + JDK (transfer)

xiaoxiao2021-03-05  24

From: China 163 new trunk line

Summary: Summary of RESIN MYSQL IIS JDK, first install JDK: 1), download J2RE-1_4_1_02-Windows-i586-I.exe, and then install it. 2), install the environment variable: path: c: / jdk / bin; ClassPath: c: /jdk/lib/tools.jar; c: /jdk/lib/dt.jar; java_home: C: / JDK; , Then install resin; 1, download resin-2.1.9.zip, then unzip it. The file name is named resin; 2. Configure environment variables, resin_home: c: / resin; 3, turn off IIS; 4, open the setup.exe under Resin / BIN; a dialog box will appear as shown below:

Click OK to install resin1.2. 5, then open the resin / conf / resin.ini file: c: / inetpub / wwwroot Set the path to the program.

Set the port; 6, open httpd.exe under resin / bin.

This means that RESIN is successful. You can also start the RESIN Web Server option after entering the management tool by controlling the service on the control panel. 6. Open http://127.0.0.1:8080 pages, you can get the page. RESIN is installed. Third, install mysql maascon; download mysql and maascon. Then install MySQL, after installing, you need to hit the installation directory below DOS C: /> E: E: /> CD mysql / bin; E / mysql / bin /: > MySQLD-NT -INSTALL; Then you can find the service in the service of the management tool, you can start; then install Mascon, install it directly. Then log in with the password with the password with the system default username. Username: root; password: is empty. Connect with Mascon. Fourth, install mysql-connector-java-3.0.8-stable.zip, decompress. Take Servlet.jar under Tomcat / Common / LIB and put it under JDK. Then add the path to the environment variable ClassPath as follows: c: /jdk/servlet.jar; then open the mysql-connector-java-3.0.8-stable directory, open the mysql-connector-java-3.0.8-stable directory , Then find two folder COM with ORG. Take the two directory to the location where you set the program, open it, find the Classes below the web_inf folder (if you create a new one), put the COM with the org's folder to the class of the CLASSES directory. After your Java library class, you will be placed in the CLASSES directory.

Question 1: If you want to install multiple different sites on the server, you can modify the resin.ini file below the confed directory, as shown below: c: /inetpub/wwwroot/hww.com I have built a hww.com site under the catalog of hww.com. c: /inetpub/wwwroot/hww.net I have built a hww.net site in the HWW.NET directory. C: / INETPUB / WWROOT / Web11 is the same.

There is also a problem that so many sites may be placed on the same server with many of the sites written by many ASP. Therefore, it may generate a problem with the port. For this question, I also found a lot of posts, now I have solved this problem. I don't know if you can use it, just refer to: Open your resin /conf/resin.ini, c: / inetpub / wwwroot / web11 points to the default site of the IIS site, This allows you to play the URL address directly without playing 8080 ports.

For Mascon, everyone can not be installed. I just installed my mysql convenience.

Summary: Summary of RESIN MYSQL IIS JDK, first install JDK: 1), download J2RE-1_4_1_02-Windows-i586-I.exe, and then install it. 2), install the environment variable: path: c: / jdk / bin; ClassPath: c: /jdk/lib/tools.jar; c: /jdk/lib/dt.jar; java_home: C: / JDK; , Then install resin; 1, download resin-2.1.9.zip, then unzip it. The file name is named resin; 2. Configure environment variables, resin_home: c: / resin; 3, turn off IIS; 4, open the setup.exe under Resin / BIN; a dialog box will appear as shown below:

Click OK to install resin1.2. 5, then open the resin / conf / resin.ini file: c: / inetpub / wwwroot Set the path to the program.

Set the port; 6, open httpd.exe under resin / bin.

This means that RESIN is successful. You can also start the RESIN Web Server option after entering the management tool by controlling the service on the control panel. 6. Open http://127.0.0.1:8080 pages, you can get the page. RESIN is installed. Third, install mysql maascon; download mysql and maascon. Then install MySQL, after installing, you need to hit the installation directory below DOS C: /> E: E: /> CD mysql / bin; E / mysql / bin /: > MySQLD-NT -INSTALL; Then you can find the service in the service of the management tool, you can start; then install Mascon, install it directly. Then log in with the password with the password with the system default username. Username: root; password: is empty. Connect with Mascon. Fourth, install mysql-connector-java-3.0.8-stable.zip, decompress. Take Servlet.jar under Tomcat / Common / LIB and put it under JDK. Then add the path to the environment variable ClassPath as follows: c: /jdk/servlet.jar; then open the mysql-connector-java-3.0.8-stable directory, open the mysql-connector-java-3.0.8-stable directory , Then find two folder COM with ORG. Take the two directory to the location where you set the program, open it, find the Classes below the web_inf folder (if you create a new one), put the COM with the org's folder to the class of the CLASSES directory. In the future, your Java library class is placed in a class directory. Question 1: If you want to install multiple different sites on the server, you can modify the Resin.ini file below the confed directory, as shown below: c: /inetpub/wwroot/hww.com I have built a hww.com site under the HWW.COM directory. c: /inetpub/wwwroot/hww.net I have built a hww.net site in the HWW.NET directory.

C: / INETPUB / WWROOT / Web11 is the same.

There is also a problem that so many sites may be placed on the same server with many of the sites written by many ASP. Therefore, it may generate a problem with the port. For this question, I also found a lot of posts, now I have solved this problem. I don't know if you can use it, just refer to: Open your resin /conf/resin.ini, c: / inetpub / wwwroot / web11 points to the default site of the IIS site, This allows you to play the URL address directly without playing 8080 ports.

For Mascon, everyone can not be installed. I just installed my mysql convenience.

转载请注明原文地址:https://www.9cbs.com/read-38150.html

New Post(0)