In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-05 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article is about how to install Apache+ApacheJServ+JSP on Linux. The editor thinks it is very practical, so share it with you as a reference and follow the editor to have a look.
I. copyright notice
This document will be published in accordance with GPL.
II. Software acquisition
As the saying goes, if you want to do a good job, you must first sharpen its tools; the relevant resources obtained by the software mentioned in this article are listed below; at the same time, the order of the software will be arranged in the order of installation.
I. Apache Web Server
O http://www.apache.org/
O http://www.redhat.com/
O http://cle.linux.org.tw/
II. JDK
O http://java.sun.com/
III. JSDK
O http://java.sun.com/
IV. Java Apache
O http://java.apache.org/
V. GUN JSP
O http://www.gnu.org/
O http://java.apache.org/
III. Software installation
i. Install Apache Web Server
a. Use RPM
If you are using the RPM suite, after you have obtained the Apache Web Server suite, you only need to enter the following command to complete the installation:
[root@localhost root] # rpm-ivh apache-1.3.xx.i386.rpm (xx stands for Apache Web Server version)
b. Use SOURCE
If you are using Apache Web Server's Source, you must compile and install Source:
[root@localhost root] # tar zxvf apache_1.3.xx.tar.gz (xx stands for Apache Web Server version)
[root@localhost root] # cd apache_1.3.xx
[root@localhost apache_1.3.xx] #. / congifure
>-- prefix=/usr/local/apache/ (set the directory you want to install)
>-- enable-module=all
>-- enable-rule=SHARE_CORE
[root@localhost apache_1.3.xx] # make clean; make; make install
After completing the above steps, you have basically completed the installation of Apache Web Server.
ii. Install JDK
You can get the latest version of Sun JDK (Java Development Kits) from the above location. Please follow the following steps to complete the JDK:
[root@localhost root] # tar zxvf jdk1_2_2rc2-linux-i386.tar.gz
[root@localhost root] # mv jdk1.2.2 / usr/local/jdk122
After completing the above steps, you also need to set up the environment:
[root@localhost root] # vi .bash _ profile
...
...
JAVA_HOME=/usr/local/jdk122
PATH=$PATH:$JAVA_HOME/bin
CLASSPATH=/usr/local/jdk122/lib/tools.jar:.
Export JAVA_HOME
Export PATH CLASSPATH
★ Please note: if you are using JDK version 1.1.x, your CLASSPATH must be set as follows:
CLASSPATH=/path/to/your/jdk/lib/classes.zip:.
iii. Install JSDK
★ please note: if you are using the Java Apache RPM version, please skip this section.
You must obtain and install JSDK (Java Servlet Development Kits) before you can make Java Apache work. But in fact, all we need is a small portion of the JSDK (a file called jsdk.jar or servlet.jar); now all you have to do is get the file and set it to your CLASSPATH:
CLASSPATH=/path/to/jsdk/lib/jsdk.jar:$CLASSPATH
Export CLASSPATH
iv. Install Java Apache
. Use RPM
If you are using the RPM suite, after you have obtained the Java Apache suite, you only need to enter the following command to complete the installation:
[root@localhost root] # rpm-ivh ApacheJServ-1.1-b2.i386.rpm
a. Use SOURCE
If you are using Java Apache's Source http://www.bbqmw.net/qm_bbqmbd/, you must compile and install Source:
[root@localhost root] # tar zxvf ApacheJServ-1.1.tar.gz
[root@localhost root] # cd ApacheJserv-1.1
[root@localhost ApacheJserv-1.1] #. / congifure
Thank you for reading! This is the end of the article on "how to install Apache+ApacheJServ+JSP on Linux". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, you can share it for more people to see!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.