1 Star 0 Fork 93

Sean/Apulis AI Platform

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
install_prerequisites.sh 1.92 KB
一键复制 编辑 原始数据 按行查看 历史
250lth 提交于 2020-05-06 17:00 . merged from microsoft v1.5
#!/bin/bash
sudo apt-get update
sudo apt-get update && sudo apt-get --no-install-recommends install -y \
apt-utils \
software-properties-common \
build-essential \
cmake \
git \
curl \
wget \
protobuf-compiler \
python-dev \
python-numpy \
python-pip \
cpio \
mkisofs \
apt-transport-https \
openssh-client \
ca-certificates \
vim \
sudo \
git-all \
sshpass \
bison \
libcurl4-openssl-dev libssl-dev
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
sudo add-apt-repository \
"deb [arch=amd64] https://download.docker.com/linux/ubuntu \
$(lsb_release -cs) \
stable"
sudo apt-key fingerprint 0EBFCD88
# Install docker
echo "Docker Installation .... "
sudo apt-get update
sudo apt-get --no-install-recommends install -y docker-ce
echo "PIP installation .... "
sudo pip install --upgrade pip
sudo pip install setuptools
sudo pip install pyyaml jinja2 flask flask.restful tzlocal pycurl
AZ_REPO=$(lsb_release -cs)
echo "deb [arch=amd64] https://packages.microsoft.com/repos/azure-cli/ $AZ_REPO main" | \
sudo tee /etc/apt/sources.list.d/azure-cli.list
sudo apt-key --keyring /etc/apt/trusted.gpg.d/Microsoft.gpg adv \
--keyserver packages.microsoft.com \
--recv-keys BC528686B50D79E339D3721CEB3E94ADBE1229CF
sudo apt-key adv --keyserver packages.microsoft.com --recv-keys 417A0893
sudo apt-get --no-install-recommends install -y apt-transport-https
sudo apt-get update && sudo apt-get --no-install-recommends install -y azure-cli
# Disable Network manager.
if [ -f /etc/NetworkManager/NetworkManager.conf ]; then
sed "s/^dns=dnsmasq$/#dns=dnsmasq/" /etc/NetworkManager/NetworkManager.conf > /tmp/NetworkManager.conf && sudo mv /tmp/NetworkManager.conf /etc/NetworkManager/NetworkManager.conf
sudo service network-manager restart
fi
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Python
1
https://gitee.com/dragonzs-xu/Apulis-AI-Platform.git
git@gitee.com:dragonzs-xu/Apulis-AI-Platform.git
dragonzs-xu
Apulis-AI-Platform
Apulis AI Platform
v1.5.0

搜索帮助