Summary of Installation RESIN+MYSQL+IIS+JDK

Source: Internet
Author: User

Summary:
Summary of Installation RESIN+MYSQL+IIS+JDK
First, install the JDK:
A), download J2re-1_4_1_02-windows-i586-i.exe, and then install directly.
Two), install the configuration environment variable:
Path:c:\jdk\bin;
Classpath:c:\jdk\lib\tools. JAR; C:\JDK\LIB\DT. JAR;
JAVA_HOME:C:\JDK;
Second, then install resin;
1, download Resin-2.1.9.zip, and then into the ground decompression. The file name is named resin;
2, the configuration environment variable, resin_home:c:\resin;
3, shut down IIS;
4, open the Resin\bin under the Setup.exe; a dialog box appears with a page that looks like this:

Click OK to install resin1.2.
5, and then open the Resin\conf\resin.ini file:
<doc-dir>c:\inetpub\wwwroot</doc-dir> set the path of the program to be placed here.

<!--the HTTP port-->
6, open the Resin\bin under the Httpd.exe.

The


indicates that the resin run successfully. The
can also launch the Resin Web server option after entering the service through the administrative Tools on the Control Panel.
6, open http://127.0.0.1:8080 page can be normal page. Resin installation completed.
Three, installation Mysql+mascon;
Download mysql with Mascon.
then install MySQL, after installation, you need to hit the installation directory under DOS
c:/> e:
E:/>CD mysql/bin;
E/mysql/bin/:> Mysqld-nt–install; The
is OK. Then, in the service of the management tool, you can find the service, start on it,
then install Mascon and install it directly. The
then logs on with the system default username and password. Username: root password: null.
Connect with Mascon.
Four, installs the Mysql-connector-java-3.0.8-stable.zip, carries on the decompression. The
Servlet.jar the tomcat\common\lib under the JDK. The path to the environment variable Classpath
is then added as follows: C:\JDK\SERVLET. JAR; The
then opens the Mysql-connector-java-3.0.8-stable directory, opens the Mysql-connector-java-3.0.8-stable directory, and then discovers that there are two folders com and org. Each of these two directories to the location of the program you set up, open, find the Web_inf folder under the classes (if not a new one), the COM and org folder test to the classes directory. Later your Java library classes, respectively, are placed in the classes directory.

Question one:
If you want to have several different sites on the server, you can modify the directory below the Conf
Resin.ini file, as shown in the following illustration:
<doc-dir>c:\inetpub\wwwroot\hww.com</doc-dir> I built a hww.com site in the hww.com directory.
<doc-dir>c:\inetpub\wwwroot\hww.net</doc-dir> I built a hww.net site in the Hww.net directory.

<doc-dir>c:\inetpub\wwwroot\web11</doc-dir> ditto.

Another problem is that so many sites may be on the same server as many of the programs that are written by ASP.
So there may be a problem of robbing the port. I have also found a lot of posts for this problem, and now I have solved the problem. Do not know if you can use, only for reference:
Open your resin \conf\resin.ini,
<doc-dir>c:\inetpub\wwwroot\web11</doc-dir> point to the default site of the IIS site, so that you can hit the URL address directly in the browser, instead of hitting port 8080.

For Mascon, we can not pretend. I'm just installing it for easy MySQL operation.



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.