<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[yaweiTang的博客]]></title><description><![CDATA[]]></description><link>https://blog.youkuaiyun.com/yaweiTang</link><language>zh-cn</language><generator>https://blog.youkuaiyun.com/</generator><copyright><![CDATA[Copyright &copy; yaweiTang]]></copyright><item><title><![CDATA[Linux系统设备]]></title><link>https://blog.youkuaiyun.com/yaweiTang/article/details/79014876</link><guid>https://blog.youkuaiyun.com/yaweiTang/article/details/79014876</guid><author>yaweiTang</author><pubDate>Tue, 09 Jan 2018 16:57:51 +0800</pubDate><description><![CDATA[1.设备的识别 
/dev/sda              ###系统中的第一块串口硬盘 
/dev/hda            ###系统中第一块并口硬盘 
/dev/hdb        ###系统中第二块并口硬盘 
/dev/cdrom    ###系统光驱 
/dev/mapper/xxx     ###虚拟设备 
2.设备的使用 
mount   设备  挂载点 ###挂载 
moun]]></description><category></category></item><item><title><![CDATA[Linux软件的安装]]></title><link>https://blog.youkuaiyun.com/yaweiTang/article/details/79014540</link><guid>https://blog.youkuaiyun.com/yaweiTang/article/details/79014540</guid><author>yaweiTang</author><pubDate>Tue, 09 Jan 2018 16:37:05 +0800</pubDate><description><![CDATA[我们首先需要配置本地的yum源，才能使用红帽系统的软件。 
1、本地yum源的配置 
（1）需要一个与本纪匹配的安装镜像，rhel-server-7.0-x86_64-dvd.iso 
（2）挂载镜像到/mnt目录 
**mount       镜像文件      /mnt 
（3）编写配置文件 
**vim   /etc/yum.repos.d/yum.repo 
[test]]]></description><category></category></item><item><title><![CDATA[远程文件传输 scp 远程同步]]></title><link>https://blog.youkuaiyun.com/yaweiTang/article/details/79014140</link><guid>https://blog.youkuaiyun.com/yaweiTang/article/details/79014140</guid><author>yaweiTang</author><pubDate>Tue, 09 Jan 2018 16:15:33 +0800</pubDate><description><![CDATA[scp         ##远程复制 
scp     file    user@ip:/directory      ##上传文件 
scp -r  dir user@ip:/directory      ##长传目录 
scp     user@ip:/filename   /direcotry  ##下载文件 
scp -r  user@ip:/directory  /direcotry  #]]></description><category></category></item><item><title><![CDATA[打包压缩命令  tar    gzip  |  zip  |  bz2  |  xz]]></title><link>https://blog.youkuaiyun.com/yaweiTang/article/details/79013140</link><guid>https://blog.youkuaiyun.com/yaweiTang/article/details/79013140</guid><author>yaweiTang</author><pubDate>Tue, 09 Jan 2018 15:10:10 +0800</pubDate><description><![CDATA[1、打包 
**tar               ##打包工具 
【参数】 
    -f                 ##指定生成包的名字 
    -c                 ##创建包 
    -v                 ##显示创建过程 
    -t                 ##查看包中内容 
    -x                 ##解包]]></description><category></category></item><item><title><![CDATA[netstat  |   ss命令]]></title><link>https://blog.youkuaiyun.com/yaweiTang/article/details/79012914</link><guid>https://blog.youkuaiyun.com/yaweiTang/article/details/79012914</guid><author>yaweiTang</author><pubDate>Tue, 09 Jan 2018 14:54:04 +0800</pubDate><description><![CDATA[网络端口的检测 
**ss   |   netstat 
【参数】 
    -a          ##所有 
    -n          ##不做解析 
    -t           ## tcp协议 
    -u          ## udp协议 
    -l           ## listen,当前活跃端口 
**/etc/services         ##系统服务默]]></description><category></category></item><item><title><![CDATA[域名解析 dns]]></title><link>https://blog.youkuaiyun.com/yaweiTang/article/details/79012797</link><guid>https://blog.youkuaiyun.com/yaweiTang/article/details/79012797</guid><author>yaweiTang</author><pubDate>Tue, 09 Jan 2018 14:45:17 +0800</pubDate><description><![CDATA[1、ip映射文件 
**vim  /etc/hosts

