[GO] # 2 Build a Python environment on AWS EC2 instance (ubuntu18.04)

Introduction

I am a beginner in programming languages. Therefore, I think there are some misreading and lack of understanding. In that case, I would appreciate it if you could let me know in the comments.

The "goal" wants to go as far as deploying a pre-created Python web application. I will write for beginners as much as possible.

Creation procedure

We will build the environment.

Step 1 (Connection)

First of all, move to the place to build the environment. Enter the ubuntu server with the SSH connection described in the previous article. How to enter

$ ssh -i xxx.pem ubuntu@'username'

I think it will be like this when you enter.

ubuntu@xxx: username$ 

Step 2 (Installation)

$ sudo apt-get update
$ sudo apt-get install python3-pip python-dev libpq-dev postgresql postgresql-contrib nginx
$ python3 ―version
$ psql ―version
$ nginx -v

Python is now installed. Next time, I'll create a virtual environment and set up Django.

Recommended Posts

# 2 Build a Python environment on AWS EC2 instance (ubuntu18.04)
# 3 Build a Python (Django) environment on AWS EC2 instance (ubuntu18.04) part2
Build python environment with pyenv on EC2 (ubuntu)
Building a Python environment on Ubuntu
Build Python 3.8 + Pipenv environment on Ubuntu 18.04
Build a python3 environment on CentOS7
How to build a new python virtual environment on Ubuntu
Build Python3 and OpenCV environment on Ubuntu 18.04
Build a python environment on MacOS (Catallina)
Build a Python + OpenCV environment on Cloud9
build Python on Ubuntu
xgboost (python) on EC2 Spot instance environment prepared by AWS Lambda
How to build a Python environment using Virtualenv on Ubuntu 18.04 LTS
Build a WardPress environment on AWS with pulumi
Build Python3.5 + matplotlib environment on Ubuntu 12 using Anaconda
Simply build a Python 3 execution environment on Windows
Build a python environment with ansible on centos6
Build a Python environment on Mac (Mountain Lion)
Python development on Ubuntu on AWS EC2 (using JupyterLab)
Build a Python development environment on your Mac
[Venv] Create a python virtual environment on Ubuntu
Build a Kubernetes environment for development on Ubuntu
Build a Python development environment on Raspberry Pi
Build python3 environment with ubuntu 16.04
Build Python environment on Windows
Build python environment on windows
Build a Python environment offline
Build a GVim-based Python development environment on Windows 10 (3) GVim8.0 & Python3.6
Deployment procedure on AWS (2) Server (EC2 instance) environment settings
Build a machine learning Python environment on Mac OS
I made a Python3 environment on Ubuntu with direnv.
Build a GVim-based Python development environment on Windows 10 (1) Installation
How to build a Django (python) environment on docker
Build a Python development environment on Mac OS X
Build a Python environment on your Mac using pyenv
Build a Python development environment using pyenv on MacOS
How to build a Python environment on amazon linux 2
Prepare Python development environment on Ubuntu
Create a Python environment on Mac (2017/4)
Create a python environment on centos
OpenCV3 & Python3 environment construction on Ubuntu
Build a python machine learning study environment on macOS sierra
Build an Ubuntu python development environment on Google Cloud Platform
Build a python data analysis environment on Mac (El Capitan)
Build a GVim-based Python development environment on Windows 10 (2) Basic settings
Build Keras environment on AWS E2 G2 instance February 2017 version
Building an environment to execute python programs on AWS EC2
Until building a Python development environment using pyenv on Ubuntu 20.04
Build a python environment on CentOS 7.7 for your home server
[Pyenv] Building a python environment with ubuntu 16.04
Build a Chainer environment using CUDA and cuDNN on a p2 instance
Python 2.7, 3.4, 3.5 extension module build environment on Windows
Run TensorFlow on a GPU instance on AWS
Build a 64-bit Python 2.7 environment with TDM-GCC and MinGW-w64 on Windows 7
Python virtual environment and packages on Ubuntu
Build a Python environment on your Mac with Anaconda and PyCharm
Create a python environment on your Mac
Create an AWS Cloud9 development environment on your Amazon EC2 instance
I want to build a Python environment
Steps to install Python environment on Ubuntu
Creating a python virtual environment on Windows