Posts

Showing posts from January, 2011

Startup Script for openerp-server

Need 2 files to make daemon services on Ubuntu for openerp-server: openerp-server, openerp-server.conf  i)  openerp-server startup script, path: /etc/init.d/openerp-server # OpenERP Server Startup script # Provides: openerp-server # Required-Start: $syslog # Required-Stop: $syslog # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: OpenERP Server - the server # Description: OpenERP is a complete ERP and CRM software ## END INIT INFO PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin DESC=openerp-server NAME=openerp-server DAEMON=/home/joyal/openerp-erver5.0.14/bin/openerp-server.py # Specify the user name (Your Operating System user). USER="joyal" # Specifty an alternate config file (Default: ~/.openerp-serverrc) CONFIGFILE="/etc/openerp-server.conf" # pidfile PIDFILE=/var/run/$NAME.pid # Additional options that are passed to the Daemon DAEMON_OPTS="-c $CONFIGFILE" # Exit if the pack

Openerp5.0 Installation on Ubuntu

Here I am describing some quicksteps to setup openerp in your fresh ubuntu OS.   For more detail regarding any step, you can check openerp installation guide . 3 simple steps to follow: A) Necessary libraries for oepnerp server-gtkclient:      key in below given lines on gnome-terminal of ubuntu:      $ sudo su      $ apt-get install python-setuptools      $ apt-get install python-dev      $ apt-get install build-essential      $ apt-get install python-lxml      $ apt-get install python-psycopg2      $ apt-get install python-reportlab      $ apt-get install python-matplotlib      $ apt-get install python-pychart      $ apt-get install python-hippocanvas      $ apt-get install bzr B) Postgres Installation:            $ apt-get install postgresql      Create a role in PostgreSQL without any password with the same name as the Linux user who is going to run        the openerp-server:      $ sudo su postgres -c "createuser -d -S -R openerp&q

Magento Installation on Ubuntu with XAMPP

1. Installing & Setting up XAMPP Download latest  xampp-linux-1.7.3a.tar.gz version from  apache friends  and save it to a directory of your choice. On a  terminal execute:            sudo tar -xzvf xampp-linux-1.7.3a.tar.gz  -C /opt Follow the Steps 3 and 4  apache friends  link. 2. Installing Magento Now Where to set up magento folder. Download mangento and setup under /opt/lampp/htdocs.  f ollow below given few lines on your terminal:        sudo su       cd /opt/lampp/htdocs       mkdir magentosite       cd magentosite Download Latest magento version with demo data from Magentoecommerce site and copy that tar.gz  files under   /opt/lampp/htdocs/magentosite. Here, I am downloanding  magento-1.4.2.0.tar.gz (magento version),  magento-sample-data-1.2.0.tar.gz        cp magento-1.4.2.0.tar.gz /opt/lampp/htdocs/magentosite/      cp magento-sample-data-1.2.0.tar.gz /opt/lampp/htdocs/magentosite/       Uncompress downloaded files