SlideShare une entreprise Scribd logo
1  sur  17
Télécharger pour lire hors ligne
How to install OpenERP 6.1 rc1
OpenERP server and web client installation on a VMWare virtual machine
       (you can apply the same principe for a physical server)
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
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
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
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/ ./
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
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
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
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
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
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
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 
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
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
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
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…)
Follow us on
www.easyopenerp.com

Contenu connexe

Dernier

Call Girls From Pari Chowk Greater Noida ❤️8448577510 ⊹Best Escorts Service I...
Call Girls From Pari Chowk Greater Noida ❤️8448577510 ⊹Best Escorts Service I...Call Girls From Pari Chowk Greater Noida ❤️8448577510 ⊹Best Escorts Service I...
Call Girls From Pari Chowk Greater Noida ❤️8448577510 ⊹Best Escorts Service I...
lizamodels9
 
Nelamangala Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
Nelamangala Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...Nelamangala Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
Nelamangala Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
amitlee9823
 
Quick Doctor In Kuwait +2773`7758`557 Kuwait Doha Qatar Dubai Abu Dhabi Sharj...
Quick Doctor In Kuwait +2773`7758`557 Kuwait Doha Qatar Dubai Abu Dhabi Sharj...Quick Doctor In Kuwait +2773`7758`557 Kuwait Doha Qatar Dubai Abu Dhabi Sharj...
Quick Doctor In Kuwait +2773`7758`557 Kuwait Doha Qatar Dubai Abu Dhabi Sharj...
daisycvs
 
Call Girls in Delhi, Escort Service Available 24x7 in Delhi 959961-/-3876
Call Girls in Delhi, Escort Service Available 24x7 in Delhi 959961-/-3876Call Girls in Delhi, Escort Service Available 24x7 in Delhi 959961-/-3876
Call Girls in Delhi, Escort Service Available 24x7 in Delhi 959961-/-3876
dlhescort
 
FULL ENJOY Call Girls In Majnu Ka Tilla, Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Majnu Ka Tilla, Delhi Contact Us 8377877756FULL ENJOY Call Girls In Majnu Ka Tilla, Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Majnu Ka Tilla, Delhi Contact Us 8377877756
dollysharma2066
 
Russian Call Girls In Rajiv Chowk Gurgaon ❤️8448577510 ⊹Best Escorts Service ...
Russian Call Girls In Rajiv Chowk Gurgaon ❤️8448577510 ⊹Best Escorts Service ...Russian Call Girls In Rajiv Chowk Gurgaon ❤️8448577510 ⊹Best Escorts Service ...
Russian Call Girls In Rajiv Chowk Gurgaon ❤️8448577510 ⊹Best Escorts Service ...
lizamodels9
 
Call Girls Jp Nagar Just Call 👗 7737669865 👗 Top Class Call Girl Service Bang...
Call Girls Jp Nagar Just Call 👗 7737669865 👗 Top Class Call Girl Service Bang...Call Girls Jp Nagar Just Call 👗 7737669865 👗 Top Class Call Girl Service Bang...
Call Girls Jp Nagar Just Call 👗 7737669865 👗 Top Class Call Girl Service Bang...
amitlee9823
 
Chandigarh Escorts Service 📞8868886958📞 Just📲 Call Nihal Chandigarh Call Girl...
Chandigarh Escorts Service 📞8868886958📞 Just📲 Call Nihal Chandigarh Call Girl...Chandigarh Escorts Service 📞8868886958📞 Just📲 Call Nihal Chandigarh Call Girl...
Chandigarh Escorts Service 📞8868886958📞 Just📲 Call Nihal Chandigarh Call Girl...
Sheetaleventcompany
 

Dernier (20)

(Anamika) VIP Call Girls Napur Call Now 8617697112 Napur Escorts 24x7
(Anamika) VIP Call Girls Napur Call Now 8617697112 Napur Escorts 24x7(Anamika) VIP Call Girls Napur Call Now 8617697112 Napur Escorts 24x7
(Anamika) VIP Call Girls Napur Call Now 8617697112 Napur Escorts 24x7
 
