Home > Backend Development > Python Tutorial > Ubuntu16.04 server deployment Python environment method

Ubuntu16.04 server deployment Python environment method

高洛峰
Release: 2017-03-09 09:35:58
Original
1307 people have browsed it

Just execute it line by line, you have a solution

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
Copy after login

pycharm latest registration method lisence server: http://idea.iteblog.com/key.php


The above is the detailed content of Ubuntu16.04 server deployment Python environment method. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template