127.0.0.1   localhost localhost.localdomain localhost4 localhost4.localdomain4 
::1         localhost localhost.localdomain localhost6 localhost6.localdomain6 
172.25.55.1]]></description><category></category></item><item><title><![CDATA[LINUX 系统ip的四种设置方式]]></title><link>https://blog.youkuaiyun.com/yaweiTang/article/details/78984968</link><guid>https://blog.youkuaiyun.com/yaweiTang/article/details/78984968</guid><author>yaweiTang</author><pubDate>Fri, 05 Jan 2018 20:32:34 +0800</pubDate><description><![CDATA[1、ifconfig命令设置(临时设置) 
**ifconfig 网络接口 ip netmask 子网掩码 
2、图形网络配置方式 
**nm-connection-editor       ##图形中的网络设定工具 
**nmtui                  ##文本中的网络设定工具 
3、nmcli命令设定ip的方式 
**nmcli connection delete   连接名称]]></description><category></category></item><item><title><![CDATA[Linux怎么设定系统时间]]></title><link>https://blog.youkuaiyun.com/yaweiTang/article/details/78954322</link><guid>https://blog.youkuaiyun.com/yaweiTang/article/details/78954322</guid><author>yaweiTang</author><pubDate>Tue, 02 Jan 2018 18:07:37 +0800</pubDate><description><![CDATA[更改系统时间之前的时间: 
** date 
[root@server2 ~]# date 
Tue Jan  2 18:04:31 CST 2018 
更改系统时间: 
** date -s “2017-12-12 16:00:00” 
[root@server2 ~]# date -s “2017-12-12 16:00:00” 
Tue Dec 12 16:00:00 CST 2017]]></description><category></category></item><item><title><![CDATA[Linux同步系统时间]]></title><link>https://blog.youkuaiyun.com/yaweiTang/article/details/78954265</link><guid>https://blog.youkuaiyun.com/yaweiTang/article/details/78954265</guid><author>yaweiTang</author><pubDate>Tue, 02 Jan 2018 18:02:18 +0800</pubDate><description><![CDATA[1.确定时间源地址 
172.25.55.1 
2.确定客户主机使用的时间同步服务 
chronyd.service 
3.在chronyd.service服务中加载时间源地址 
vim /etc/chrony.conf 
server  172.25.55.1  iburst 
重新启动chronyd服务]]></description><category></category></item><item><title><![CDATA[ssh的key认证]]></title><link>https://blog.youkuaiyun.com/yaweiTang/article/details/78953880</link><guid>https://blog.youkuaiyun.com/yaweiTang/article/details/78953880</guid><author>yaweiTang</author><pubDate>Tue, 02 Jan 2018 17:28:31 +0800</pubDate><description><![CDATA[ssh-key认证的原理就是用户将自己的公钥发送给远程主机上;登录的时候,远程主机会向用户发送一段随机字符串,用户用自己的私钥加密后,再发回来;远程主机用事先的公钥进行解密,如果成功就证明用户是可信的，直接允许登录shell，不再要求密码。
实验环境：
    server1   172.25.55.1    本地主机 
    server2   172.25.55.2    远程主机
一、key]]></description><category></category></item><item><title><![CDATA[MYSQL--ab复制]]></title><link>https://blog.youkuaiyun.com/yaweiTang/article/details/53857232</link><guid>https://blog.youkuaiyun.com/yaweiTang/article/details/53857232</guid><author>yaweiTang</author><pubDate>Sat, 24 Dec 2016 11:02:56 +0800</pubDate><description><![CDATA[实验环境： 
    rhel6.5 
    server1.example.com  172.25.7.1 (master) 
    server2.example.com  172.25.7.2 (slave)数据库的ab复制就是通过配置后，slave会不停地复制master主机上的操作。前提是slave和master主机上数据库的内容必须是一样的，否则在slave上进行复制的时候可能会出错]]></description><category></category></item><item><title><![CDATA[Zabbix分布式监控(4)云告警]]></title><link>https://blog.youkuaiyun.com/yaweiTang/article/details/53039880</link><guid>https://blog.youkuaiyun.com/yaweiTang/article/details/53039880</guid><author>yaweiTang</author><pubDate>Fri, 04 Nov 2016 22:22:04 +0800</pubDate><description><![CDATA[cp alert-agent/plugin/zabbix-plugin/110monitor /usr/lib/zabbix/alertscripts/实验环境： 
    rhel6.5: 
    server5.example.com  172.25.55.5(server) 
    server6.example.com  172.25.55.6(agent) 
一、解压包并做相应操作]]></description><category></category></item><item><title><![CDATA[Zabbix分布式监控(3)添加模版(Apache mysql)]]></title><link>https://blog.youkuaiyun.com/yaweiTang/article/details/53039494</link><guid>https://blog.youkuaiyun.com/yaweiTang/article/details/53039494</guid><author>yaweiTang</author><pubDate>Fri, 04 Nov 2016 21:36:46 +0800</pubDate><description><![CDATA[实验环境： 
    rhel6.5: 
    server5.example.com  172.25.55.5(server) 
    server6.example.com  172.25.55.6(agent) 