Call Girls From Pari Chowk Greater Noida ❤️8448577510 ⊹Best Escorts Service I...
Call Girls From Pari Chowk Greater Noida ❤️8448577510 ⊹Best Escorts Service I...Call Girls From Pari Chowk Greater Noida ❤️8448577510 ⊹Best Escorts Service I...
Call Girls From Pari Chowk Greater Noida ❤️8448577510 ⊹Best Escorts Service I...
 
Nelamangala Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
Nelamangala Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...Nelamangala Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
Nelamangala Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
 
Call Girls Ludhiana Just Call 98765-12871 Top Class Call Girl Service Available
Call Girls Ludhiana Just Call 98765-12871 Top Class Call Girl Service AvailableCall Girls Ludhiana Just Call 98765-12871 Top Class Call Girl Service Available
Call Girls Ludhiana Just Call 98765-12871 Top Class Call Girl Service Available
 
Quick Doctor In Kuwait +2773`7758`557 Kuwait Doha Qatar Dubai Abu Dhabi Sharj...
Quick Doctor In Kuwait +2773`7758`557 Kuwait Doha Qatar Dubai Abu Dhabi Sharj...Quick Doctor In Kuwait +2773`7758`557 Kuwait Doha Qatar Dubai Abu Dhabi Sharj...
Quick Doctor In Kuwait +2773`7758`557 Kuwait Doha Qatar Dubai Abu Dhabi Sharj...
 
Falcon Invoice Discounting: Empowering Your Business Growth
Falcon Invoice Discounting: Empowering Your Business GrowthFalcon Invoice Discounting: Empowering Your Business Growth
Falcon Invoice Discounting: Empowering Your Business Growth
 
Call Girls in Delhi, Escort Service Available 24x7 in Delhi 959961-/-3876
Call Girls in Delhi, Escort Service Available 24x7 in Delhi 959961-/-3876Call Girls in Delhi, Escort Service Available 24x7 in Delhi 959961-/-3876
Call Girls in Delhi, Escort Service Available 24x7 in Delhi 959961-/-3876
 
FULL ENJOY Call Girls In Majnu Ka Tilla, Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Majnu Ka Tilla, Delhi Contact Us 8377877756FULL ENJOY Call Girls In Majnu Ka Tilla, Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Majnu Ka Tilla, Delhi Contact Us 8377877756
 
Call Girls Service In Old Town Dubai ((0551707352)) Old Town Dubai Call Girl ...
Call Girls Service In Old Town Dubai ((0551707352)) Old Town Dubai Call Girl ...Call Girls Service In Old Town Dubai ((0551707352)) Old Town Dubai Call Girl ...
Call Girls Service In Old Town Dubai ((0551707352)) Old Town Dubai Call Girl ...
 
Unveiling Falcon Invoice Discounting: Leading the Way as India's Premier Bill...
Unveiling Falcon Invoice Discounting: Leading the Way as India's Premier Bill...Unveiling Falcon Invoice Discounting: Leading the Way as India's Premier Bill...
Unveiling Falcon Invoice Discounting: Leading the Way as India's Premier Bill...
 
Whitefield CALL GIRL IN 98274*61493 ❤CALL GIRLS IN ESCORT SERVICE❤CALL GIRL
Whitefield CALL GIRL IN 98274*61493 ❤CALL GIRLS IN ESCORT SERVICE❤CALL GIRLWhitefield CALL GIRL IN 98274*61493 ❤CALL GIRLS IN ESCORT SERVICE❤CALL GIRL
Whitefield CALL GIRL IN 98274*61493 ❤CALL GIRLS IN ESCORT SERVICE❤CALL GIRL
 
