2020年9月11日

ubuntu 安装docker

摘要: 0.直接安装 sudo apt-get install docker.io 1.更新Ubuntu的apt源索引 sudo apt-get update 2.安装包允许apt通过HTTPS使用仓库 sudo dpkg --configure -a sudo apt-get install apt-tr 阅读全文

posted @ 2020-09-11 17:00 VinsonYang 阅读(130) 评论(0) 推荐(0) 编辑

2020年3月1日

【已解决】使用 yarn 安装时,报错node_modules\node sass:Command failed.

摘要: npm install -g mirror-config-china --registry=http://registry.npm.taobao.orgnpm install node-sassyarn install 阅读全文

posted @ 2020-03-01 14:45 VinsonYang 阅读(7251) 评论(0) 推荐(0) 编辑

2020年2月19日

CentOS 7.7上配置mysql

摘要: 首先登陆到阿里云,进行远程连接,在这里我使用的是Xshell 6进行连接的。 参照https://blog.csdn.net/lydia88/article/details/86006736 1,安装mysql数据库 下载mysql源安装包:wget http://dev.mysql.com/get 阅读全文

posted @ 2020-02-19 22:24 VinsonYang 阅读(567) 评论(0) 推荐(0) 编辑

ImportError: No module named _ssl解决方法

摘要: import ssl时出现ImportError: No module named _ssl错误是因为咱安装Python的时候没有把ssl模块编译进去导致的。 解决步骤: 系统没有openssl,手动安装openssl1.下载openssl,地址为http://www.openssl.org/sou 阅读全文

posted @ 2020-02-19 22:22 VinsonYang 阅读(7296) 评论(0) 推荐(1) 编辑

CentOS 7.7+ Python3.7 下安装virtualenv和virtualenvwrapper

摘要: 1. 安装virtualenv和virtualenvwrapper # pip install virtualenv # pip install virtualenvwrpper 2. 寻找virtualenvwrapper.sh路径 # find / -name virtualenvwrapper 阅读全文

posted @ 2020-02-19 20:58 VinsonYang 阅读(303) 评论(0) 推荐(0) 编辑

Centos7.7下安装Python3.7 并兼容python2.7

摘要: 前言 1.首先来看一下系统版本 [root@python3 ~]# cat /etc/redhat-release CentOS Linux release 7.7.1810 (Core) 2.更新一下yum源,yum源我这里用的都是阿里云的源 [root@python3 ~]# cd /etc/y 阅读全文

posted @ 2020-02-19 20:49 VinsonYang 阅读(457) 评论(0) 推荐(0) 编辑

2020年2月17日

Vue前端项目的搭建流程

摘要: 1. 安装Vue和Nodejs 2. 创建项目 vue create eduonline-web 阅读全文

posted @ 2020-02-17 23:51 VinsonYang 阅读(540) 评论(0) 推荐(0) 编辑

2020年2月4日

Django3.0 + nginx + uwsgi 部署

摘要: CentOS7.6 下部署Django3.0应用,使用nginx+uwsgi部署: 1. uwsgi部署 pip install uwsgi 在项目的根目录中,新建文件夹 conf, 然后进入conf文件夹,并新建文件 uwsgi.ini, 内容如下: # mysite_uwsgi.ini file 阅读全文

posted @ 2020-02-04 18:04 VinsonYang 阅读(780) 评论(0) 推荐(0) 编辑

2020年1月8日

阿里云CentOS8.0服务器配置Django3.0+Python 3.7 环境

摘要: 恢复内容开始 1. 下载并安装python # 安装Python3.7.6 wget https://www.python.org/ftp/python/3.7.6/Python-3.7.6.tgz tar -xzvf Python-3.7.6.tgz # 解压缩包 cd Python-3.7.6 阅读全文

posted @ 2020-01-08 22:02 VinsonYang 阅读(462) 评论(0) 推荐(0) 编辑

2020年1月7日

开发在线教育平台项目步骤(Python3.7.6 + Django 3.0)

摘要: 1. 新建虚拟环境 mkvirtualenv eduonline 2. 安装mysql数据库 pip install mysqlclient pip install pymysql 3. 在settings中配置数据库DATABASES 4. 在Navicat中新建数据库:eduonline 数据库 阅读全文

posted @ 2020-01-07 20:58 VinsonYang 阅读(1262) 评论(0) 推荐(0) 编辑

导航