配置一台新的服务器

配置一台新的服务器

  1. 安装anaconda: https://blog.csdn.net/jh0218/article/details/85097061

  2. 安装mysql: https://www.cnblogs.com/luohanguo/p/9045391.html

  3. yum install redis

  4. yum install httpie

  5. 安装dockercurl -sSL https://get.daocloud.io/docker | sh

    https://www.runoob.com/docker/centos-docker-install.html

    启动docker service docker start

docker run -it --name dcentos -d centos
docker container run -dit --privileged --name my_centos centos init
docker run -it nginx:latest /bin/bash   //使用镜像以交互模式启动一个容器,在容器内执行/bin/bash命令
安装lrzsz:

# yum -y install lrzsz 

# 现在就可以正常使用rz、sz命令上传、下载数据了。

# 使用方法:

# 上传文件
rz filename

# 下载文件
sz filename

下载resis: https://www.cnblogs.com/renzhicai/p/7773080.html

   pip  install django==2.1
   pip  install channels==2.1
   pip install django-allauth
   pip install django-taggit
   pip install django-markdownx
   pip install django-crispy-forms
   pip install sorl-thumbnail
   pip install python-slugify
   pip install django-mptt-comments
   pip install django-markdown-deux

django-mptt-comments](https://github.com/zmrenwu/django-mptt-comments)实现无限级评论

猜你喜欢

转载自blog.csdn.net/weixin_46129834/article/details/110437945