Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
How to install OpenERP 6.1 rc1OpenERP server and web client installation on a VMWare virtual machine       (you can apply ...
Prepare the Linux server•   OpenERP needs a GNU Linux distribution.•   OpenERP is optimized for the Ubuntu distribution•  ...
Other distributions•   The 6.1 rc1 package is optimized for the Ubuntu distribution. Ubuntu    is based on the Debian dist...
Finish the server installation•   If you install on a VMWare machine, you can disable the error messages from    the ssh t...
openerp-server installation•   We modify the source list with nano    sudo apt-get install nano    sudo nano  /etc/apt/sou...
openerp-server installation•   Now, we can update the source list    sudo apt-get update    sudo apt-get install openerp• ...
OpenERP web installation•   We need to recover the last version available on the launchpad (we use the    2225 for this tu...
OpenERP web installation•   We rename and we open the folder of the web client    mv ~openerp openerp-web    cd openerp-we...
OpenERP web installation•   Now we start the python installation    sudo python setup.py install•   We restart openerp to ...
Minimal security settings•   We’ll see some security settings for your test machine•   We’ll use a proxy Apache for the we...
Apache configuration•   We need to edit the default and default-ssl configuration files    sudo nano /etc/apache2/sites-avail...
Apache configuration•   We modify the default-ssl file now    sudo nano /etc/apache2/sites-available/default-ssl•   We add a...
Apache configuration•   Save with ctrl+x•   We need to restart Apache to take in account the modification    sudo a2ensite d...
Make your server safe•   We activate the firewall for the openerp user (created automatically by the package)    apt-get in...
Make your server safe•   Other ports (webdav, ftp…) can be opened according to your needs. For this server we just allow s...
It’s finish !•   The OpenERP v6.1 rc1 installation is now finished. You can use your    web client or standard desktop softw...
Follow us onwww.easyopenerp.com
Upcoming SlideShare
Loading in …5
×

How to install openerp 6.1 rc1

6,612 views

Published on

Visit www.easyopenerp.com for more info
Download our VMWare virtual machine at this address : http://www.easyopenerp.com/machine-de-test-6-1-rc1-a-telecharger/
This tutorial shows how to install the last OpenERP 6.1 rc1 version : Linux server installation, openerp-server installation, OpenERP web installation, some security settings, Apache configuration

Published in: Business, Technology
  • Be the first to comment

How to install openerp 6.1 rc1

  1. 1. How to install OpenERP 6.1 rc1OpenERP server and web client installation on a VMWare virtual machine (you can apply the same principe for a physical server)
  2. 2. Prepare the Linux server• OpenERP needs a GNU Linux distribution.• OpenERP is optimized for the Ubuntu distribution• To test OpenERP v6.1 rc1, you can use a old PC with 512Mo of RAM until 10 users
  3. 3. Other distributions• The 6.1 rc1 package is optimized for the Ubuntu distribution. Ubuntu is based on the Debian distribution, so it will possible to install on it• Others distributions (Red Hat, CentOS...) will need a manual installation of the dependancies
  4. 4. Finish the server installation• If you install on a VMWare machine, you can disable the error messages from the ssh terminal with the following commands sudo locale-gen fr_FR.UTF-8 sudo reboot• At the end of the Ubuntu installation, it is better to update it before to launch the OpenERP installation sudo apt-get update sudo apt-get dist-upgrade
  5. 5. openerp-server installation• We modify the source list with nano sudo apt-get install nano sudo nano  /etc/apt/sources.list• Add at the end of the file, add the following line (save with ctrl+x) deb http://nightly.openerp.com/6.1/deb/ ./
  6. 6. openerp-server installation• Now, we can update the source list sudo apt-get update sudo apt-get install openerp• At the moment you can not use the web client
  7. 7. OpenERP web installation• We need to recover the last version available on the launchpad (we use the 2225 for this tutorial) https://code.launchpad.net/~openerp/openerp-web/trunk• To recover the web client, we use wget command wget http://bazaar.launchpad.net/~openerp/openerp-web/trunk/tarball/2225• Now we can decompress it tar xvf 2225
  8. 8. OpenERP web installation• We rename and we open the folder of the web client mv ~openerp openerp-web cd openerp-web/openerp-web/trunk/• Now we install the dependancies and the gcc compiler sudo apt-get install python-setuptools
  9. 9. OpenERP web installation• Now we start the python installation sudo python setup.py install• We restart openerp to take in account the web client sudo /etc/init.d/openerp restart• You can now test the web client at the following address : http://yourIP: 8069
  10. 10. Minimal security settings• We’ll see some security settings for your test machine• We’ll use a proxy Apache for the web client communication sudo aptitude -y install apache2 sudo a2enmod ssl rewrite proxy_http headers
  11. 11. Apache configuration• We need to edit the default and default-ssl configuration files sudo nano /etc/apache2/sites-available/default• After this line : ServerAdmin webmaster@localhost we add a redirection to https with your IP address by replacing 192.168.0.13 ServerName 192.168.0.13 Redirect / https://192.168.0.13/• Save the modification with ctrl+x
  12. 12. Apache configuration• We modify the default-ssl file now sudo nano /etc/apache2/sites-available/default-ssl• We add after ServerAdmin webmaster@localhost (use your IP address) ServerName 192.168.0.13  <Proxy *> Order deny,allow Allow from all </Proxy> ProxyRequests Off ProxyPass        /   http://127.0.0.1:8069/ ProxyPassReverse /   http://127.0.0.1:8069/ SetEnv proxy-nokeepalive 1 
  13. 13. Apache configuration• Save with ctrl+x• We need to restart Apache to take in account the modification sudo a2ensite default-ssl sudo /etc/init.d/apache2 restart
  14. 14. Make your server safe• We activate the firewall for the openerp user (created automatically by the package) apt-get install ufw• We open the ssh port for no local connexion sudo ufw allow ssh• Open the https port for a web client for a safe web client connexion sudo ufw allow https• We lock the unsecure ports sudo ufw deny 8069 sudo ufw deny 8070
  15. 15. Make your server safe• Other ports (webdav, ftp…) can be opened according to your needs. For this server we just allow ssh and https sudo ufw default allow sudo ufw enable• It is possible to restrict listening network interface by adding the following commands into the OpenERP configuration file (/etc/openerp/openerp.conf) xmlrpc_interface = 127.0.0.1 xmlrpc_port = 8069 netrpc_interface = 127.0.0.1 netrpc_port = 8070• To finish, you can install Denyhosts than allows you to blacklist all IP trying to connect in ssh sudo apt-get install denyhosts
  16. 16. It’s finish !• The OpenERP v6.1 rc1 installation is now finished. You can use your web client or standard desktop software• For a production machine the configuration can be improved (security, supervision, tuning Postgreql…)
  17. 17. Follow us onwww.easyopenerp.com

×