摘要: 刚进服务器应该是这个样子 [root@VM_0_17_centos ~]# 看着上面的名字不爽 [root@VM_0_17_centos ~]# hostname 你所喜欢的名字 之后就变成了这个样子 [root@fuqiang ~]# 查看服务器的基本信息 [root@fuqiang ~]# ho 阅读全文
posted @ 2020-03-23 23:02 尚尚123 阅读(249) 评论(0) 推荐(0) 编辑
摘要: 安装必要的插件 yum install -y gcc-c++ pcre pcre-devel zlib zlib-devel openssl openssl-devel 下载nginx安装包 wget https://nginx.org/download/nginx-1.14.0.tar.gz` 解 阅读全文
posted @ 2020-03-23 23:00 尚尚123 阅读(172) 评论(0) 推荐(0) 编辑
摘要: 下载rpm wget https://dev.mysql.com/get/mysql57-community-release-el7-9.noarch.rpm 安装二进制安装包 rpm -ivh mysql57-community-release-el7-9.noarch.rpm 进入 /etc/y 阅读全文
posted @ 2020-03-23 22:55 尚尚123 阅读(89) 评论(0) 推荐(0) 编辑
摘要: uwsgi的配置 uwsgi.ini [uwsgi] http=0.0.0.0:8000 #项目目录 chdir = /home/wwwroot/default/mysite #配置文件里的wsgi.py的地址 wsgi-file = mysite/wsgi.py processes = 4 thr 阅读全文
posted @ 2020-03-23 22:51 尚尚123 阅读(244) 评论(0) 推荐(0) 编辑
摘要: 环境依赖 yum install -y gcc-c++ pcre pcre-devel zlib zlib-devel openssl openssl-devel 下载压缩包 wget https://nginx.org/download/nginx-1.14.0.tar.gz 解压 tar zxv 阅读全文
posted @ 2020-03-23 22:48 尚尚123 阅读(164) 评论(0) 推荐(0) 编辑
摘要: 下载rpm包 wget https://dev.mysql.com/get/mysql57-community-release-el7-9.noarch.rpm 对repo进行安装 rpm -ivh mysql57-community-release-el7-9.noarch.rpm 进入 /ect 阅读全文
posted @ 2020-03-23 22:44 尚尚123 阅读(153) 评论(0) 推荐(0) 编辑
摘要: 安装依赖 yum -y groupinstall "Development tools" yum -y install zlib-devel bzip2-devel openssl-devel ncurses-devel sqlite-devel readline-devel tk-devel gd 阅读全文
posted @ 2020-03-23 22:23 尚尚123 阅读(176) 评论(0) 推荐(0) 编辑
摘要: 在指定的文件中下载文件 ‘nginx.service’ 在网上找包 nginx.service内容如下 nginx.service 内容如下 [Unit] Description=nginx - high performance web server Documentation=http://ngi 阅读全文
posted @ 2020-03-23 21:56 尚尚123 阅读(615) 评论(0) 推荐(0) 编辑