OpenERP installation documentation server environment: ubuntu12.04-server-amd64 Convention: red for the need to execute the command to install Ubuntu, first configure the network, ensure that the server can access the Internet. In the/etc/network/interface settings, use apt-get update & apt-get upgrade to update the server software package. Ensure that the software package is up to date .. Then install the database postgresql): sudo apt-get install postgresql // postgresql Version 8.4 creates a database account and password: sudo su postgres // switch to postgres user createuser openerp // create the account and password used by openerp Shall the new role be a superuser? (Y/n) y psql template1 alter role openerp with password 'cmds'; install all the libraries required by python: sudo apt-get install python-dateutil python-feedparser python-gdata python-ldap python-libxslt1 python-lxml python-mako python-openid python-psycopg2 python-pybabel python-pychart python-pydot python-pyparsing python-reportlab python-simplejson python-tz python-vatnumber python-vobject python-webdav python-werkzeug Python-xlwt python-yaml python-zsi update source in Ubuntu/etc/apt/sources. add a line in list: deb http://nightly.openerp.com/7.0/nightly/deb. /* update source: sudo apt-get update * upgrade all kits: sudo apt-get upgrade install openerp: sudo apt-get install openerp can be accessed through the browser after the installation is complete. Http: // hostname: 8069 a new database is required when you first browse the database. Enter the new database name and administrator password and click "create. As a result, the rest is to install the module slowly for testing.
Note:A module is also added because of text display problems in Chinese reports. 1. First download the installation module:
Wget unzip cp oecn_base_fonts.zip/usr/lib/pymodules/python2.7/openerp/addons3. unzip the downloaded file. to decompress the ZIP file in Ubuntu, you must first download unzip. Sudo apt-get install unzip4. run the extract command: sudo unzip oecn_base_fonts.zip5 in/usr/lib/pymodules/python2.7/openerp/addons. restart the server: sudo service openerp restart6. use admin to log on to the openerp page and choose "Settings"> "module"> "Run installed upgrade". If this menu is not displayed, in the admin account, modify the access permission, select "Technical Features", and log on again ). 7. search "oecn" in "Settings"> "modules"> "installable modules" to view and install the new modules. 8. install the Chinese font in Ubuntu: $ sudo apt-get install ttf-wqy-zenhei // install the font $ sudo apt-get install ttf-wqy-microhei // install the font 9. finally, in "Settings"> "Settings"> "general settings", find RML Rrepot Font, set the Font Url to/usr/share/fonts/truetype/wqy/wqy-zenhei.ttc and check CJK Wrap 10. the problem of the Chinese report has been set up.
Remove the "Manage Databases" button from the OpenERP logon interface.In the production environment, remove the "Manage Databases" button on the logon interface to ensure security. Modify base. xml file. Remove the MD link directly. by removing the MD link, other users are not allowed to perform database management. this method is also tested. base in ubuntu. the xml file is stored in "/usr/share/pyshared/openerp/addons/web/static/src/xml/". The operation steps are as follows. run the following command to enter "sudo vi/usr/share/pyshared/openerp/addons/web/static/src/xml/base. xml "(excluding pre-and last double quotation marks) 2. find Row 3, which contains the keyword "Manage Databases", and delete the row.: wq: Save and quit. Back up the file before deleting.) 5. restart OpenERP: sudo/etc/init. d/openerp restartPhppgadmin web client to operate on postgresql database first install the graphics client phppga Dmin, install command line: apt-get install phppgadmin, then run the client and connect to the database. After installation, access http: // localhost/phppgadmin. Postgresql web management interface, login name to install the database when the user and password reference: http://blog.csdn.net/vnsofthttp://blog.sina.com.cn/kaiyuanlvzhou
This article is from the "Ma Yu" blog. For more information, contact the author!