cd /opt wget http://nightly.odoo.com/8.0/nightly/deb/odoo_8.0.20141211_all.deb adduser --system --quiet --shell=/bin/bash --home=/home/odoo --gecos 'ODOO' --group odoo apt-get update apt-get install postgresql su - postgres -c "createuser -s odoo" 2> /dev/null || true su - postgres psql \password postgres SuperPG159 \password odoo Odoo8PW Ctrl+D exit apt-get install python-dateutil python-feedparser 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 python-docutils python-psutil python-mock python-unittest2 python-jinja2 python-pypdf python-decorator python-requests git-core python-passlib cd /opt wget http://gdata-python-client.googlecode.com/files/gdata-2.0.18.tar.gz tar zxvf gdata-2.0.18.tar.gz cd gdata-2.0.18/ python setup.py install rm -rf /opt/gdata-2.0.18/ cd /opt wget http://freefr.dl.sourceforge.net/project/wkhtmltopdf/0.12.1/wkhtmltox-0.12.1_linux-wheezy-amd64.deb dpkg -i wkhtmltox-0.12.1_linux-wheezy-amd64.deb ln -s /usr/local/bin/wkhtmltopdf /usr/bin ln -s /usr/local/bin/wkhtmltoimage /usr/bin cd /opt mkdir /var/lib/odoo dpkg -i ./odoo_8.0.20141211_all.deb cat << 'EOF' >> /etc/shorewall/rules # Odoo port 8069 ACCEPT:$LOG net fw tcp 8069 EOF /etc/init.d/shorewall stop /etc/init.d/shorewall start
Se logger sur l'ip et le port 8069