A newbie installation day, community full record

zhaozj2021-02-16  51

First of all, statement: This article is given to the rookies who are the same as I, don't look at the people who are familiar with JSP, so as long as you want to waste your time. In addition, the software environment I use is as follows, and it is not used by different. Win2000 Servers Apache J2SDK RESINEE MYSQL is applied on the LAN, the server's LAN is 192.168.3.1 probably one month ago, a big sister found me, letting me help her use the Bureau to build a website community. My big sister is an old neva. The favorite is online chat, paying a lot of good friends, but the technology has not long. She let me install using Tian B community because the interface of Tian B community and a community of our previous favorite. That community is a friend of our friends. Like Loaer, this community's code is a friend. He is a professional programmer. From now on, his community is comparable to There are many mature days. It is a pity that this friend is just a technical expert, which will not be commercially promoted. Such a good procedure is just online applications, so soon, he went out and turned off the community, because the community only he was able to maintain it. After the community is closed, many netizens are very lost, especially my big sister, in order to continue with netizens, she wants to set up a community, so that some intimate friends will communicate. Using the community that I am used to friends, then look at the popular forums such as moving network, etc., the interface is one thousand articles, one page is similar to the table, only NetEase is still comfortable. However, the netizens of our friend community have said that compared with the Netease community, or our community is more comfortable. But I like it, I have to pay for it, and I have found it everywhere, I finally found basic and Netease Tianyi community. So, the installation task is given to me, I think it is very simple, because I have installed the website and forum, such as moving network, driving, etc., these programs have been very detailed, according to step operation, basically did not encounter trouble. However, I feel different from the instructions of the Tian B community V5.x. I feel different. I am not familiar with the JSP, Apache, Resin or even mysql used in this community. I am not engaged in computer industries. It is just a computer enthusiast, and the advantage is with hardware and Network maintenance, if there is a fault of computers and networks, I can quickly find problems. On programming, just understand some simple databases and programming knowledge. According to the DOC documentation of Tian Yi, I started the Internet to inquire about what JDK, RESIN, MySQL installation, to say that the current information is indeed developed, so I found a dozens of materials. Since the work is very busy, I can only use the broken block time according to the downloaded material configuration, but the busy live a few times will fail. Now, the reason is that the download material is either, either, the software either inside the example The version is low, and the current high release is available. Due to the busy work, the installation task has to be temporarily put on hold. A few days ago, the work finally loosened, so continued to study the installation of the community, unintentional a good article "Graphic JSP Environment Installation Configuration" is CHM format, the author is Arbiter, according to this article, less than one In the hour, the problem basically solved it. It is recommended that those who want to install Tian B community under Win2000 Apache J2SDK Resinee Mysql must refer to this article. Everyone can search with the search engine, everywhere.

Here I provide a web page: http://www.linkmeng.com/art/disparticle.asp? Id = 57 I downloaded the software as follows: Win2000 Servers apache2.0.49 J2SDK-1_4_2_05-windows-i586-p.exe resinee3 .07 mysql-4.0.18 and mysql-front2.5 (mysql manager) installation process: The first three steps are not detailed, please configure it according to the "Graphical JSP Environment Installation Configuration" configuration. Because the Apache server is used, please turn off the IIS service. 1. Installation Configuration JDK: JDK is J2SE, JDK1.1.8 version is changed to J2SE, which is a tool that runs JSP / Java must not do. 2, install the configuration Apache HTTP server: an HTTP server, very famous, itself cannot perform a dynamic page, you can run PHP, JSP, and even ASP after performing the relevant configuration. 3, install the configuration RESIN: the fastest JSP, servlet server, open source, basically no Chinese problem (Tomcat often occurs in the case of garbled), support J2EE (Tomcat requires a third-party plugin to support J2EE), it is said 3 times faster than Tomcat (there are test reports on its homepage), support Apache and IIS plugins. The relatively cleared in rest resin, but so often switch the server, every time you start RESIN, you can register the resin as a Windows service, let it boot automatically, the method: Enter the DOS window, enter / resin / bin In the directory, enter httpd -install Enter. Note: A. When configuring the Apache, there is a interface map prompt to enter two 127.0.0.1, so that you can use it, you don't have to enter what this unit's IP address, such as 192.168.3.1, etc. It does not affect access to other machine inputs 192.168.3.1, because this access IP address is configured in bbscs.xml under the BBSCS of Tian B community. B, in addition, Dreamweaver is also required to open the resin / conf / resin.conf file, and the contents after the notepad is opened. C, there is a paragraph in the article "Open the resin / conf / resin.conf file with Dreamweaver to find the following: DOC

Modify to: D: / Apache2 / HTDOCS / "

The contents of the file in the RESIN3.07 have become DOC , but still changed to D: / apache2 / htdocs

----------------------------------- is still this file, there is a section below "Find below: < HTTP port = '8080' /> modified to: , because the 8080 port has been occupied by Apache, if not modified here, Apache and RESIN will have a conflict and make the other unable to start. "RESIN3 This line is directly turned directly into , so it is not necessary to change. 4, install MySQL. MySQL is a multi-threaded, structured query language (SQL) database server. I downloaded mysql-4.0.18-win.zip. I have also used version 4.0.20, but a little problem is that the server service is not started. Download decompression, click Setup for installation, the installation process is simple, you can click "Next". But pay attention to the installation path, the default is C: / MySQL, if you want to change it during installation. How to implement the "MYSQL" DOC Document Description After installation "Take MySQL Environment, confirm that the mysql environment has been established, MySQL Manager can use mysql-front software, newly construct a database in MSYQL, such as BBSCS5, established Use bbscs5.sql to pour the table structure into the table structure. "A paragraph, let me have a long time, download and install mysql-front 2.5, how can I connect to the database (see here, there may be people to laugh , No way), total display: Error 2003: can't connect to mysql server on 'localhost' <10061>. Later, I found the answer before I was connected. Before connecting, I would like to start the MySQL server. I know two, the most convenient is to enter the / mysql / bin directory, run Winmysqladmin.exe, running will be on the lower right corner after running A small picture like a traffic light appears, and it will start automatically. (This file starts in mysql-4.0.20 will not find the XX file, can not run normally, so I don't use the 4.20 version) to start mysql-front2.5, then connect, how? Ha ha. The second method is to enter the DOS interface, enter the mysql / bin directory, and enter the command mysqld-max -standalone can also start. That how to import BBSCS5.SQL, open mysql-front 2.5 and connect, create new databases, such as named BBSCS5, then click "Query", then click the folder icon, then select your bbscs5.sql file, Then point the triangle run icon and then OK. 5, configure BBS-CS. At this time, you can configure it according to "BBS-CS.DOC". This is not said in the source code of the community program source code. If you want other machines to enter your machine IP access, just open / resin /Webapps/bbscs5/web-inf/classess/com/laoer/bbscs/sysinfo/bbscs.xml file, found http: // localhost: 8080

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

New Post(0)