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/
File permissions for virtual pop inboxes in DirectAdmin
Any domains that you want to use for email (eg: mydomain.com) must be in both the /etc/virtual/domains file and the /etc/virtual/domainowners file.
The directory /etc/virtual/mydomain.com must exist and the files /etc/virtual/mydomain.com/passwd and /etc/virtual/mydomain.com/aliases exist.
File permissions for virtual pop inboxes should be the following below but not applicable with Dovecot/Maildir:
/var/spool/virtual/domain.com 770 username:mail
/var/spool/virtual/domain.com/* 660 username:mail
Creating your own SSL certificate for DirectAdmin
Note : that this is for the DirectAdmin connection on port 2222.
You can switch DirectAdmin to use SSL instead of plain text. -> https instead of http on port 2
If you do not have your own certificates, you’ll need to create your own:
/usr/bin/openssl req -x509 -newkey rsa:1024 -keyout /usr/local/directadmin/conf/cakey.pem -out /usr/local/directadmin/conf/cacert.pem -days 9999 -nodes
And then
chown diradmin:diradmin /usr/local/directadmin/conf/cakey.pem
chmod 400 /usr/local/directadmin/conf/cakey.pem
Edit the /usr/local/directadmin/conf/directadmin.conf and set SSL=1 (default is 0). This tells DA to load the certificate and key and to use an SSL connection. DirectAdmin needs to be restarted after this change.
Shared Memory?
Shared memory (SHM) is another method of interprocess communication (IPC) whereby 2 or more processes share a single chunk of memory to communicate. The shared memory system can also be used to set permissions on memory, allowing for things like malloc debuggers to be written.
Types of Shared memory available
Basically there are two different types of shared memory available for most flavors of UNIX. As you may have guessed, each of the two orignal ancestors of modern UNIX have their own implementation, altough almost all modern UNIX flavors implement both. The names of the respective implementations are System V IPC, and BSD mmap.