当前位置:Gxlcms > Python > ubuntu16.04服务器部署Python环境方法

ubuntu16.04服务器部署Python环境方法

时间:2021-07-01 10:21:17 帮助过:89人阅读

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

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 | bashecho 'export PATH="~/.pyenv/bin:$PATH"' >> ~/.zshrcecho 'eval "$(pyenv init -)"'  >> ~/.zshrcecho 'eval "$(pyenv virtualenv-init -)"' >> ~/.zshrcsource ~/.zshrc
v=3.5.2|wget http://mirrors.sohu.com/python/$v/Python-$v.tar.xz -P ~/.pyenv/cache/;pyenv install $vpyenv 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

以上就是ubuntu16.04服务器部署Python环境方法的详细内容,更多请关注Gxl网其它相关文章!

人气教程排行