Someone using Dolibarr on NS7 and can give me a hint howto install it?
OK, Dolibarr is up and running… I used this HowTo as a starting point: How to Install Dolibarr ERP CRM on aCentOS 7 and installed it with these steps:
# Download and extract Dolibarr:
cd /var/www/html/
wget https://netix.dl.sourceforge.net/project/dolibarr/Dolibarr%20ERP-CRM/9.0.3/dolibarr-9.0.3.tgz
tar xvfz dolibarr-9.0.3.tgz
rm -rf dolibarr*.tgz
mv dolibarr-* dolibarr
chown -R apache:apache /var/www/html/dolibarr
# Install prerequisite packages:
yum -y install php-gd php-pgsql
# Install PostgreSQL:
yum -y install nethserver-postgresql postgresql postgresql-server postgresql-libs
# We have to initialize the PostgreSQL database before PostgreSQL service is started:
postgresql-setup initdb
# Edit the ‘/var/lib/pgsql/data/pg_hba.conf’ configuration file
nano /var/lib/pgsql/data/pg_hba.conf
# TYPE DATABASE USER CIDR-ADDRESS METHOD
# "local" is for Unix domain socket connections only
local all postgres ident
local all all trust
# IPv4 local connections:
host all all 127.0.0.1/32 trust
# IPv6 local connections:
host all all ::1/128 trust
# Start PostgreSQL and enable it to start at boot time:
systemctl start postgresql
systemctl enable postgresql
# Create postgres DB and user
su - postgres -c "createuser -SRD dolibarruser;createdb -O dolibarruser -T template0 -EUTF8 dolibarr"
su - postgres -c "psql -c \"alter user dolibarruser with unencrypted password 'My-Dolibarr-User-Password';\""
su - postgres -c "psql -c \"alter user postgres with unencrypted password 'My-New-Postgres-Password';\""
# Edit the ‘/var/lib/pgsql/data/pg_hba.conf’ configuration file:
nano /var/lib/pgsql/data/pg_hba.conf
# TYPE DATABASE USER CIDR-ADDRESS METHOD
# "local" is for Unix domain socket connections only
local all dolibarruser trust
local all postgres trust
# IPv4 local connections:
host all all 127.0.0.1/32 trust
# IPv6 local connections:
host all all ::1/128 trust
# Restart PostgreSQL service for the changes to take effect:
systemctl restart postgresql.service
# You can test a connection with the ‘dolibarruser’ user using the following command:
psql -d postgres -U dolibarruser -W
# quit dolibarruser
\q
# Start Apache and enable it to start at boot time:
systemctl start httpd
systemctl enable httpd
# reboot the server
# Setup Dolibarr via Browser
http://my-ip-or-domain/dolibarr/htdocs/install/index.php
# For security reasons, you should add a file called install.lock in to the Dolibarr
# document root directory, in order to avoid malicious use of it:
touch /var/www/html/dolibarr/documents/install.lock
chown apache:apache /var/www/html/dolibarr/documents/install.lock
Please take a look on my notes and give me some feedback to get a HowTo on the end of the day…
Hi fausp,
I made a doc in french to install Dolibarr on NS-7:
https://www.micronator.org/affaires/produit/nethserver-201-cahier-01dolibarr/
Michel-André
Hello michelandre, sounds great, do you want to share it with the community?
Hi fausp,
It is freely downloadable, just have to register.
Later on, when all the documentations will be completed, I will try to write it on this dokuwiki.
Michel-André
Sounds great ! - What else do you have or plan to document for Nethserver?
Hi again fpausp,
I presently have 15 documents on NS.
Have a look here: https://www.micronator.org/affaires/boutique/
Before switching to NS, I made that doc for SME on MediaWiki:
https://wiki.contribs.org/SME-101
Michel-André
Oh man what a huge HowTo ! Its a shame, I do not speak french. I really would like to read it in english… Or German ?
Hi again fpausp,
With Google translation, it should be easy to translate especially to English;
https://translate.google.com/?hl=fr
Michel-André
Thank you very much !!!
Hi everyone, i’m really interested in Dolibarr on Nethserver: someone has installed it recently? The last version is 16 now and i don’t know if the setup on Nethserver is changed. Thanks all!
Hi and welcome to NethServer Community,
Dolibarr 15.0.2 is currently provided as community module by @stephdl , see also dolibarr [NethServer Wiki] for details about the installation.
Thanks for the fast reply and for the welcome, i’m really interested in this product so today that my ISP as decided to give me back my connections i’ll give it a try,thanks!