Archive for the 'DirectAdmin Support' Category

Adding extra modules to Apache, by compiling in DirectAdmin.

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 the file, where –with-module is to be replaced with required entry for the module you’re installing.

Make sure the character exists at the end of all lines except the last one.

./build clean
./build apache_mod_ssl

Then restart apache.

Source: http://directadmin.com/

When compiling receive the error et/com_err.h: No such file or directory

If you receive the error When compiling.

/usr/include/krb5.h:2606:24: et/com_err.h: No such file or directory

Then install the following to resolve.

yum install e2fsprogs-devel

or

up2date -u e2fsprogs-devel

Source : http://directadmin.com/

For apache 2.0 use the following methods.

cd /usr/local/directadmin/customapache
./build clean
rm -f configure.*
./build update
./build update_data_ap2
./build apache_2
./buld php_ap2 n
./build mod_perl_ap2

Once the update has completed, you’ll need to restart apache:

/sbin/service httpd restart
SBDavid

Customapache with DirectAdmin

If you’re using apache 2.x, use “./build apache_2” instead of apache_mod_ssl.

cd /usr/local/directadmin/customapache
./build clean
./build update
./build apache_mod_ssl

This should update both the configure options and the version of apache to the most recent version.

Once the update has completed, you’ll need to restart apache

/sbin/service httpd restart

Source: http://directadmin.com

Using an external Mailserver with DirectAdmin

If you wish to use a remote Mailserver, a few changes will need to be made.

Go to User Panel -> domain.com -> Email -> MX Records

There should be an option for “Local Mail Server”. Uncheck that option.

You’ll need to change the MX dns record to point to the external mailserver. Remove the “mail” MX record and add “other.domain.com.” as the new MX record where that is the domain of the other server.

Source : http://directadmin.com/

« Prev - Next »