Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

The process of building django project environment

2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/03 Report--

This article introduces the relevant knowledge of "the process of building the environment of the django project". Many people will encounter such a dilemma in the operation of actual cases, so let the editor lead you to learn how to deal with these situations. I hope you can read it carefully and be able to achieve something!

Installation environment: centos7.4

1 install nginx

Yum install nginx

Note: you have tried to install it locally and on Tencent Cloud, using the same command: there is no available installation package on the local installation prompt, but the installation on the cloud is normal.

Start nginx and enable boot boot

Systemctl start nginx.service

Systemctl enable nginx.service

2 download and install the python environment

Install python 3.7.1

(1) install the development kit: yum-y groupinstall "Development tools" first

Note: you often encounter that you can't find the toolkit. Execute the above command several times to check if there are any spelling mistakes. Of course, even if you spell correctly, you may not find it.

Install the kit.

(2) install the dependency package:

Yum-y install zlib-devel bzip2-devel openssl-devel ncurses-devel sqlite-devel readline-devel tk-devel gdbm-devel

Db4-devel libpcap-devel xz-devel libffi-devel

Note: this is a command, don't execute it twice, there are really a lot of dependent packages, install first, then install hints about lack of dependencies, then continue to supplement.

(3) download the linux version of the python installation package (suffix: tar.xz)

Https://www.python.org/downloads/release/python-371/

This is the end of the content of "the process of building the django project environment". Thank you for reading. If you want to know more about the industry, you can follow the website, the editor will output more high-quality practical articles for you!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report