Build a python development environment under Ubuntu

Build a python development environment under Ubuntu

  1. Download and install python runtime environment

Ps: ubuntu comes with python2.7 environment, if you need to download and install, you can use the following command

First enter sudo passwd, enter the root related password, enter su, and enter the super administrator

Sudo apt-get install python

Sudo apt-get install python-dev (used to compile external module files)

Sudo apt-get install python-pip

sudo apt-get install libxml*

sudo apt-get install net-tools

sudo apt-get install lsof

  1. Install the database---------

apt-get install mysql-server

apt-get install mysql-client

apt-get install libmysqlclient-dev

After the database installation is complete, test the database connection, remote link and local connection, if the connection is successful, continue down

  1. Update pip version---------

pip install --upgrade pip

  1. Install SSH---------

sudo apt-get install openssh-server

  1. Install Nginx---------

sudo apt-get install nginx

  1. Install uwsgi---------

sudo pip install uwsgi

Upload the django project through FileZill to the /home/project directory under ubuntu, install the third-party packages required for project operation, migrate database data, enter the project directory, run the project, and visit to see if there is a problem

Recommended Posts

Build a python development environment under Ubuntu
ubuntu build python development environment
Build a LAMP development environment on Ubuntu 16.04
Build a basic environment for Java development under Centos7
Build the C++ compilation environment under ubuntu
[PHP] Build a PHP operating environment under CentOS
Build an Ubuntu Linux development environment on a Vmware virtual machine
Install python3.6 under Ubuntu 16.04
Python MySQLd under Ubuntu
Ubuntu configuration development environment
[python] python2 and python3 under ubuntu
Ubuntu development environment configuration
Python virtual environment: Ubuntu16.04
Install Python3 environment in a brand new Ubuntu
Django&MySQL environment deployment under Ubuntu 14.04
Build docker environment under Centos6.5
Install python environment under Linux
ubuntu sets python2.5 environment variables
Embedded Linux development environment to build and configure Ubuntu
ubuntu builds common development environment
How to create a Python virtual environment in Ubuntu 14.04
ubuntu offline installation python environment
Detailed steps for installing Django under Python 3.6 in Ubuntu 16.04 environment
Ubuntu 18.04.1 build Java environment and HelloWorld
Ubuntu16.04 build php5.6 Web server environment
Build a PXC cluster under CentOS8
Python Chinese encoding setting under ubuntu
Install Python virtual environment on Ubuntu 18.04
Build a file server on ubuntu
CentOS 7 configure Python language development environment
51 MCU program development and download under Ubuntu
JDK environment variable configuration method under ubuntu
Configure Java development environment in Ubuntu20.04 LTS
Steps to build LNMP environment on ubuntu 20.04
Build arm virtual operating environment on Ubuntu
(1) Centos7 installation to build a cluster environment
GPU programming (1): CUDA8.0 environment construction under Ubuntu
Docker learning 2- quickly build a centos7-python3.6 environment
Quickly understand the Python development environment Spyder
Configure Nginx + PHP 7.0 + MySQL environment under Ubuntu 16.04
Build a Minecraft Bedrock Edition server (Ubuntu)
Ubuntu20.04 install Python3 virtual environment tutorial detailed explanation
Build a ScaleIO distributed storage cluster under CentOS7
Ubuntu16 upgrade Python3
Relearn ubuntu --python3
ubuntu12.04 install python3
How to install python in ubuntu server environment
Build Discuz Forum in LNMP Environment under CentOS7
Ubuntu build etcd
Build LEMP (Linux+Nginx+MySQL+PHP) environment under CentOS 8.1 (detailed tutorial)
Build Dedecms website in LNMP environment under CentOS7
Add a new project to SVN under Ubuntu
How to build a LAMP environment on centos7.2
Ubuntu build Seafile
ubuntu18.04 install python
Python build pip.ini
ubuntu16.04 upgrade python2
Use Rancher to build a K8s cluster under CentOS7
Installation and use of GDAL in Python under Ubuntu
Resolve the problems encountered in the linux environment under ubuntu
Ubuntu18.04 switch Python version