Warning: Undefined array key "enable_lazyload_videos" in /var/www/murat.ws/public_html/wp-content/plugins/reco-functions/reco-functions.php on line 129
Tomcat ‘i 80. porttan calistirmak – Murat Uğur Eminoğlu
Warning: Undefined array key "custom_scripts" in /var/www/murat.ws/public_html/wp-content/plugins/reco-functions/custom-styles.php on line 48

Press enter to see results or esc to cancel.

Tomcat ‘i 80. porttan calistirmak

Merhaba, arada apache olmadan direk olarak tomcat ‘i 80. port uzerinden authbind araciligiyla calistirabilirsiniz.

Bunun icin yapmaniz gerekenler;

apt-get install authbind

vi /etc/default/tomcat7

#AUTHBIND=no

ile degistirilir.

AUTHBIND=yes

sudo touch /etc/authbind/byport/80
sudo chmod 500 /etc/authbind/byport/80
sudo chown tomcat7 /etc/authbind/byport/80

ve son olarak tomcat yeniden baslatilir. Artik 80. port uzerinden kullanabilirsiniz.

/etc/init.d/tomcat7 restart

EDIT : server.xml dosyasinda asagidaki gibi bir degisiklik yapilmali.

    <Connector port=”8080″ protocol=”HTTP/1.1″
connectionTimeout=”20000″
URIEncoding=”UTF-8″
redirectPort=”8443″ />

olan kisim

    <Connector port=”80″ protocol=”HTTP/1.1″
connectionTimeout=”20000″
URIEncoding=”UTF-8″
redirectPort=”8443″ />

olmalidir.


Warning: Undefined array key "custom_scripts_footer" in /var/www/murat.ws/public_html/wp-content/plugins/reco-functions/custom-styles.php on line 58