sudo yum install -y readline-devel sqlite-devel bzip2-devel.i686 \ openssl-devel.i686 gdbm-devel.i686 libdbi-devel.i686 ncurses-libs cd /tmp # install zlib manually because the default one for centos is too old wget http://zlib.net/zlib-1.2.8.tar.gz tar -zxvf zlib-1.2.8.tar.gz cd zlib-1.2.8 ./configure make & sudo make install # install Python 2.7.6 wget https://www.python.org/ftp/python/2.7.6/Python-2.7.6.tgz tar -zxvf Python-2.7.6.tgz cd Python-2.7.6 # IMPORTANT! ./configure --enable-shared --enable-unicode=ucs4 # IMPORTANT! make & sudo make altinstallYou also need to install setuptools, pip, and virtualenv before running Dato. The installation steps however are standard, see e.g., here for details.
Sunday, November 9, 2014
Install Dato on CentOS 6.4
Dato needs Python 2.7, while CentOS uses Python 2.6. So first you have to install Python 2.7 as an alternative build of Python on your system, as well as the libraries needed to compile Python modules:
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment