*New 11.3 series Release:
2019-10-19: XigmaNAS 11.3.0.4.7014 - released

*New 12.0 series Release:
2019-10-05: XigmaNAS 12.0.0.4.6928 - released!

*New 11.2 series Release:
2019-09-23: XigmaNAS 11.2.0.4.6881 - released!

We really need "Your" help on XigmaNAS https://translations.launchpad.net/xigmanas translations. Please help today!

Producing and hosting XigmaNAS costs money. Please consider donating for our project so that we can continue to offer you the best.
We need your support! eg: PAYPAL

[HOWTO] install Dolibarr (CRM & ERP Software) on Nas4free

XigmaNAS Packages
Forum rules
Set-Up GuideFAQsForum Rules
Post Reply
User avatar
ozdesoner
NewUser
NewUser
Posts: 8
Joined: 10 Nov 2015 16:59
Location: Ordu/TURKEY
Status: Offline

[HOWTO] install Dolibarr (CRM & ERP Software) on Nas4free

#1

Post by ozdesoner » 12 Apr 2016 21:02

1. First Step Mysql Server Install

Specify a shell login (bash is recommended):

Code: Select all

pkg install mysql56-server
After installing mysql-server, add following line to rc.conf.
your_nas4free_ip/system_rcconf.php
mysql_enable="YES"
Copy and edit mysql configuration file;

Code: Select all

cp /usr/local/share/mysql/my-default.cnf /usr/local/etc/my.cnf
nano /usr/local/etc/my.cnf
two line add to my.cnf at the end of file for international language support:

Code: Select all

character-set-server=utf8
collation-server=utf8_unicode_ci
After Ctrl + O, Enter and Ctrl + X to exit.
Start mysql-server,

Code: Select all

service mysql-server onestart
And rehash.
setup some automatic configuration

Code: Select all

mysql_secure_installation
First login root password absent, you can hit enter only
second you must “Y” to create password and type twice password.
All of after only hit enter for default setting.

2.Create Database and User Settings

Connect to your server,

Code: Select all

mysql -u root -p 
and type password.

For Default database and user:

Code: Select all

CREATE DATABASE dolibarr;
CREATE USER 'dolibarr'@'localhost' IDENTIFIED BY 'dolibarr';
GRANT ALL PRIVILEGES ON * . * TO 'dolibarr'@'localhost';
3.Installing Latest Dolibarr Packages

Code: Select all

cd /usr/local/www
fetch http://www.dolibarr.org/files/dolibarr.tgz
tar -xzf dolibarr.tgz
type “ls” and find “dolibarr-x.x.x” (x=version numbers)

Code: Select all

mv dolibarr-x.x.x dolibarr
chmod -R 755 dolibarr
touch dolibarr/htdocs/conf/conf.php
chown www dolibarr/htdocs/conf/conf.php
mkdir dolibarr/documents
chown www dolibarr/documents
4.Setup Database and User Settings

surf at your_nas4free_ip/dolibarr/htdocs/install/
and follow instructions provided by installer
First push start button
Database name must “dolibarr”
Server “localhost”
Port “3306”
user name “dolibarr”
password “dolibarr”
You leave default settings of all other settings.
And next step.
Everythings OK again next step.
And wait installing configurations.
Finally you should create user and password on first login.

After All That you type that:

Code: Select all

rm -R dolibarr/htdocs/install/
chown root dolibarr/htdocs/conf/conf.php
Now You can login with your_nas4free_ip/dolibarr/htdocs/index.php
FOXCONN 45CS/45CSX 2GB RAM 16 GB SSD 4 TB HDD x64-full on Intel Atom CPU 230 @ 1.60GHz Silverstone ML05 Mini-ITX

Post Reply

Return to “Packages”