一、安装python环境,需要python需要2.7.9
yum upgrade python-setuptools
yum install zlib-devel
yum install bzip2-devel
yum install openssl-devel
yum install ncurses-devel
yum install sqlite-devel
cd /opt
wget --no-check-certificate https://www.python.org/ftp/python/2.7.9/Python-2.7.9.tar.xz
tar xf Python-2.7.9.tar.xz
cd Python-2.7.9
./configure --prefix=/usr/local
make && make altinstall
ln -s /usr/local/bin/python2.7 /usr/local/bin/python
python -V
二、安装pip,先安装easyinstall
wget https://bootstrap.pypa.io/ez_setup.py
python ez_setup.py
easy_install pip
三、安装caravel及其样例
yum upgrade python-setuptools
yum install zlib-devel
yum install bzip2-devel
yum install openssl-devel
yum install ncurses-devel
yum install sqlite-devel
cd /opt
wget --no-check-certificate https://www.python.org/ftp/python/2.7.9/Python-2.7.9.tar.xz
tar xf Python-2.7.9.tar.xz
cd Python-2.7.9
./configure --prefix=/usr/local
make && make altinstall
ln -s /usr/local/bin/python2.7 /usr/local/bin/python
python -V
二、安装pip,先安装easyinstall
wget https://bootstrap.pypa.io/ez_setup.py
python ez_setup.py
easy_install pip
三、安装caravel及其样例
#
安装sasl
yum install cyrus-sasl-lib.x86_64
yum install cyrus-sasl-devel.x86_64
# Install caravel
pip install caravel
# Create an admin user,全部填写admin即可
fabmanager create-admin --app caravel
# Initialize the database
caravel db upgrade
# Create default roles and permissions
caravel init
# Load some data to play with
caravel load_examples
# Start the development web server
caravel runserver -p 8088
四、http://yourhost:8088可以访问
pip install caravel
# Create an admin user,全部填写admin即可
fabmanager create-admin --app caravel
# Initialize the database
caravel db upgrade
# Create default roles and permissions
caravel init
# Load some data to play with
caravel load_examples
# Start the development web server
caravel runserver -p 8088
四、http://yourhost:8088可以访问