This page looks plain and unstyled because you're using a non-standard compliant browser. To see it in its best form, please upgrade to a browser that supports web standards. It's free and painless.
| « | January 2009 | » | ||||
|---|---|---|---|---|---|---|
| Su | Mo | Tu | We | Th | Fr | Sa |
| 1 | 2 | 3 | ||||
| 4 | 5 | 6 | 7 | 8 | 9 | 10 |
| 11 | 12 | 13 | 14 | 15 | 16 | 17 |
| 18 | 19 | 20 | 21 | 22 | 23 | 24 |
| 25 | 26 | 27 | 28 | 29 | 30 | 31 |
Mount /tmp with noexec
Find which site is sending spam email from apache@yourdomain, How to track spam sent out from your server through php/apache
Disable Majordomo for all sites
4 Primary Areas For Tuning Your Server
Redhat ROD/Remote Console How To
Debian ROD/Remote Console How To
Windows ROD/Remote Console How To
FBSD ROD/Remote Console How To
HOWTO: FFmpeg + FFmpeg-PHP + Mplayer + Mencoder + flv2tool + LAME MP3 Encoder + Libog
How to setup email Smart Host to send emails via Gmail or DynDNS's smtp.
Note: these instructions is provided according Cpanel Tomcat Installer bugs on versions near WHM 10.6.0 cPanel 10.8.0-S21.
Let's remove Tomcat and install it again.
Table of contents
1 Checking everything is clean
2 Installing tomcat
3 If it fail while installing Tomcat on WHM: install hangs after license
4 Fixing jsvc
5 Making sure Tomcat is running and apache is restarted
6 Each time you install Servlet on a domain
7 Mapping .do
Checking everything is clean
/scripts/upcp --force
cd /usr/local/apache/conf/
mv workers2.properties workers2.properties.old
mv workers.properties workers.properties.old
cd /usr/local/cpanel/modules-install/tomcat-Linux-i686
./uninstall
rm -rf /usr/local/jdk1.5.0_02
Installing tomcat
cd /usr/local/cpanel/modules-install/tomcat-Linux-i686
./install
Copy and past tomcat root password.
If it fail while installing Tomcat on WHM: install hangs after license
Remove file installed is trying to replace:
rm -rf /usr/local/jdk1.5.0_02
cd /usr/local/cpanel/modules-install/tomcat-Linux-i686
./install
Fixing jsvc
We need to compile manually jsvc since Cpanel Tomcat installer are bugged while trying to compile it.
cd /usr/local/jakarta/tomcat/bin
cd jsvc-src/
./configure
make
killall jsvc
cp jsvc ../
Making sure Tomcat is running and apache is restarted
/scripts/restartsrv_tomcat
service httpd restart
Each time you install Servlet on a domain
After installing Servlet on WHM on some domain, if Tomcat doesn't open, try to restart it again.
Sometimes Tomcat can broke install after adding Servlet on a domain by WHM. If it happen, just follow these instructions again - probably it will work.
Mapping .do
If you need .do: Edit /usr/local/apache/conf/httpd.conf and add a line inside domain VirtualHost:
<IfModule mod_jk.c>
JkMount /*.do ajp13
</IfModule>
Restart apache:
service httpd restart
Credits: CpWiki
September 2008
December 2005
November 2005
September 2005
Apache [9]

CentOS [1]

Cpanel [14]

DNS [2]

Ensim [5]

Fedora [1]

Mail [6]

Plesk [3]

RedHat [7]

Sales [4]

Security [8]

SQL [1]

SSH [3]

SSL [1]

Streaming audio [2]

System [18]

Webppliance [1]

Boonic Net
Bloogo
Boonic United Kingdom
Mega Notebooks
Software
Boonic United States
Boonic India