会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Supernova-L李
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
8
9
下一页
2019年10月15日
mysql主从备份案例—读写分离(异步主从)
摘要: 主备配置 主:MySQL 192.168.200.115 从:MySQL 192.168.200.116 从:MySQL 192.168.200.113 主: yum -y install ntp cp -p /etc/ntp.conf /etc/ntp.conf/origin vim /etc/n
阅读全文
posted @ 2019-10-15 17:06 Supernova-L李
阅读(219)
评论(0)
推荐(0)
2019年10月12日
MySQL (sql语句-优化-连接)
摘要: Mysql 语句的基本使用 环境 centos7.6 mysql-5.7.24-linux-glibc2.12-x86_64.tar.gz 首先SQL语句分类: 1、数据定义语言(DDL) 创建、修改或删除数据库中各种对象,包括表、视图、索引等。 命令:CREATE TABLE , CREATE V
阅读全文
posted @ 2019-10-12 16:05 Supernova-L李
阅读(237)
评论(0)
推荐(0)
2019年10月9日
nginx 四层转发
摘要: nginx 四层转发一台nginx 机 两台或以上搭建不同服务的机器(例如: 一台tomcat 一台mysql)nginx安装好(同以前)useradd -s /sbin/nologin -M nginxtar xf nginx-1.16.0.tar.gz -C /usr/src/cd /usr/s
阅读全文
posted @ 2019-10-09 15:59 Supernova-L李
阅读(926)
评论(0)
推荐(0)
nginx 加 keepalived 高可用
摘要: nginx 加keepalived高可用防火墙全关开两台nginx 修改主配置文件 在server上写入upstream httpd1 { server 192.168.200.113:80 weight=1; server 192.168.200.114:80 weight=1;}在locatio
阅读全文
posted @ 2019-10-09 09:56 Supernova-L李
阅读(192)
评论(0)
推荐(0)
基于Haproxy + keepalived构建高可用负载集群
摘要: 准备4台机器 两台Haproxy 两台Hginx 1,在Nginx机上安装 yum -y install gcc gcc-c++ make pcre-devel zlib-devel useradd -M -s /sbin/nologin nginx tar xf nginx-1.6.2.tar.g
阅读全文
posted @ 2019-10-09 09:23 Supernova-L李
阅读(135)
评论(0)
推荐(0)
2019年10月4日
WEB Server中访问NFS 共享资源--自动挂载
摘要: 一,安装rpcbind 包 [root@localhost ~]# yum -y install rpcbind [root@localhost ~]# systemctl enable rpcbind [root@localhost ~]# systemctl start rpcbind 二,客户
阅读全文
posted @ 2019-10-04 09:07 Supernova-L李
阅读(423)
评论(0)
推荐(0)
2019年9月29日
NFS 共享存储服务
摘要: 一,安装nfs-utils rpcbind 软件包 后启动 [root@localhost ~]# yum -y install nfs-utils rpcbind [root@localhost ~]# systemctl enable rpcbind [root@localhost ~]# sy
阅读全文
posted @ 2019-09-29 14:19 Supernova-L李
阅读(132)
评论(0)
推荐(0)
LVS-dr 构建配置(直接路由模式)
摘要: 在DR模式的群集中,LVS负载调度器作为群集的访问入口,但不作为网关使用;服务器池中的所有节点都各自接入Internet,发送给客户机的Web响应数据包不需要经过LVS负载调度器。 lvs数据原理:ARP(广播)问题分析 在dr模式中,负载均衡器与节点服务器都要配置相同的VIP地址,但是在局域网中具
阅读全文
posted @ 2019-09-29 11:35 Supernova-L李
阅读(314)
评论(0)
推荐(0)
LVS-net构建操作
摘要: 构建 一,关闭全部防火墙和安全机制 [root@localhost ~]# systemctl stop firewalld [root@localhost ~]# iptables -F [root@localhost ~]# setenforce 0 二,调试器机安装两块网卡,要求不同网段的IP
阅读全文
posted @ 2019-09-29 11:24 Supernova-L李
阅读(161)
评论(0)
推荐(0)
2019年9月23日
web站点部署(基于tomcat构建成功后
摘要: web站点部署(基于tomcat构建成功后) cd /usr/local/tomcat8/webappsls上传一个包到此目录下meminfo.war浏览器可以访问了 部署开源的站点下载官网:http://github.com/JpressProjects/jpress安装数据包yum -y ins
阅读全文
posted @ 2019-09-23 15:34 Supernova-L李
阅读(186)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
8
9
下一页
公告