Installation - Upgrade: Difference between revisions

Jump to navigation Jump to search
(→‎Related videos: Révision de la taille des vidéos)
Tag: 2017 source edit
Line 179: Line 179:




==== Additional information on setting up a Debian or Ubuntu server ====
====Additional information on setting up a Debian or Ubuntu server====
If you are planning to configure a Debian or Ubuntu server for Dolibarr to provide the aforementioned prerequisites, there are detailed step-by-step instructions available in German:
If you are planning to configure a Debian or Ubuntu server for Dolibarr to provide the aforementioned prerequisites, there are detailed step-by-step instructions available in German:


Line 193: Line 193:
In most cases, using the following process should works for most providers:
In most cases, using the following process should works for most providers:


- '''Prerequisite''': Apache web server, PHP and a database server (MySQL or PostgreSQL) are already running correctly and user/pass (of a new database or root server) is known.
- '''Prerequisites''': Apache web server, PHP and a database server (MySQL or PostgreSQL) are already running correctly and user/pass (of a new database or root server) is known.


- '''Level''': Users with few Web and Database administration knowledge. Knowledge to use a tool (FTP, SFTP) to upload files on the server.
- '''Level''': Users with few Web and Database administration knowledge. Knowledge to use a tool (FTP, SFTP) to upload files on the server.


*Check that you have an Apache web server, PHP and a database server (MySQL or PostGreSQL) that works correctly.
*Check that you have an Apache web server, PHP and a database server (MySQL(recommended) or PostGreSQL) that works correctly.


[[File:warning.png]] Warning, check that code page of PHP server and database server are same (utf8 recommended).
[[File:warning.png]] Warning, check that code page of PHP server and database server are same (<dfn>utf8mb4_unicode_c</dfn> recommended).


*Check that main root or admin user/password couple for the server is known and works correctly. Ask them to your Web Hosting Provider if unknown.
*Check that main root or admin user/password couple for the server is known and works correctly. Ask them to your Web Hosting Provider if unknown.


*Get the application archive of last stable version and uncompress it locally.
*Get the application archive of last stable version from [https://sourceforge.net/projects/dolibarr/files/Dolibarr&#x20;ERP-CRM/ here] and uncompress it locally.


*Upload all content of htdocs directory to your web root directory, for example using FTP in binary mode.
*Create a folder named dolibarr inside your web root directory(usually called public_html) and upload all content of htdocs directory to it. You can use an FTP client like [https://filezilla-project.org/download.php?type=client22 Filezilla].


*Create a directory called "documents" into Dolibarr directory that will serve to save all documents generated and stocked by Dolibarr (PDF invoices, uploaded images, ...). The web server must have write permission into this directory. You can set permissions with your FTP client.
*Create a directory called "documents" into Dolibarr directory that will serve to save all documents generated and stocked by Dolibarr (PDF invoices, uploaded images, ...). The web server must have write permission into this directory. You can set permissions with your FTP client.


*Now call your browser to point to the main page index.php
*Using your browser point to the main page index.php e.g. dolibarr.mydomain.com/index.php


*Follow instructions of setup steps until end of install process.
*Follow instructions of setup steps until end of install process.


*For security reason, we recommend, once setup is finished, to create a file install.lock into Dolibarr installed directory. This will lock the call of the install process again (you will have to remove it for upgrades). If this is not done, Dolibarr will show you a warning once logged as an administrator user.
*For security reason, it's strongly recommended, once setup is finished, to create a file named '''install.lock''' into documents directory. This will lock the call of the install process again (you will have to remove it for upgrades). If this is not done, Dolibarr will show you a warning once logged as an administrator user.




83

edits

Navigation menu