ubuntu16.04服务器部署Python环境

一行一行执行就行了,你有办法的

sudo apt update
sudo apt install git
sudo apt install vim
sudo apt install tmux
sudo apt install zsh
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
tmux
sudo apt-get install libssl-devsudo
sudo curl -L https://raw.githubusercontent.com/yyuu/pyenv-installer/master/bin/pyenv-installer | bash
echo 'export PATH="~/.pyenv/bin:$PATH"' >> ~/.zshrc
echo 'eval "$(pyenv init -)"'  >> ~/.zshrc
echo 'eval "$(pyenv virtualenv-init -)"' >> ~/.zshrc
source ~/.zshrc
v=3.5.2|wget http://mirrors.sohu.com/python/$v/Python-$v.tar.xz -P ~/.pyenv/cache/;pyenv install $v
pyenv virtualenv 3.5.2 server
pyenv global server
pip install --upgrade pip
sudo apt isntall mysql-client
sudo apt install libmysqlclient-dev
sudo apt install mysql-server
sudo apt install postgresql

pycharm 最新注册方法lisence server :http://idea.iteblog.com/key.php

你可能感兴趣的:(python)