Installing Apache Tomcat on OpenSUSE 11.0

:: What is
Please take a look at this.

:: Installing Apache Tomcat
[ root: ~]# zypper in tomcat6 tomcat6-webapps  tomcat6-admin-webapps java-1_5_0-sun java-1_5_0-sun-devel

:: Configure Tomcat Manager & User Login
[root: ~ ]# vi /etc/tomcat6/tomcat6.conf
~~~~[ uncomment on this line: ]~~~~
# Connector port is 8080 for this tomcat6 instance
CONNECTOR_PORT="8080"
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[root: ~]# vi /etc/tomcat6/tomcat-users.xml
~~~~[ uncomment/configure on this line: ]~~~~~
<tomcat-users>
<role rolename="tomcat"/>
<role rolename="role1"/>
<user username="admin" password="yourpasswor" roles="admin,manager"/>
<user username="both" password="tomcat" roles="tomcat,role1"/>
<user username="role1" password="tomcat" roles="role1"/>
</tomcat-users>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

:: Starting Tomcat Service
[root: ~ ]# /etc/init.d/tomcat6 start

:: Testing

Open your web browser and go to url http://yourdomain.tld:8080/ or http://yourdomain.tld:8080/manager/ for login Tomcat Manager.


:: Links
http://google.com/linux
http://tomcat.apache.org

0 komentar:

Post a Comment

:: Cheap Web Hosting :: ~ only from Rp. 900/mo; 250Mb/mo of Bandwidth ~ :: Web Hosting Murah Meriah :: ~ mulai dari Rp. 900/bln; Bandwidth 250Mb/bln ~