一、安装httpd(agent) 
    ：：：yum install -y httpd 
    ：：：cd /var/www/html/ 
    ：：：vim index]]></description><category></category></item><item><title><![CDATA[Zabbix分布式监控(2)添加agent主机]]></title><link>https://blog.youkuaiyun.com/yaweiTang/article/details/53025469</link><guid>https://blog.youkuaiyun.com/yaweiTang/article/details/53025469</guid><author>yaweiTang</author><pubDate>Thu, 03 Nov 2016 20:36:41 +0800</pubDate><description><![CDATA[实验环境： 
    rhel6.5： 
    server5.example.com  172.25.55.5(server端) 
    server6.example.com  172.25.55.6(agent端) 
一、在被监控端安装软件包 
(因为在环境配置的时候已经安装过了，这里就不用安装了) 
二、配置zabbix agent 
    ：：：vim /etc/zabbix/zab]]></description><category></category></item><item><title><![CDATA[Zabbix分布式监控平台(1)环境配置]]></title><link>https://blog.youkuaiyun.com/yaweiTang/article/details/53025021</link><guid>https://blog.youkuaiyun.com/yaweiTang/article/details/53025021</guid><author>yaweiTang</author><pubDate>Thu, 03 Nov 2016 20:03:22 +0800</pubDate><description><![CDATA[实验环境： 
    rhel6.5： 
    server5.example.com  172.25.55.5(server) 
    server6.example.com  172.25.55.6(agent) 
一、安装(server端) 
     
    ：：：yum install -y httpd mysql mysql-server 
(因为需要解决依赖性，所以就直接装了)]]></description><category></category></item><item><title><![CDATA[cacti--------(2)添加远程监控主机]]></title><link>https://blog.youkuaiyun.com/yaweiTang/article/details/52928877</link><guid>https://blog.youkuaiyun.com/yaweiTang/article/details/52928877</guid><author>yaweiTang</author><pubDate>Tue, 25 Oct 2016 23:24:31 +0800</pubDate><description><![CDATA[实验环境同上： 
1、安装安装包(远程主机上操作：server6.example.com  172.25.55.6) 
：：：yum install -y net-snmp-* 
：：：/etc/init.d/snmpd start 
 
：：：vim /etc/snmp/snmpd.conf 
  
(测试) 
 
2、打开浏览器，添加远程主机]]></description><category></category></item><item><title><![CDATA[cacti--------(1)监控环境的搭建]]></title><link>https://blog.youkuaiyun.com/yaweiTang/article/details/52928050</link><guid>https://blog.youkuaiyun.com/yaweiTang/article/details/52928050</guid><author>yaweiTang</author><pubDate>Tue, 25 Oct 2016 22:24:36 +0800</pubDate><description><![CDATA[实验环境： 
    redhat6.5： 
    server5.example.com  172.25.55.5 
    server6.example.com  172.25.55.6 
官网：www.cacti.net 
(1)下载安装软件包 
：：：yum install -y mysql mysql-server php php-mysql rrdtool  httpd php-sn]]></description><category></category></item><item><title><![CDATA[keepalived 高可用集群]]></title><link>https://blog.youkuaiyun.com/yaweiTang/article/details/52887716</link><guid>https://blog.youkuaiyun.com/yaweiTang/article/details/52887716</guid><author>yaweiTang</author><pubDate>Fri, 21 Oct 2016 22:30:14 +0800</pubDate><description><![CDATA[实验环境： 
    redhat6.5： 
    server1.example.com  172.25.55.1 
    server2.example.com  172.25.55.2 
1、实验之前准备 
：：：/etc/init.d/heartbeat stop 
：：：chkconfig heartbeat off 
：：：/etc/init.d/ldirectord stop 
2]]></description><category></category></item><item><title><![CDATA[heartbeat高可用集群+负载均衡+ldirectord后端安全检查]]></title><link>https://blog.youkuaiyun.com/yaweiTang/article/details/52885636</link><guid>https://blog.youkuaiyun.com/yaweiTang/article/details/52885636</guid><author>yaweiTang</author><pubDate>Fri, 21 Oct 2016 17:36:23 +0800</pubDate><description><![CDATA[实验环境： 
    redhat6.5: 
    (1)高可用集群 
    server1.example.com  172.25.55.1 
    server2.example.com  172.25.55.2(均衡器) 
    (2)rs 
    server3.example.com  172.25.55.3 
    server4.example.com  172.25.55]]></description><category></category></item><item><title><![CDATA[lvs DR模式]]></title><link>https://blog.youkuaiyun.com/yaweiTang/article/details/52878887</link><guid>https://blog.youkuaiyun.com/yaweiTang/article/details/52878887</guid><author>yaweiTang</author><pubDate>Fri, 21 Oct 2016 01:16:46 +0800</pubDate><description><![CDATA[实验环境： 
    Redhat6.5: 
    server2.example.com  172.25.55.2(vs) 
    server3.example.com  172.25.55.3(real server) 
    server4.example.com  172.25.55.4(real server) 
       由于上次在server1和server2上有做高可用集]]></description><category></category></item></channel></rss>