First thing of advice, when running odoo in vmware where ubuntu is installed as operating system. Configure the harddisk around 40gb and the memory at 3gb to get most optimize one.
#apply any patches and make sure your Ubuntu server is accessing the Internet
sudo apt-get update
sudo apt-get dist-upgrade
#reboot your server
sudo reboot
#install postgres
sudo apt-get install postgresql
#change over to the postgresql to set permissions on our development user
sudo su - postgres
createuser --createdb --username postgres --no-createrole --pwprompt devlynard
#python dependencies
sudo apt-get install python-cups python-dateutil python-decorator python-docutils python-feedparser
sudo apt-get install python-gdata python-geoip python-gevent python-imaging python-jinja2 python-ldap
sudo apt-get install python-libxslt1 python-lxml python-mako python-mock python-openid python-passlib
sudo apt-get install python-psutil python-psycopg2 python-pybabel python-pychart python-pydot python-pyparsing
sudo apt-get install python-pypdf python-reportlab python-requests python-simplejson python-tz python-unicodecsv
sudo apt-get install python-unittest2 python-vatnumber python-vobject
sudo apt-get install python-werkzeug python-xlwt python-yaml wkhtmltopdf
sudo apt-get install python-pip python-dev libevent-dev gcc libxml2-dev libxslt-dev node-less geoip-database-contrib
sudo apt-get install python-pip git-core
sudo pip install pika
#install git
sudo apt-get install git
#download odoo framework
git clone https://www.github.com/odoo/odoo --depth 1 --branch 9.0 --single-branch .
#Linux file sharing services compatible with Microsoft
sudo apt-get install samba samba-common-bin
sudo smbpasswd -a odoo
sudo nano /etc/samba/smb.conf
[homes]
comment = Home Directories
browseable = yes
read only = no
create mask = 0640
directory mask = 0750
sudo /etc/init.d/smbd restart
#Install subversion on Ubuntu
sudo apt-get install subversion
svn co --username <username> svn://172.18.6.230/repo2
sudo dpkg -l|grep subversion
svn –version
svn update
#to install rabbitvcs
sudo add-apt-repository ppa:rabbitvcs/ppa
sudo apt-get update
sudo apt-get install rabbitvcs-nautilus3
#installing PIP And PyPDF2 To Read PDF File With Python On Ubuntu Linux
sudo apt-get update
sudo apt-get -y install python-pip
pip --help
sudo pip install PyPDF2
#install pycharm in ubuntu
Download Pycharm
https://www.jetbrains.com/pycharm/download/#section=linux
Copy the pycharm-*.tar.gz to an empty directory
(make sure you have rw permissions for that directory)
Unpack the pycharm-*.tar.gz using the following command:
tar xfz pycharm-*.tar.gz
Remove the pycharm-*.tar.gz to save disk space (optional)
Run pycharm.sh from the bin subdirectory
NOTE: PyCharm on Linux doesn't need special installation or running any installation script. It runs out of the pycharm-*.tar.gz
https://www.jetbrains.com/pycharm/download/#section=linux
Copy the pycharm-*.tar.gz to an empty directory
(make sure you have rw permissions for that directory)
Unpack the pycharm-*.tar.gz using the following command:
tar xfz pycharm-*.tar.gz
Remove the pycharm-*.tar.gz to save disk space (optional)
Run pycharm.sh from the bin subdirectory
NOTE: PyCharm on Linux doesn't need special installation or running any installation script. It runs out of the pycharm-*.tar.gz
#additional libraries
sudo apt-get install python-yaml
pip install pytz
sudo pip install python-dateutil
sudo pip install tzlocal
No comments:
Post a Comment