![](https://img-blog.csdnimg.cn/20201014180756754.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Linux
迷茫的岁月
这个作者很懒,什么都没留下…
展开
-
Linux 常用命令
CentOS7下修改主机名第一种:hostname 主机名01.hostname 主机名称 这种方式,只能修改临时的主机名,当重启机器后,主机名称又变回来了。第二种:hostnamectl set-hostname 命令行中输入hostnamectl set-hostname 使用这种方式修改,可以永久性的修改主机名称!原创 2017-06-09 14:27:15 · 269 阅读 · 0 评论 -
LINUX安装NGINX
安装依赖 yum install gcc yum install pcre-devel yum install zlib zlib-devel yum install openssl openssl-devel //一键安装上面四个依赖yum -y install gcc zlib zlib-devel pcre-...转载 2018-08-27 15:29:23 · 136 阅读 · 0 评论 -
开启Nginx的SSL模块
1.1 Nginx如果未开启SSL模块,配置Https时提示错误 1 nginx: [emerg] the "ssl" parameter requires ngx_http_ssl_module in /usr/local/nginx/conf/nginx.conf:37 原因也很简单,nginx缺少http_ssl_module模块,编译安装的时候带...转载 2018-08-27 15:34:57 · 493 阅读 · 0 评论 -
Nginx 配置代理https
首先找到nginx.conf文件;方式1,http和https同时监听,自动跳转https; server { listen 80; listen 443 ssl; server_name www.xxx.com xxx.com; #填写绑定证书的域名 #ssl on; ssl_certifica...原创 2018-08-27 16:18:08 · 35346 阅读 · 0 评论 -
虚拟机安装centos7后无法联网
虚拟机联网:首先确保,网上邻居里的“VMware Network Adapter VMnet1”和“VMware Network Adapter VMnet8”两个连接都是启用状态。服务里的“VMware Authorization Service搜索”,“VMware DHCP Service”,“VMware NAT Service”也都要启动。在虚拟机里的网络连接里选择:“NAT:用来共享主...转载 2019-09-17 11:59:43 · 286 阅读 · 0 评论