Coder Social home page Coder Social logo

titans's Introduction

Titans

微服务架构的整体Quant开发解决方案

python 虚拟环境

创建虚拟环境

python3 -m venv dev-env

激活虚拟环境

source dev-env/bin/activate

退出虚拟环境

deactivate

使用国内源

pip3 config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple dev-env

编译环境

dabian 12 & ubuntu

安装 gcc 12 & cmake3

apt install build-essential
apt install cmake

安装 libuv

apt install libuv1-dev

安装hiredis

apt install libhiredis-dev

安装 curl

apt install libcurl4-openssl-dev

安装mysql

apt install libmariadb-dev
#安装
apt-get install libgoogle-glog-dev
#卸载
apt-get remove libgoogle-glog-dev

安装 Apache Arrow

apt update
apt install -y -V ca-certificates lsb-release wget
wget https://apache.jfrog.io/artifactory/arrow/$(lsb_release --id --short | tr 'A-Z' 'a-z')/apache-arrow-apt-source-latest-$(lsb_release --codename --short).deb
apt install -y -V ./apache-arrow-apt-source-latest-$(lsb_release --codename --short).deb
apt update
apt install -y -V libarrow-dev # For C++
apt install -y -V libarrow-glib-dev # For GLib (C)
apt install -y -V libarrow-dataset-dev # For Apache Arrow Dataset C++
apt install -y -V libarrow-dataset-glib-dev # For Apache Arrow Dataset GLib (C)
apt install -y -V libarrow-acero-dev # For Apache Arrow Acero
apt install -y -V libarrow-flight-dev # For Apache Arrow Flight C++
apt install -y -V libarrow-flight-glib-dev # For Apache Arrow Flight GLib (C)
apt install -y -V libarrow-flight-sql-dev # For Apache Arrow Flight SQL C++
apt install -y -V libarrow-flight-sql-glib-dev # For Apache Arrow Flight SQL GLib (C)
apt install -y -V libgandiva-dev # For Gandiva C++
apt install -y -V libgandiva-glib-dev # For Gandiva GLib (C)
apt install -y -V libparquet-dev # For Apache Parquet C++
apt install -y -V libparquet-glib-dev # For Apache Parquet GLib (C)

centos7

安装 gcc 9

yum install centos-release-scl-rh -y
yum install devtoolset-9-build -y
yum install devtoolset-9-gdb* -y
yum install devtoolset-9-gcc devtoolset-9-gcc-c++ -y
source /opt/rh/devtoolset-9/enable

安装 redis 7

yum install -y http://rpms.famillecollet.com/enterprise/remi-release-7.rpm
yum --enablerepo=remi install redis

安装 libuv

yum install libuv-devel -y

安装 glog

yum install glog-devel -y
yum install gflags-devel -y

安装 hiredis

yum install hiredis-devel -y

安装 curl

yum install libcurl-devel -y

安装mysql

yum install mariadb-devel -y 

安装 Apache Arrow

sudo yum install -y epel-release || sudo yum install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-$(cut -d: -f5 /etc/system-release-cpe | cut -d. -f1).noarch.rpm
sudo yum install -y https://apache.jfrog.io/artifactory/arrow/centos/$(cut -d: -f5 /etc/system-release-cpe | cut -d. -f1)/apache-arrow-release-latest.rpm
yum install -y --enablerepo=epel arrow-devel # For C++
yum install -y --enablerepo=epel arrow-glib-devel # For GLib (C)
yum install -y --enablerepo=epel arrow-dataset-devel # For Apache Arrow Dataset C++
yum install -y --enablerepo=epel arrow-dataset-glib-devel # For Apache Arrow Dataset GLib (C)
yum install -y --enablerepo=epel parquet-devel # For Apache Parquet C++
yum install -y --enablerepo=epel parquet-glib-devel 

titans's People

Contributors

abramwang avatar

Stargazers

pseudocodes avatar Vincent yu avatar  avatar Wei Li avatar Baiwan Lu avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.