forked from frappe/erpnext
-
Notifications
You must be signed in to change notification settings - Fork 0
Installing ERPNext on Ubuntu
anandpdoshi edited this page May 28, 2012
·
2 revisions
Note:
- user input is indicated using (-->)
- a comment is indicated using (#)
sudo apt-get install vim
sudo apt-get install git
sudo apt-get install apache2
sudo apt-get install mysql-server
--> root password: erpnext
sudo apt-get install libmysqlclient-dev
sudo apt-get install python-dev
sudo apt-get install python-mysqldb
sudo apt-get install python-setuptools
sudo easy_install pip
sudo pip install pytz
sudo pip install --upgrade python-dateutil
sudo pip install jinja2
sudo pip install markdown2
sudo pip install termcolor
cd /var/www
sudo git clone git://github.com/webnotes/erpnext.git
cd /var/www/erpnext
sudo python install_erpnext.py
--> MySQL Root user's Password: erpnext
--> New ERPNext Database Name: erpnext
--> New ERPNext Database's Password: erpnext
cd /var/www
sudo chown -R www-data:www-data erpnext
# to enable rewrite engine for apache
sudo a2enmod rewrite
sudo vim /etc/apache2/httpd.conf
# content of httpd.conf
SetEnv PYTHON_EGG_CACHE /var/tmp
Listen 8080
<VirtualHost *:8080>
ServerName *
DocumentRoot /var/www/erpnext/public/
AddHandler cgi-script .cgi .xml
Options -Indexes +FollowSymLinks +ExecCGI
RewriteEngine on
RewriteRule \.py - [F]
## uncomment below lines if required
#Order allow,deny
#Allow from all
DirectoryIndex index.html index.cgi
</VirtualHost>
Start Mozilla Firefox and go to: http://localhost:8080