代码拉取完成,页面将自动刷新
同步操作将从 ApulisPlatform/Apulis AI Platform 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
#!/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
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。