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.

Blog About Dedicated Servers

Disable Majordomo for all sites

Luigi Ramone | 04 September, 2008 14:59

Watching /var/log/maillog, i noticed a lot of spam sent out from my server through majordomo accounts so i chose to disable it in all my sites.

I did a small HOWTO of how to disable all at the same time. This HOWTO is for Linux/Ensim. (More)

Zend Optimizer (On Ensim)

Luigi Ramone | 04 September, 2008 14:31

Installing Zend Optimizer

SSH into your server as 'root' user

#Make a backup of your php.ini before you proceed:

cp /etc/php.ini /etc/php.ini.backup

#Download the file. You need to create an account at zend.com before you can download this file. I used to have this file on my server, but that was ages ago....

http://www.zend.com/free_download/optimizer

tar zxvf ZendOptimizer.tar.gz

cd ZendOptimizer

./install

#You'll be asked the following questions, answer them with the following:

#Specify the location where to install Zend Optimizer:

/usr/local/Zend

#Confirm the location of your php.ini file:

/etc

#Are you using the Apache webserver?

Yes

#Specify the Apache configuration directory:

/etc/httpd/conf

#The install script should now detect the right Version of PHP.

Choose "Yes" to proceed.

#Specify the Apache bin directory:

/usr/sbin

#After that, your php.ini is automatically relocated to /usr/local/Zend/etc and a symlink is created.

#Do you want to restart Apache Webserver

Choose "No" (Iv had trouble with that script and it failed to restart apache, just restart apache manually)

#Restart Apache

service httpd restart

#Zend Optimizer is now installed..

 (More)

Easy CURL 7.10.4 w/SSL

Luigi Ramone | 15 December, 2005 21:35

We've put together these RPM's for libcurl 7.10.2 with SSL support. They upgrade over the stock RH ones. Installation is via rpm -Uvh

Applicability (RH 7.2 / 7.3 required) :

Webppliance 3.1
Webppliance Pro 3.5
cPanel 6
Plesk 5.0

These are also Modernbill compatible on all above panel types.

 (More)

Using fail2ban to ban abusive IP's for SSH and Apache

Luigi Ramone | 15 December, 2005 21:24

How to automatically ban abusive ip's using fail2ban

Originally from Ensim 4.0; similar steps had to be taken after the upgrade to 4.0.2; I would assume the same follows until python 2.3 is included [it may already be; corrections welcome].

Fail2Ban scans log files like /var/log/pwdfail or /var/log/apache/error_log and bans IP that makes too many password failures. It updates firewall rules to reject the IP address.

 (More)

Install/Upgrade ProFTPd

Luigi Ramone | 15 December, 2005 21:22

Ensim
I'm not going to handle Ensim again since gpan made a nice Howto on this issue and even created
rpms for your usage all information can be found here.
After installing it you can also do the proftpd.conf tweak but you have todo pico -w /etc/proftpd.conf
note:
1. that i can't give any support on the rpm made by gpan, so that will have to go through him.
2. Mouse is against upgrading your ProFTPd on Ensim when you run a up to date 3.1.x and 3.5.x

Plesk
Nighthawk just said to me that this is actually a bad idea for Plesk.
Nighthawk has years of experience with Plesk so i fully support what he's saying about Plesk whatsoever .
So your officially warned by me and NightHawk so dont do this howto on your system.
You will destroy it otherwise but you can do the proftpd.conf tweak without a problem, so just skip most of this how-to and usage pico -w /etc/proftpd.conf instead just like Ensim.

 (More)


Powered by Boonic, Bloogo & pLog
This Blog does not have any affiliation nor relation with the mentioned companies. All the logotipos, trade names and images are property of the companies that registered them.