In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-09-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly introduces how to install JDK1.6 in SUSE Linux Enterprise. It is very detailed and has a certain reference value. Friends who are interested must finish it!
1.JDK download:
Http://java.sun.com
Download the self-extracting package: jdk-6u3-linux-i586-rpm.bin
Grant permissions: chmod 755 jdk-6u3-linux-i586-rpm.bin
. / jdk-6u3-linux-i586-rpm.bin decompress and install
two。 Set the environment variable:
Vi / etc/profile
Insert:
JAVA_HOME=/usr/java/jdk1.6.0_03 (installed in this directory by default)
JRE_HOME=/usr/java/jdk1.6.0_03/jre
PATH=$PATH:$JAVA_HOME/bin:JRE_HOME/bin
CLASSPATH=.:$JAVA_HOME/lib/jt.jar:$JAVA_HOME/lib/tools.jar:$JRE_HOME/lib
Export JAVA_HOME JRE_HOME PATH CLASSPATH
Press Esc, and then: wq to save exit.
3. To make the environment variable effective:
# source / etc/profile
View: # echo $JAVA_HOME (the directory where JDK is displayed)
# java-version (view JDK version information)
4.tomcat5.5 download:
Http://tomcat.apache.org
Cp jakarta-tomcat.tar.gz / usr/local/tomcat / / copy to this directory
Tar-zxvf apache-tomcat-6.0.10.tar.gz or tar xvzf apache-tomcat-6.0.10.tar.gz// decompression
Cd / usr/local/tomcat/bin
Run tomcat:
. / catalina.sh start
Stop tomcat:
. / shutdown.sh stop or. / catalina.sh stop
# lynx http://localhost:8080
See something about jsp/servlet and run its example program to prove that tomcat is installed successfully.
5. Modify the tomcat8080 port number:
Vi / usr/local/tomcat/conf/server.xml
Found 8080
Then change it to 80.
After Esc: wq saves and exits
6.pureftp installation settings:
CD comes with pureftp installation package, installation.
Terminal: yast2-- > Software Management-- > Productivity-- > Network-- > ftp-- > Server
Yast2-- > Network Services-- > puty-ftpd-- > Open
Yast2-- > firewall-- > advanced-- > Tcp-- > 20 21
Yast2-- > system-- > Service-- > ftpd-- > start
Create a new ftp user account, create a new directory under the home directory and right-click the property permissions to set to the ftp group
7.putty configuration:
Vi / etc/ssh/sshd_config
PasswordAuthentication no
Change it to
PasswordAuthentication yes
Remote ssh can only log in
Otherwise, Access denied is displayed
The above is all the contents of the article "how to install JDK1.6 in SUSE Linux Enterprise". Thank you for reading! Hope to share the content to help you, more related knowledge, welcome to follow the industry information channel!
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.
The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.