Installation - Upgrade: Difference between revisions

Jump to navigation Jump to search
Line 94: Line 94:
* Go into the directory where to install Dolibarr (the web root directory defined for your web server)
* Go into the directory where to install Dolibarr (the web root directory defined for your web server)
# For Debian and Ubuntu families, it is generally: /var/www
# For Debian and Ubuntu families, it is generally: /var/www
# For Mandriva: /var/www/html
# For Mandriva, RedHat, Fedora: /var/www/html
# For RedHat: to complete
# For Fedora: /var/www/html [ Based on experience with with Fedora17 ]
# For Suse: to complete
# For Suse: to complete
<source lang="bash">
<source lang="bash">
$ cd /var/www
$ cd /var/www
or
$ cd /var/www/html
</source>
</source>


Line 119: Line 119:
# chown -R apache.apache /var/www/html/dolibarr
# chown -R apache.apache /var/www/html/dolibarr
</source>
</source>
* Since SELinux is usually enabled on Fedora systems, it is also advisable to run the following commands to make the 'dolibarr' directory compliant with the SELinux requirement (else you are likely to get quite a few alerts) :
* For Fedora, since SELinux is usually enabled, it is also advisable to run the following commands to make the 'dolibarr' directory compliant with the SELinux requirement (else you are likely to get quite a few alerts) :
<source lang="bash">
<source lang="bash">
# chown semanage fcontext -a -t httpd_sys_rw_content_t '/var/www/html/dolibarr(/.*)?'
# chown semanage fcontext -a -t httpd_sys_rw_content_t '/var/www/html/dolibarr(/.*)?'

Navigation menu