Installation Of OpenERP Server 5.0, OpenERP GTK Client 5.0 And OpenERP Web Client 5.0.1 On Ubuntu Server 9.04 - Page 3
HTTPS with Apache$ sudo apt-get install apache2 $ sudo a2enmod ssl $ sudo a2ensite default-ssl $ sudo /etc/init.d/apache2 restart
Forcing Apache to redirect HTTP traffic to HTTPSChoose a ServerName/URL for your OpenERP Web service, like openerpweb.com: $ sudo vi /etc/apache2/sites-available/default <VirtualHost *:80> ServerName openerpweb.com Redirect / https://openerpweb.com/ ... ... </VirtualHost> $ sudo a2enmod proxy $ sudo a2enmod proxy_http $ sudo a2enmod proxy_connect $ sudo a2enmod proxy_ftp Add your server’s IP address and URL in /etc/hosts: $ sudo vi /etc/hosts Replace 127.0.0.1 localhost 127.0.1.1 yourhostname With 127.0.0.1 localhost 192.168.x.x openerpweb.com yourhostname $ sudo vi /etc/apache2/sites-available/default-ssl <VirtualHost *:443> ServerAdmin webmaster@localhost ServerName openerpweb.com <Proxy *> Order deny,allow Allow from all </Proxy> ProxyRequests Off ProxyPass / http://127.0.0.1:8080/ ProxyPassReverse / http://127.0.0.1:8080/ ... </VirtualHost> Restart Apache: $ sudo /etc/init.d/apache2 restart Check out your URL with a browser: http://openerpweb.com.
Block OpenERP Web server port 8080 with a firewallDo it locally as the first command will close all the existing ssh connections: $ sudo ufw enable $ sudo ufw allow ssh $ sudo ufw allow http $ sudo ufw allow https Add the following lines: Ubuntu Server 9.0.4: $ sudo vi /etc/openerp-web.cfg Ubuntu Desktop 9.0.4: $ sudo vi /usr/lib/python2.5/site-packages/openerp_web-5.0.1_0-py2.5.egg/config/default.cfg base_url_filter.on = True !Be careful with the quotation marks in config files like the last one! if you copy and paste, be sure the text you copy from is preformatted or you might not be able to start openerp-web INIT script (/etc/init.d/openerp-web start). The previous three lines have been preformatted. Type the quotation marks if you encounter problems or you want to be sure. Restart openerp-web: $ sudo /etc/init.d/openerp-web restart Check out again your server’s URL http://openerpweb.com. Administrator: admin / openerp Demo user: demo / demo Restart the server with “sudo init 6” and make sure that all the openerp processes are started automatically as non-root.
References & Demo ServerOpenERP Video guides can be found at http://www.openerp.tv. Demonstrations (Login: demo / Password: demo): http://openerp.com/en/discover/demonstration.html Open Object is an open source Rapid Application Development framework in Python: http://openobject.com Another demo server can be found at https://openerp.zikzakmedia.com , with the following users and passwords:
Open ERP Spain: http://www.openerpspain.com/ Open ERP Site (Spanish) http://www.openerpsite.com/ Open ERP modules for Spain (a must read): http://www.openerpsite.com/modulos-de-localizacion-espanola/322.html How to download modules and latest versions from Launchpad (in Spanish) http://www.openerpsite.com/proyectos-openerp Install extra modules: http://openerpwiki.citrusconsultants.com/wiki/index.php/Install_extra_modules Global Module Index: http://doc.openerp.com/modindex.html Another real budget (in Spanish, a must read): http://www.openerpsite.com/otro-presupuesto-real/416.html Useful advices (in Spanish, a must read): http://www.openerpsite.com/consejos Original article written by the author can be found at http://opensourceconsulting.wordpress.com/2009/06/17/installation-of-openerp-server-5-0-openerp-gtk-client-5-0-and-openerp-web-client-5-0-1-on-ubuntu-server-9-0-4/ SHELL SCRIPT TO AUTOMATE THE INSTALLATION OF OPENERP-SERVER 5.0 WITH OPENERP-WEB 5.0.1 ON UBUNTU 9.0.4A Shell script written by the author eases and automates the installation of openerp-server 5.0 with openerp-web 5.0.1 for Ubuntu 9.0.4: http://opensourceconsulting.wordpress.com/2009/06/29/openerp-server-5-0-openerp-web-5-0-1-installation-script-on-ubuntu-9-0-4-sh/FAQ1. start-openerp-web fails with the following error:
|
![]() | Please do not use the comment function to ask for help! If you need help, please use our forum. Comments will be published after administrator approval. |



Recent comments
11 hours 8 min ago
13 hours 36 min ago
1 day 1 hour ago
1 day 4 hours ago
1 day 8 hours ago
1 day 14 hours ago
2 days 4 min ago
2 days 1 hour ago
2 days 9 hours ago
2 days 11 hours ago