Skip to content

Install ERPNext on RedHat based systems

Anand Doshi edited this page May 23, 2013 · 15 revisions

If not root user

sudo su

Installing Pre-Requisites

cd ~
yum update python -y
yum install python-setuptools MySQL-python httpd mysql mysql-server mysql-devel git memcached -y
easy_install pip
pip install pytz python-dateutil jinja2 markdown2 termcolor python-memcached requests chardet dropbox google-api-python-client pygeoip
service httpd start
service mysqld start
memcached -d -l 127.0.0.1 -p 11211 -m 64 -u apache
mysqladmin -u root password [NEW PASSWORD]

memcached -d -l 127.0.0.1 -p 11211 -m [64 or more mb of ram] -u apache

Other useful programs

yum install ntp vim screen -y
service ntpd start
wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm
rpm -i http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm
yum install htop -y

Complications faced by CPanel users

If you are using CPanel, you are likely to face perl dependency issues when installing git. To install git in this case, follow this procedure:

  1. vim /etc/yum.conf, remove perl* from exclude list and save the file
  2. yum install git -y
  3. vim /etc/yum.conf, add perl* back to exclude list and save the file

source: (http://forums.cpanel.net/f5/upcp-errors-due-dependeny-problems-centos-6-3-not-upgraded-centos-6-4-a-332102.html)[http://forums.cpanel.net/f5/upcp-errors-due-dependeny-problems-centos-6-3-not-upgraded-centos-6-4-a-332102.html]

Clone this wiki locally