mod_jk for RHEL6 Rumi, April 20, 2012 If you have a RHEL6 box which ships both Apache and Tomcat6 you might want to connect the two together. You probably have looked around for mod_jk as a RHEL6 RPM or SRPM (src.rpm). You find that It isn't in EPEL, and it isn't in Red Hat Optional Server 6 RHN channel, etc. It seems that the new way forward with RHEL/Fedora world is to use mod_proxy_ajp. For example, the RH/Fedora project Spacewalk switched from mod_jk to mod_proxy_ajp. Note that mod_proxy_ajp is a core module of Apache 2.2 and newer so this should be a rather definitive/final change in recommended connector for Tomcat and Apache. Read the docs, but to get you started in configuration first you'll want to configure Tomcat's conf/server.xml file to have something like (which may already exist): <Connector port="8009" enableLookups="false" redirectPort="8443" protocol="AJP/1.3" /> And Apache with something like: <Proxy *> AddDefaultCharset Off Order deny,allow Allow from all </Proxy> ProxyPass / ajp://localhost:8009/ ProxyPassReverse / ajp://localhost:8009/ Related Configurations (Linux) ApacheCentOSJKSRedhatTomcat
Phpvirtualbox fix on 5.1 using 5.0 October 12, 2017October 12, 2017 I was able to get v5.0-5 working with vbox 5.1 by commenting out the version check line and replacing it with a static value in the endpoints/api.php file: // $response[‘data’][‘responseData’][‘phpvboxver’] = @constant(‘PHPVBOX_VER’); $response[‘data’][‘responseData’][‘phpvboxver’] = “5.1-0”; Src: https://sourceforge.net/p/phpvirtualbox/discussion/general/thread/565b7f31/ Related Read More
How to Update SSH & MOTD Banner on CentOS 6 December 7, 2015December 7, 2015 For legal reasons, Some people need to display a warning banner on their Linux machine before login so that a person requires to acknowledge the contents of the banner before entering the password. To do this, edit a/etc/issue.net file and fill it with the desired context. Edit the /etc/issue.net file: sudo… Read More
Recover MySQL root Password December 19, 2011 Step # 1 : Stop mysql service # /etc/init.d/mysql stop Output: Stopping MySQL database server: mysqld. Step # 2: Start to MySQL server w/o password: # mysqld_safe –skip-grant-tables & Output:[1] 5988 Starting mysqld daemon with databases from /var/lib/mysql mysqld_safe[6025]: started Step # 3: Connect to mysql server using mysql client:… Read More