前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
工具
TVP
发布
社区首页 >专栏 >install project on preferati

install project on preferati

作者头像
pydata
发布2018-08-02 11:39:11
4570
发布2018-08-02 11:39:11
举报
文章被收录于专栏:pydatapydatapydata

Install OpenQuant Project

    sudo apt-get install nginx
    sudo apt-get install git
    sudo apt-get install mysql-server
    sudo apt-get install python-dev
    install easy_install on ubuntu:
    sudo apt-get install python-setuptools
    sudo easy_install virtualenv
    sudo easy_install pip
    virtualenv ~/trade
    source ~/trade/bin/activate
    install numpy scipy pandas and ta-lib
    sudo pip install Cython

due to blas libs

    sudo apt-get install gfortran libopenblas-dev liblapack-dev g++
    pip install numpy
    pip install scipy

install ta-lib

    cd ~
    wget http://prdownloads.sourceforge.net/ta-lib/ta-lib-0.4.0-src.tar.gz
    sudo apt-get  install  build-essential
    tar -zxvf ta-lib-0.4.0-src.tar.gz
    cd ta-lib-0.4.0
    ./configure --prefix=/usr
    make
    sudo make install

install gevent

    wget https://github.com/downloads/libevent/libevent/libevent-2.0.21-stable.tar.gz
    tar -zxvf 
    ./configure
    make 
    sudo make install
    cd ~/www
    git clone https://github.com/pydata/pandas.git
    git clone https://github.com/mrjbq7/ta-lib.git

update the nginx

    sudo apt-get install python-software-properties
    sudo apt-get install sotware-properties-common
    sudo add-apt-repository ppa:nginx/stable
    sudo apt-get update
    sudo apt-get install nginx

mysql init

    sudo apt-get install mysql-server libmysqld-dev
    pip install MySQL-python
    insert into mysql.user(Host,User,Password) values("localhost","username",password("password"));

用户授权 给本地用户mql分配可对所有数据库的所有表进行所有操作的权限,并设定口令为123456。

    mysql>grant all privileges on *.* to username@localhost identified by 'password';

install redis 具体参考install redis

uwsgi or gunicorn(optional)

本文参与 腾讯云自媒体分享计划,分享自作者个人站点/博客。
原始发表:2013年10月27日,如有侵权请联系 cloudcommunity@tencent.com 删除

本文分享自 作者个人站点/博客 前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

本文参与 腾讯云自媒体分享计划  ,欢迎热爱写作的你一起参与!

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
相关产品与服务
云数据库 Redis
腾讯云数据库 Redis(TencentDB for Redis)是腾讯云打造的兼容 Redis 协议的缓存和存储服务。丰富的数据结构能帮助您完成不同类型的业务场景开发。支持主从热备,提供自动容灾切换、数据备份、故障迁移、实例监控、在线扩容、数据回档等全套的数据库服务。
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档