Top Nav

Add RBL To Sendmail

Edit /etc/mail/sendmail.mc and add the following lines near the bottom of the file:

The run make to rebuild the sendmail.cf file and restart the sendmail service.

0

Activate RBL Check On Plesk

From the command line, an RBL check can be activated on Plesk with the following:

0

SSH Tunnel For VNC

Recent problem where I needed to VNC to a host but the host was not directly routable. So I needed to send my traffic to a routable host and then tunnel it over to the final target host. SSH did the trick here:

Where “rhost” is the intermediate server and “host” is the final target server.

0

Easy MySql Install on RHEL AS4

The RHEL AS4 server had an active RHN membership so installing MySQL server was a quick and easy. Here are the commands:

# up2date –install mysql-server

# /sbin/service mysqld start

# mysqladmin -u root password “my_root_password”

# mysqladmin -u root -h localhost -p password “my_root_password”

The last command will prompt for a password. Enter the value for “my_root_password”.

And that’s all there was to it!

0

mod_jk for Plesk

Download and unpack mod_jk source package to /root/archive or other location as desired:

wget http://archive.apache.org/dist/jakarta/tomcat-4/source/\
jakarta-tomcat-connectors-4.1.27-src.tar.gz
tar -xvzf jakarta-tomcat-connectors-4.1.27-src.tar.gz
cd jakarta-tomcat-connectors-4.1.27-src/jk/native2

Prepare the configure script:

chmod 755 buildconf.sh
./buildconf.sh

Run the configure script:

./configure –with-apxs2=/usr/sbin/apxs \
–with-java-home=/usr/java/j2sdk1.4.2/
make
libtool –finish /usr/lib/httpd/modules

Copy the new modules to the apache modules directory:

cp ../build/jk2/apache2/*.so /etc/httpd/modules/

0