centos
MjForPython
这个作者很懒,什么都没留下…
展开
-
centos7安装python3
然后更改pip源到阿里wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo生成缓存yum makecache下载python3wget "https://www.python.org/ftp/python/3.6.2/Python-3.6.2.tg...原创 2018-09-03 02:03:02 · 173 阅读 · 0 评论 -
centos7+python3+nginx+uWSGI+virtualven+flask部署(记录及排坑)
1、nginx用yum安装,uWSGI用pip3安装!!!virtualven用yum安装。如果uWSGI不用pip安装就需要安装yum install uwsgi-plugin-python,并且在配置uwsgi.ini时加上plugin=python(坑0)2、uWSGI安装之后用ln -s xxx/xxx/python3/uwsgi usr/bin/uwsgi创建软连接。(坑1...原创 2018-09-06 18:35:45 · 763 阅读 · 0 评论 -
centos mysql 安装配置
安装完mysql后会有个临时密码去日志查看,但是查看登录修改密后还是不行ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password:yes)于是1,停止mysql服务systemctl stop mysqld.service 2,修改配置文件无密码登录 vi /...转载 2018-09-17 16:57:58 · 155 阅读 · 0 评论