CREATING A VTIGER INSTANCE ON PROXMOX
-
Log on the proxmox server via putty
-
Gain root rights: sudo -i
-
You will be required to provide your password
-
Create a configuration file for the virtual host
-
There are samples in /etc/apache2/sites-available
-
Copy an existing one and adjust it: cp <sample.conf> <your new file.conf>
-
When you have created the config, run: a2ensite <name of config file>
-
Go into the virtual hosts directory: cd /srv/www
-
Note /var/www that is for the default site and not the virtual hosts.
-
Create a directory for the new host: mkdir <directory name>
-
Follow the naming convention of existing directories
-
Download the Vtiger file: wget <vtiger link>
-
Extract the vtiger file: tar xvzf <file.tar.gz>
-
Rename the vtiger folder to html: mv <vtiger folder> html
-
Run: chown -R www-data:www-data html
-
Log into mysql: mysql --user root -p
-
The password is !mysql@delaphone.2018!
-
Create a database for the new host: create database <database name>;
-
Assign privileges: grant all on <database name>.* to <user>@localhost identified by '<password>';
-
Then: quit
-
Restart apache: systemctl restart apache2
-
In your browser log into the Dreamhost panel
-
Under the domains tab to the left select Manage Domains
-
Under the delaphonegh.com domain select DNS
-
Select Add Record Now!
-
Name - Maintain the name used in the Virtual Config File
-
Type - A
-
Value - The server IP (196.44.101.69)
-
This may take a few minutes to allow access via the web
No Comments