Installing Subversion

It’s best to upgrade to Apache 2.2 with the DAV module enabled, but you may be able to get away with Apache 1.3 with DAV. cd /usr/src wget http://www.webdav.org/neon/neon-0.25.5.tar.gz tar -xvzf neon-0.25.5.tar.gz cd neon-0.25.5 ./configure && make && make install cd ../ mv neon-0.25.5 neon After the installation, download the subversion sources from here: http://subversion.tigris.org/servlets/ProjectDocumentList?folderID=260&expandFolder=74… Continue reading Installing Subversion

Installing DomainKeys

DomainKeys, similar to SPF records, authenticate that an email was sent from an authorized sender.  Several mail services such as Hotmail and Yahoo have started requiring these…luckily they are easy to set up in your cPanel. System requirements 1. cPanel/WHM v11.x with the latest build 2. Your Mail server must be using Maildir format and… Continue reading Installing DomainKeys

cPanel FAQ for VPS

From: http://www.cpanel.net/docs/whm/FAQ.htm Q: I’m having server problems but the problem is not listed below. What should I do? A: There are two options: You can search the Knowledgebase in WebHost Manager. The is explained in the support part of this manual. You can search the CPanel forums – http://support.cpanel.net/ Q: How do I login to… Continue reading cPanel FAQ for VPS

Cpanel disk used incorrect showing unlimited or 0MB

You can fix this by running the script  /scripts/fixquotas is this doesn’t work and you are using Virtuozzo or OpenVZ you will need to set the QUOTAUGIDLIMIT perimeter – this allows the system to allocate user IDs (UID) e.g (openvz) vzctl set 101 –quotaugidlimit 1000 –save then run the scrip “/scripts/fixquotas” and it should all… Continue reading Cpanel disk used incorrect showing unlimited or 0MB

Linux slow name resolution (DNS)

source # vi /etc/modprobe.conf add to the bottom of file: alias ipv6 off alias net-pf-10 off # reboot or before you reboot, also check out: # grep hosts /etc/nsswitch.conf #hosts: db files nisplus nis dns hosts: files dns Your /etc/nsswitch.conf should look similar to this: # # /etc/nsswitch.conf # # An example Name Service Switch… Continue reading Linux slow name resolution (DNS)

DirectAdmin yum.conf

vi /etc/yum.conf [main] cachedir=/var/cache/yum debuglevel=2 logfile=/var/log/yum.log pkgpolicy=newest distroverpkg=centos-release tolerant=1 exactarch=1 retries=20 obsoletes=1 gpgcheck=1 # PUT YOUR REPOS HERE OR IN separate files named file.repo # in /etc/yum.repos.d exclude=apache* httpd* mod_* mysql* MySQL* da_* *ftp* exim* sendmail* php*

How to override open_basedir settings in Plesk

Plesk will overwrite any httpd.conf settings unless you include them in… /home/httpd/vhosts/DOMAIN/conf/vhost.conf basically, the instruction everywhere on the web on how to modify the open_basedir for plesk, so it won’t overwrite it, were all wrong… here’s the instruction from the Plesk website: http://kb.parallels.com/en/432 <Directory /home/httpd/vhosts/DOMAIN/httpdocs> php_admin_value open_basedir “/home/httpd/vhosts/DOMAIN/httpdocs:/tmp:/usr/bin:/usr/local/bin” </Directory> this didn’t work because the the… Continue reading How to override open_basedir settings in Plesk

Adding custom modules to apache for customapache : DirectAdmin

If you want to add any extra modules to apache, they’ll need to be compiled in. Any module that needs to be compiled in will have a –with-module type flag which will need to be used. To add this flag, run the following: cd /usr/local/directadmin/customapache vi configure.apache_ssl #add your –with-module line to the end of… Continue reading Adding custom modules to apache for customapache : DirectAdmin

Easy apache error on a VPS – !! Warning (VZ): You are only only guaranteed xx Megabytes of ram! xxx Megabytes is recommended. !!

Easy::Apache v3.2.0 Build 4310 !! Warning (VZ): You are only only guaranteed 224 Megabytes of ram! 512 Megabytes is recommended. !! If you get above memory error on VPS while running easy apache,  You can fix by using following steps. Login in to main VPS and edit the variable OOMGUARPAGES accordingly. OR OpenVZ Users :… Continue reading Easy apache error on a VPS – !! Warning (VZ): You are only only guaranteed xx Megabytes of ram! xxx Megabytes is recommended. !!

Published
Categorized as Virtuozzo