Changes

m
no edit summary
Line 1: Line 1:  
[[Category:Admin]]
 
[[Category:Admin]]
 +
[[Category:Admin_en]]
 +
[[Category:Cloud]]
 
{{TemplateDocUser}}
 
{{TemplateDocUser}}
   −
This page is a tutorial to explain how to install Dolibarr ERP-CRM on the Zend Cloud Platform, called PHPCloud (http://phpcloud.com)
+
 
 +
[[File:warning.png]] '''This service has been closed by Zend !'''
 +
 
 +
 
 +
This page is a tutorial to explain how to install Dolibarr ERP-CRM on the Zend Cloud Platform, called PHPCloud (http://phpcloud.com).
 +
 
 +
You can use this platform, however we do not recommand Zend PHPCloud as a production usage for the following reason:
 +
* Support is not efficient. Dolibarr team has found several bug and problems onto this platform but Zend team does not answered our feedback.
 +
* You can't make backup of your database, because the binary required for this ('''mysqldump''' tool) can't be reach.
 +
* To access your instance using SFTP, you need a certificate but you can install only one certificate. This mean, you can't ask a thirdparty support team (commercial service or not) to help you (this third party will not be able to install its own certificate to get access to file need to diagnose/fix your problem).
 +
* Policy of the future of this platform is not clear and Zend does not provide information/guarantee. It's seems this platform is only dedicated to test/development purposes.
 +
For all those reason, we provide tutorial but we recommend using any other platform (For example DoliCloud: https://www.dolicloud.com?utm_source=wikizend).
    
= Create an account =
 
= Create an account =
Line 20: Line 33:     
= Submit Dolibarr files =
 
= Submit Dolibarr files =
With a SFTP client, connect to your PHPCould file system. Information to configure your SFTP software is :
+
With a SFTP client, connect to your PHPCloud file system. Information to configure your SFTP software is :
 
* User name: mycontainer
 
* User name: mycontainer
 
* Host name: mycontainer.my.phpcloud.com
 
* Host name: mycontainer.my.phpcloud.com
 
* Port: 22 (this is the default SFTP port and usually there is no need to specify this)
 
* Port: 22 (this is the default SFTP port and usually there is no need to specify this)
* RSA Private Key: the path to your private key file
+
* RSA Private Key: the path to your private key file (you can download this private key from the "Access Keys" button inside your "My Account" in PHPCloud account)
    
With this information, you can connect with SFTP to the PHPCloud file system. It contains by default only a directory '''applications/container-root/public'''
 
With this information, you can connect with SFTP to the PHPCloud file system. It contains by default only a directory '''applications/container-root/public'''
Line 32: Line 45:  
Upload all files into htdocs directory of Dolibarr package into this '''public''' directory.
 
Upload all files into htdocs directory of Dolibarr package into this '''public''' directory.
   −
Once this is done, edit (with your SFTP software) permissions on directory '''applications/containrer-root/public/conf''' to be writable for the group (by default permission are read-write for user and read only for group).
+
Once this is done, edit (with your SFTP software) permissions on directory '''applications/container-root/public/conf''' to be writable for the group (by default permission are read-write for user and read only for group).
 +
 
 +
[[File:Warning.png]] Note: If you edit a file from your SFTP client, group on remote filesystem is modified with group of your users instead of staying the group of web server. This means file could not be reach by your application. If this occurs, delete file and resubmit it. Group owner should be restored to group of web server (id of group must differs from id of user).
    
= Run Dolibarr install Wizard =
 
= Run Dolibarr install Wizard =
Line 45: Line 60:  
* database password: '''mycontainer password'''
 
* database password: '''mycontainer password'''
   −
At the end of install process, if you get a blank page when going on '''http://mycontainer.my.phpcloud.com/''', you must before restart the PHPserver on PHPCloud plateform.  
+
[[File:Warning.png]] Note: At the end of install process, if you get a blank page when going on '''http://mycontainer.my.phpcloud.com/''', you must before restart the PHPserver on PHPCloud plateform.  
 
For this, login onto PHPCloud, click on link to "mycontainer", then click on '''Access Zend Server'''. Click on Button "Restart PHP" at bottom right.
 
For this, login onto PHPCloud, click on link to "mycontainer", then click on '''Access Zend Server'''. Click on Button "Restart PHP" at bottom right.
 
After few second, try again to go on Dolibarr with '''http://mycontainer.my.phpcloud.com/'''. You should reach the Dolibarr login page.
 
After few second, try again to go on Dolibarr with '''http://mycontainer.my.phpcloud.com/'''. You should reach the Dolibarr login page.
 +
 +
[[File:Warning.png]] Note: Login to Zend server does not work correctly sometimes. You are asked a password and go back to login page even if password is correct. If this occurs, after entering password, go again on phpcloud.com, click again on '''http://mycontainer.my.phpcloud.com/''' then on link '''Access Zend Server'''. You should reach Zend server with no password asked.
    
= Outgoing Email Settings =
 
= Outgoing Email Settings =
Once dolibvarr application is working, to allow your PHP to send emails (using the php function mail), you must configure a SMTP provider.
+
Once dolibarr application is working, to allow your PHP to send emails (using the php function mail), you must configure a SMTP provider.
 
Go into menu '''Configuration - Outgoings EMails settings''', and enter all information for your SMTP provider.
 
Go into menu '''Configuration - Outgoings EMails settings''', and enter all information for your SMTP provider.
   −
Example to use GMail SMTP server (click on image to enlarge):
+
Example to use GMail SMTP server (click twice on image to enlarge):
 
   
 
   
[[File:Phpcloud_email_setup.png|600px]]
+
[[File:Phpcloud_email_setup.png|400px]]
 +
 
 +
You can send test to send an email from Dolibarr menu: Home - Setup - EMails