摘要: 单域名实现HTTPS: #创建自签名证书[root@centos8-1 ~]$cd /apps/nginx/[root@centos8-1 nginx]$mkdir certs[root@centos8-1 nginx]$cd certs/[root@centos8-1 certs]$openssl 阅读全文
posted @ 2020-09-28 12:53 练习生天泽 阅读(630) 评论(0) 推荐(0) 编辑
摘要: 服务器安装openvpn相关软件 过程:yum -y install openvpn easy-rsa开启路由转发vim /etc/sysctl.conf添加以下内容net.ipv4.ip_forward = 1sysctl -p准备服务器证书cp -r /usr/share/easy-rsa/ / 阅读全文
posted @ 2020-09-27 14:05 练习生天泽 阅读(2) 评论(0) 推荐(0) 编辑
摘要: 官方源码包下载地址:https://nginx.org/en/download.html[root@centos8-1 ~]$yum -y install gcc pcre-devel openssl-devel zlib-devel make ##下载编译时需要用到的包[root@centos8- 阅读全文
posted @ 2020-09-25 12:11 练习生天泽 阅读(1240) 评论(0) 推荐(0) 编辑
摘要: 修改server字段如果想自定义响应报文的nginx版本信息,需要修改源码文件,重新编译如果nginx配置文件中的字段设定为server_tokens on,请修改 src/core/nginx.h 修改13-14行,如下示例[root@centos8-1 nginx-1.18.0]$pwd/usr 阅读全文
posted @ 2020-09-25 11:55 练习生天泽 阅读(1304) 评论(0) 推荐(0) 编辑
摘要: 基于LNMP架构部署WordPRess,后端构建NFS服务存储用户上传的图片及数据 #配置NFS服务#安装NFS服务yum -y install nfs-utils #配置共享目录cat > /etc/exports << EOF/data/uploads 10.0.0.0/24(rw,sync,n 阅读全文
posted @ 2020-09-21 18:45 练习生天泽 阅读(275) 评论(0) 推荐(0) 编辑
摘要: FTP+SSL 实现Ftps 操作系统:Centos7 直接实现一个包括私钥和证书的文件首先安装好vsftpd包 yum -y install vsftpdldd `which vsftpd` | grep libssl 查看是否支持SSL[root@centos7-1 ~]$mkdir /etc/ 阅读全文
posted @ 2020-09-13 15:46 练习生天泽 阅读(1115) 评论(0) 推荐(0) 编辑
摘要: #!/bin/bash ##********************************************************************#Author: zhangzexu#QQ: 1185673631#Date: 2020-09-08#FileName: install 阅读全文
posted @ 2020-09-11 20:29 练习生天泽 阅读(872) 评论(0) 推荐(0) 编辑
摘要: 三台Centos8主机实现级别复制 10.0.0.8:Master 10.0.0.18:Slave1 10.0.0.28:Slave2 全部安装Mariadb:yum -y install mariadb-server 在Master实现[root@master ~]# vim /etc/my.cn 阅读全文
posted @ 2020-09-03 11:25 练习生天泽 阅读(169) 评论(0) 推荐(0) 编辑
摘要: Manger节点 配置邮件服务[root@centos7-1 ~]$vim /etc/mail.rcset from=1185673631@qq.comset smtp=smtp.qq.comset smtp-auth-user=1185673631@qq.comset smtp-auth-pass 阅读全文
posted @ 2020-09-03 10:36 练习生天泽 阅读(313) 评论(0) 推荐(0) 编辑
摘要: 官方网站 vmware官方开源服务:https://vmware.github.io/ harbor 官方github 地址:https://github.com/vmware/harbor harbor 官方网址:https://goharbor.io/ harbor官方文档:https://go 阅读全文
posted @ 2020-08-17 16:51 练习生天泽 阅读(672) 评论(0) 推荐(0) 编辑