User:Paul/sandbox/Install ViMbAdmin

From UNPM.org Wiki
Jump to navigation Jump to search

WARNING: This article is in a user sandbox, indicating it is a rough draft, and as such, is likely incomplete, contains buggy and insecure configurations, and is subject to substantial and frequent changes.

ViMbAdmin is a PHP based GUI for managing domains, mailboxes, and aliases for the mail server. It is a newer project than Postfix Admin and offers many benefits including stronger password hashing user login, the latter of which gives users the ability to log in and change their passwords.

Most of the commands in this article require root privilege:

username@servername:~$ sudo /bin/bash

Install prerequisites

A few packages will be required to support ViMbAdmin.

System packages

ViMbAdmin will require a couple additional packages to function properly:

root@servername:~# aptitude install php5-cgi php5-json curl subversion

Note that some of these packages may already be installed.

Composer

Composer is a dependency manager for PHP and is used for installing and updating ViMbAdmin.

root@servername:~# curl -sS https://getcomposer.org/installer | php
root@servername:~# mv composer.phar /usr/local/bin/composer

Composer can now be used via the command line with the command composer

Install ViMbAdmin

root@servername:~# export INSTALL_PATH=/srv/vimbadmin
root@servername:~# composer create-project opensolutions/vimbadmin $INSTALL_PATH -s dev

Choose no (n) at the end of the installation.


root@servername:~# 
root@servername:~# 
root@servername:~# 
root@servername:~# 
root@servername:~# 
root@servername:~# 
root@servername:~# 
root@servername:~# 

External links

Composer