AMI MDS安装

使用普通用户安装,sudo的地方需要加sudo

1 设置默认python为2.7

sudo apt update
sudo apt install python-is-python3 python2.7  python2
# 重启终端后往下执行
sudo update-alternatives --install /usr/bin/python python /usr/bin/python2 100
sudo update-alternatives --install /usr/bin/python python /usr/bin/python3 150
sudo update-alternatives --config python 
# 之后输入"1",选择/usr/bin/python2
# 验证:输入"python" 显示>>> Python 2.7.18 

2 安装PIP

sudo apt-get install curl 
curl https://bootstrap.pypa.io/pip/2.7/get-pip.py -o get-pip.py
sudo python2.7 get-pip.py

3 安装SPX依赖

# 进入 13.3/Linux 目录
chmod 777 * 
# 修正 pre-requisites.sh 文件第一行为"#! /bin/bash",很重要
sudo ./pre-requisites.sh  

4 安装其他

sudo apt-get install luajit cppcheck ssh-askpass
**luajit可能需要安装2.0.5版本**

5 安装MDS

sudo ./mds*.run

你可能感兴趣的:(Linux,chrome,python,前端)