Install on DirectAdmin (WebMail Lite PHP)

From AfterLogic Wiki

Jump to: navigation, search

You can install WebMail Lite on a server powered by DirectAdmin control panel. WebMail Lite can be installed as an additional option for accessing e-mail accounts, and you can also make it the default webmail application.

The installation is really simple, it is performed with the installation wizard which guides you through the entire process. It performs all the configuration required.

To begin, download the installer package from here.

Assuming you downloaded the installer to your home directory, extract it to the same location:

cd ~ tar -xzvf ./webmail-panel-installer.tar.gz

To perform the installation, root access is required. Open the installer directory, make sure that install script has sufficient execute permissions and run it:

cd ./webmail-panel-installer chmod a+x ./installer ./installer -t lite -a install

The installer downloads WebMail package and performs the basic product configuration. The default installation path is /var/www/html/afterlogic.

It is assumed that this is blank installation of WebMail on particular server. In case if existing WebMail installation is found in this folder, installation will be aborted. For upgrading existing installation, a different command is required:

./installer -t lite -a upgrade

If you choose to overwrite the existing installation, only files are replaced while all the database contents are kept intact, the database structure is updated if necessary. Thus, you won't lose any existing data created by previous installations of WebMail. And if you choose to remove WebMail installation, that is done with:

./installer -a remove

By default, /afterlogic alias is added so that any customer hosting a domain on your server will be able to access WebMail at userdomain.com/afterlogic URL (where userdomain.com if the domain name of the customer).

You can set not only userdomain.com/afterlogic alias, but also a userdomain.com/webmail one. This makes WebMail the default webmail client of your server. To do that, use the following command:

./installer -a set_default

Upon that, both /webmail and /afterlogic aliases can be used with any domain on your server to access WebMail.

Once the installation is over, it's recommended to navigate to AdminPanel at http://yourhost/afterlogic/adminpanel where yourhost stands for either server IP or any domain hosted there. Default admin credentials are mailadm/12345 for login/password respectively.

Once entered the AdminPanel, you can change the default password for AdminPanel access, and configure the product any other way you like. This is, however, optional, as the installer sets up the product to fully operational state.

Last edit: 2012/12/11



WebMail Lite PHP documentation

Installation