Debian ustunde Tomcat Nasil Kurulur ?

TOMCAT KURULUMU

 apt-get install openjdk-6-jdk

apt-get install sun-java6-jdk

apt-get install tomcat6 tomcat6-admin tomcat6-docs tomcat6-examples

kurulumlar bittikten sonra vim /etc/tomcat6/tomcat-users.xml dosyasina girilip <tomcat-users></tomcat-users> taglari arasina asagidaki parametreler eklenir. Bu parametreler “Tomcat Web Application Manager” giris bilgileridir.

<role rolename=”manager”/>

<user username=”murat” password=”murat123″ roles=”manager”/>

/etc/init.d/tomcat6 restart ile yeniden baslatilir.

Not: Tomcat ‘in calisip calismadigini asagidaki komutlarla kontrol edebilirsiniz.

netstat -an | grep 8080

ps -aux | grep tomcat


Your email address will not be published. Required fields are marked *