November 29th, 2011 |
admin |
The following is a guide to installing ConfigServer Services‘ firewall and login failure daemon. Warning: The Latest version of CSF does not work properly with DirectAdmin on CentOS 5 machines with Apache 2+ CSF + LFD is a full security suite. I have provided a list of the features that I have personally tested and [...]
November 29th, 2011 |
admin |
I just recently had to do this so I thought I might as well share. There are a few threads already with some info, but it’s not entirely complete in my opinion. Let’s get started. 1) First off, issue this command to check your pear/pecl config: pecl config-show This will show you your config. Now [...]
November 29th, 2011 |
admin |
In cPanel WHM, Main > Service Configuration > Exim Configuration Editor: Under Filters, check “System Filter File” location, usually at “/etc/cpanel_exim_system_filter”. Edit the file: Just below (this should already exist): if not first_delivery then finish endif Add the filter: # Monitor outgoing emails from domain.tld if first_delivery and (“$h_from:” contains “@domain.tld”) and (“$h_from:” does [...]
November 29th, 2011 |
admin |
Package mpack is required in order to extract the backup contents. # apt-get install mpack # zcat /path/to/backup_file > backup_file.mime # munpack backup_file.mime The result is a set of tar and sql files that contain domains’ directories and databases. Untar the directory as needed. For example, to restore the httpdocs folder for the DOMAIN.TLD domain: [...]
November 28th, 2011 |
admin |
this script to help install ruby on rails cd /usr/src wget ftp://ftp.ruby-lang.org/pub/ruby/ruby-1.8.5.tar.gz tar -xzvf ruby-1.8.5.tar.gz cd ruby-1.8.5/ ./configure make make test make install cd /usr/src wget http://rubyforge.org/frs/download.php/5207/rubygems-0.8.11.tgz tar -zxvf rubygems-0.8.11.tgz cd rubygems-0.8.11 ruby setup.rb gem update gem install rails –include-dependencies rails /usr/local/rails mv /usr/local/rails/public/.htaccess /usr/local/rails/public/.htaccessfile echo “RewriteBase /rails” > /usr/local/rails/public/.htaccess cat /usr/local/rails/public/.htaccessfile >> /usr/local/rails/public/.htaccess mv /usr/local/apache/conf/httpd.conf /usr/local/apache/conf/httpd.conffile [...]
November 28th, 2011 |
admin |
Question: I’m using Exim mail server under CentOS Linux. How do I remove all messages from the Exim mail queue using a shell prompt? Answer: Exim is a mail transfer agent (MTA) used on Unix-like operating systems. It aims to be a general and flexible mailer with extensive facilities for checking incoming e-mail. To [...]
November 28th, 2011 |
admin |
DA comes with support for ProFTPD mod_tls however there are several problems with mod_tls. 1) It only encrypts the control channel of FTP, leaving the actual data transferred still in clear text. 2) That also causes problems with FTP traversal of firewalls since the firewall can’t see which ports are going to be needed, although [...]