Russian Call Girls In Rajiv Chowk Gurgaon ❤️8448577510 ⊹Best Escorts Service ...
Russian Call Girls In Rajiv Chowk Gurgaon ❤️8448577510 ⊹Best Escorts Service ...Russian Call Girls In Rajiv Chowk Gurgaon ❤️8448577510 ⊹Best Escorts Service ...
Russian Call Girls In Rajiv Chowk Gurgaon ❤️8448577510 ⊹Best Escorts Service ...
 
Call Girls Jp Nagar Just Call 👗 7737669865 👗 Top Class Call Girl Service Bang...
Call Girls Jp Nagar Just Call 👗 7737669865 👗 Top Class Call Girl Service Bang...Call Girls Jp Nagar Just Call 👗 7737669865 👗 Top Class Call Girl Service Bang...
Call Girls Jp Nagar Just Call 👗 7737669865 👗 Top Class Call Girl Service Bang...
 
Eluru Call Girls Service ☎ ️93326-06886 ❤️‍🔥 Enjoy 24/7 Escort Service
Eluru Call Girls Service ☎ ️93326-06886 ❤️‍🔥 Enjoy 24/7 Escort ServiceEluru Call Girls Service ☎ ️93326-06886 ❤️‍🔥 Enjoy 24/7 Escort Service
Eluru Call Girls Service ☎ ️93326-06886 ❤️‍🔥 Enjoy 24/7 Escort Service
 
Dr. Admir Softic_ presentation_Green Club_ENG.pdf
Dr. Admir Softic_ presentation_Green Club_ENG.pdfDr. Admir Softic_ presentation_Green Club_ENG.pdf
Dr. Admir Softic_ presentation_Green Club_ENG.pdf
 
Malegaon Call Girls Service ☎ ️82500–77686 ☎️ Enjoy 24/7 Escort Service
Malegaon Call Girls Service ☎ ️82500–77686 ☎️ Enjoy 24/7 Escort ServiceMalegaon Call Girls Service ☎ ️82500–77686 ☎️ Enjoy 24/7 Escort Service
Malegaon Call Girls Service ☎ ️82500–77686 ☎️ Enjoy 24/7 Escort Service
 
Chandigarh Escorts Service 📞8868886958📞 Just📲 Call Nihal Chandigarh Call Girl...
Chandigarh Escorts Service 📞8868886958📞 Just📲 Call Nihal Chandigarh Call Girl...Chandigarh Escorts Service 📞8868886958📞 Just📲 Call Nihal Chandigarh Call Girl...
Chandigarh Escorts Service 📞8868886958📞 Just📲 Call Nihal Chandigarh Call Girl...
 
Falcon Invoice Discounting: Unlock Your Business Potential
Falcon Invoice Discounting: Unlock Your Business PotentialFalcon Invoice Discounting: Unlock Your Business Potential
Falcon Invoice Discounting: Unlock Your Business Potential
 
Organizational Transformation Lead with Culture
Organizational Transformation Lead with CultureOrganizational Transformation Lead with Culture
Organizational Transformation Lead with Culture
 
Uneak White's Personal Brand Exploration Presentation
Uneak White's Personal Brand Exploration PresentationUneak White's Personal Brand Exploration Presentation
Uneak White's Personal Brand Exploration Presentation
 

En vedette

Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Kurio // The Social Media Age(ncy)
 

En vedette (20)

PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
 
ChatGPT webinar slides
ChatGPT webinar slidesChatGPT webinar slides
ChatGPT webinar slides
 
More than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike RoutesMore than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike Routes
 
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
 
Barbie - Brand Strategy Presentation
Barbie - Brand Strategy PresentationBarbie - Brand Strategy Presentation
Barbie - Brand Strategy Presentation
 

How to install openerp 6.1 rc1

  • 1. How to install OpenERP 6.1 rc1 OpenERP server and web client installation on a VMWare virtual machine (you can apply the same principe for a physical server)
  • 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. 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. 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. 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. 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. 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. 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. 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. 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. 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. 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. 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. 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. 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. 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…)