ViMbAdmin is a web-based application written in PHP, which provides a graphical user interface for managing mail servers using the VPOPMAIL extension. This tutorial will demonstrate how to install ViMbAdmin on an Ubuntu Server machine.
Before beginning the installation process, update the Ubuntu operating system.
sudo apt-get update
sudo apt-get upgrade
ViMbAdmin requires a set of software components that need to be installed before installing the application. These components include Apache, MySQL, and PHP, and can be installed using the following command:
sudo apt-get install apache2 mysql-server php php-mysql libapache2-mod-php php-curl php-imap php-ldap php-xml php-mbstring
ViMbAdmin is built on VPOPMAIL, so it must be installed first. Install it using the following command:
sudo apt-get install vpopmail
Download ViMbAdmin by navigating to https://www.vimbadmin.net/, and then clicking on the link to the latest release. Extract the downloaded archive to the document root directory, which is usually /var/www/html/
.
sudo tar -xzf vimbadmin-x.x.x.tar.gz -C /var/www/html/
Configure the Apache web server to handle ViMbAdmin. Create a new virtual host file using a text editor.
sudo nano /etc/apache2/sites-available/vimbadmin.conf
Add the following lines to this file:
<VirtualHost *:80>
ServerName vimbadmin.example.com #change to your domain
DocumentRoot /var/www/html/vimbadmin/public/
<Directory /var/www/html/vimbadmin/public/>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
</Directory>
ErrorLog ${APACHE_LOG_DIR}/vimbadmin_error.log
CustomLog ${APACHE_LOG_DIR}/vimbadmin_access.log combined
</VirtualHost>
Save and close the file, and then activate the new host using the command:
sudo a2ensite vimbadmin.conf
Create a new user and database for ViMbAdmin, using the following commands.
sudo mysql -u root -p
CREATE DATABASE vimbadmin;
CREATE USER 'vimbadmin'@'localhost' IDENTIFIED BY 'password';
GRANT ALL PRIVILEGES ON vimbadmin.* TO 'vimbadmin'@'localhost';
FLUSH PRIVILEGES;
Exit from the MySQL prompt using the command:
exit
Make a copy of the default configuration file and rename it as local.php.
sudo cp /var/www/html/vimbadmin/application/configs/application.ini.dist /var/www/html/vimbadmin/application/configs/local.ini
Edit the new file with a text editor, and modify the following settings:
resources.db.params.username = "vimbadmin"
resources.db.params.password = "password"
resources.db.params.dbname = "vimbadmin"
resources.db.params.host = "localhost"
Save and close the file.
Restart the Apache web server using this command:
sudo service apache2 restart
Visit your browser and navigate to the domain/name of your ViMbAdmin installation. For example, if your installation is located at https://vimbadmin.example.com/
, enter that into your browser.
ViMbAdmin has been successfully installed on an Ubuntu Server machine. The administrator can now use the web-based graphical user interface to manage mail servers.
If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!
Alternatively, for the best virtual desktop, try Shells!