Difference between revisions of "Draft:Discourse Implementation and Exploitation"

From Dolibarr ERP CRM Wiki
Jump to navigation Jump to search
(Created page with "== Addresses == * dolibarr-test-fr.traulle.net * dolibarr-test-org.traulle.net These DN has been choosen to test the distinct vhosts but are not actually binded to public DN...")
Tag: 2017 source edit
 
Tag: 2017 source edit
Line 7: Line 7:
  
 
You <u>MUST</u> edit your <code>/etc/hosts</code> local file (or similar) to point these addresses to IP '''37.59.159.184'''
 
You <u>MUST</u> edit your <code>/etc/hosts</code> local file (or similar) to point these addresses to IP '''37.59.159.184'''
 +
 +
For Windows based machines, you can use https://hostsfileeditor.com/ for that purpose.
  
 
== Replicated minimal VM for tests ==
 
== Replicated minimal VM for tests ==

Revision as of 09:50, 29 October 2019

Addresses

  • dolibarr-test-fr.traulle.net
  • dolibarr-test-org.traulle.net

These DN has been choosen to test the distinct vhosts but are not actually binded to public DNS.

You MUST edit your /etc/hosts local file (or similar) to point these addresses to IP 37.59.159.184

For Windows based machines, you can use https://hostsfileeditor.com/ for that purpose.

Replicated minimal VM for tests

For the implementation to go smooth, the vmprod1 environment has been replicated on a dedicated test VM.

  • Linux distro : Ubuntu 16.4.7
  • Webserver : Apache2
  • RDBMS : Mariadb
  • PHP : 5.6

PHP version is installed from ppa:ondrej/php.

Apache2 virtual hosts config dolibarr.fr.conf and dolibarr.org.conf has been copied from vmprod1 (servername has just been modified to match names specified in #Addresses).

Files from /home/dolibarr/dolibarr.fr and /home/dolibarr/dolibarr.org has been copied to the same location on the test VM (however /home/dolibarr/dolibarr.org/httpdocs/files/stable has not been replicated on the test VM due to the weight/size of all packages).