Cloud with Zend PHPCloud

From Dolibarr ERP CRM Wiki
Jump to navigation Jump to search

This page is a tutorial to explain how to install Dolibarr ERP-CRM on the Zend Cloud Platform, called PHPCloud (http://phpcloud.com)

Create an account

Go on https://my.phpcloud.com/ and create your PHPCloud account.

Once account is created and confirmed, be sure your public certificate has been declared. For this go on menu Access Keys and upload your public key.

Create an instance

Go on https://my.phpcloud.com/, login with your PHPCloud account, then click on Deployed Applications - Add to add a new container.

Provide a name to your container, for example mycontainer and a login/password dedicated to this container. Do not click on Configure outgoing email server (SMTP) for the moment, we will do this later. Click on Create containrer.

After few seconds, your container is ready and a demo web application is available at https://mycontainer.my.phpcloud.com/.

Submit Dolibarr files

With a SFTP client, connect to your PHPCould file system. Information to configure your SFTP software is :

User name: mycontainer
Host name: mycontainer.my.phpcloud.com
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

With this information, you can connect with SFTP to the PHPCloud file system. It contains by default only a directory applications/containrer-root/public

Upload all files into htdocs directory of Dolibarr packages 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, you can call the page http://mycontainer.my.phpcloud.com/

This will present the Dolibarr install wizard.

Outgoing Email Settings

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.

Example to use GMail SMTP server (click on image to enlarge):

Phpcloud email setup.png