会员
周边
众包
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
练习生天泽
博客园
首页
新随笔
管理
2020年9月28日
Nginx实现多域名的Htpps
摘要: 单域名实现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 练习生天泽
阅读(725)
评论(0)
推荐(0)
2020年9月27日
基于Centos安装部署OpenVpn
摘要: 服务器安装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)
2020年9月25日
Centos8.2编译安装Nginx1.80
摘要: 官方源码包下载地址: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 练习生天泽
阅读(1275)
评论(0)
推荐(0)
Nginx修改server版本号
摘要: 修改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 练习生天泽
阅读(1360)
评论(0)
推荐(0)
2020年9月21日
Web实战搭建,通过NFS存储数据
摘要: 基于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 练习生天泽
阅读(294)
评论(0)
推荐(0)
2020年9月13日
Ftps搭建部署
摘要: 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 练习生天泽
阅读(1177)
评论(0)
推荐(0)
2020年9月11日
一键安装Wordpress博客脚本
摘要: #!/bin/bash ##********************************************************************#Author: zhangzexu#QQ: 1185673631#Date: 2020-09-08#FileName: install
阅读全文
posted @ 2020-09-11 20:29 练习生天泽
阅读(918)
评论(0)
推荐(0)
2020年9月3日
Mariadb或者Msql实现级联复制架构方案
摘要: 三台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 练习生天泽
阅读(176)
评论(0)
推荐(0)
Mysq高可用架构MHA集群架构
摘要: 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 练习生天泽
阅读(320)
评论(0)
推荐(0)
2020年8月17日
Docker私有仓库harbor搭建
摘要: 官方网站 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 练习生天泽
阅读(793)
评论(0)
推荐(0)
下一页
公告