<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[sdd220的博客]]></title><description><![CDATA[]]></description><link>https://blog.csdn.net/sdd220</link><language>zh-cn</language><generator>https://blog.csdn.net/</generator><copyright><![CDATA[Copyright &copy; sdd220]]></copyright><item><title><![CDATA[centos7最小化版无法解析域名]]></title><link>https://blog.csdn.net/sdd220/article/details/80306730</link><guid>https://blog.csdn.net/sdd220/article/details/80306730</guid><author>sdd220</author><pubDate>Mon, 14 May 2018 10:53:19 +0800</pubDate><description><![CDATA[1.NET网络配置子网IP地址与虚拟机网卡IP在一个地址段2.网卡网关设置也是在一个地址段下3.在网卡的配置文件中加入DNS1=8.8.8.8  #设置主DNSDNS2=8.8.4.4  #设置备DNS4.重启网络systemctl restart network5.测试ping www.baidu.com  成功...]]></description><category></category></item><item><title><![CDATA[服务器反复重启]]></title><link>https://blog.csdn.net/sdd220/article/details/80254897</link><guid>https://blog.csdn.net/sdd220/article/details/80254897</guid><author>sdd220</author><pubDate>Wed, 09 May 2018 15:57:06 +0800</pubDate><description><![CDATA[现象：服务器反复重启，显示CPU 1，CPU2 error，还有显示内存错误，插上一块，两块，三块硬盘机器可以重启，四块硬盘机器起不来，故障一直在移动处理：更换CPU，服务器完好...]]></description><category></category></item><item><title><![CDATA[redhat6防火墙永久关闭开机后又启动问题]]></title><link>https://blog.csdn.net/sdd220/article/details/79754845</link><guid>https://blog.csdn.net/sdd220/article/details/79754845</guid><author>sdd220</author><pubDate>Fri, 30 Mar 2018 11:17:54 +0800</pubDate><description><![CDATA[ 今天无意中发现一个现象，当我关闭iptables并且停止iptables服务，但是总会有一些出奇的事情发生，当我再次启动系统，查看iptables状态，iptables又自动开启，很是无奈啊！在Red Hat Enterprise Linux Server release 5.x时代没用出现过关闭iptables时，重启机器之后，防火墙有会打开的的现象，在Red Hat Enterprise L...]]></description><category></category></item><item><title><![CDATA[kea安装时configure: error: --with-dhcp-mysql should point to a mysql_config program]]></title><link>https://blog.csdn.net/sdd220/article/details/79373789</link><guid>https://blog.csdn.net/sdd220/article/details/79373789</guid><author>sdd220</author><pubDate>Mon, 26 Feb 2018 10:20:53 +0800</pubDate><description><![CDATA[kea安装之前，首先安装了mysql，在安装kea时执行./configure \--with-dhcp-mysql时却显示configure: error: --with-dhcp-mysql should point to a mysql_config program，导致kea一直安装不下去，找了半天，最后指定一个路径显示checking for MySQL headers and libr...]]></description><category></category></item><item><title><![CDATA[Existing lock /var/run/yum.pid: another copy is running as pid 25616]]></title><link>https://blog.csdn.net/sdd220/article/details/79373738</link><guid>https://blog.csdn.net/sdd220/article/details/79373738</guid><author>sdd220</author><pubDate>Mon, 26 Feb 2018 10:02:50 +0800</pubDate><description><![CDATA[问题：有时候使用yum安装软件时，会出现下面的提示，因为一直在等待解锁，软件安装不了措施：rm -f /var/run/yum.pid原因：yum自动更新机制自动激活了yum进程...]]></description><category></category></item><item><title><![CDATA[centos7安装openssl]]></title><link>https://blog.csdn.net/sdd220/article/details/79353304</link><guid>https://blog.csdn.net/sdd220/article/details/79353304</guid><author>sdd220</author><pubDate>Fri, 23 Feb 2018 14:26:31 +0800</pubDate><description><![CDATA[yum install opensslyum install openssl-devel最开始在网上找教程安装的是libssl-dev，显示No package libssl-dev available.Error: Nothing to do，找了半天，才知道centos7没有libssl-dev这个包，是Ubuntu才有的...]]></description><category></category></item><item><title><![CDATA[centos7安装boost1.65]]></title><link>https://blog.csdn.net/sdd220/article/details/79347303</link><guid>https://blog.csdn.net/sdd220/article/details/79347303</guid><author>sdd220</author><pubDate>Fri, 23 Feb 2018 11:17:23 +0800</pubDate><description><![CDATA[前期准备工作yum install gcc-c++yum install python-devel确定虚拟机可以联网，若网卡已启动，重启网络试试，service network restart准备好boost压缩包，我这里是boost_1_65_0.tar.gz解压  tar -zxvf boost_1_65_0.tar.gz /usr/local进入/usr/local/boost_1_65_0...]]></description><category></category></item><item><title><![CDATA[查看网卡对应服务器的那个端口]]></title><link>https://blog.csdn.net/sdd220/article/details/79074959</link><guid>https://blog.csdn.net/sdd220/article/details/79074959</guid><author>sdd220</author><pubDate>Tue, 16 Jan 2018 15:00:17 +0800</pubDate><description><![CDATA[前提：不插网线，否则看不出来是否因ethtool引起的闪烁
操作：
执行 ethtool -p eth0 时，eth0对应的网口的灯就会闪烁，可以分别调用ethtool判断eth0，eth1对应的网口]]></description><category></category></item><item><title><![CDATA[重启BMC]]></title><link>https://blog.csdn.net/sdd220/article/details/79065945</link><guid>https://blog.csdn.net/sdd220/article/details/79065945</guid><author>sdd220</author><pubDate>Mon, 15 Jan 2018 16:27:24 +0800</pubDate><description><![CDATA[使用指令ipmitool mc reset cold重启BMC
服务器的BMC模块和本身的运行互相是两个独立的系统，重启BMC只会让管理模块暂时不可用，服务器本身的业务运行是正常的]]></description><category></category></item><item><title><![CDATA[服务器通过系统指令配置IPMI]]></title><link>https://blog.csdn.net/sdd220/article/details/79065869</link><guid>https://blog.csdn.net/sdd220/article/details/79065869</guid><author>sdd220</author><pubDate>Mon, 15 Jan 2018 16:25:41 +0800</pubDate><description><![CDATA[service ipmi start 启动ipmi服务ipmitool lan print 1 可以查看当前机器ipmi的配置情况，包括ip，掩码，网关ipmitool lan set 1 ipaddr IP地址ipmitool lan set 1 netmask 掩码ipmitool lan set 1 defgwa ipaddr 网关地址ipmitool lan print 1 可查看当前的i]]></description><category></category></item><item><title><![CDATA[ssh登录客户机缓慢解决办法]]></title><link>https://blog.csdn.net/sdd220/article/details/78603695</link><guid>https://blog.csdn.net/sdd220/article/details/78603695</guid><author>sdd220</author><pubDate>Wed, 22 Nov 2017 14:54:08 +0800</pubDate><description><![CDATA[[root@CentOS7 ~]# ssh -v 192.168.0.4
OpenSSH_6.6.1, OpenSSL 1.0.1e-fips 11 Feb 2013
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 56: Applying options for *
de]]></description><category></category></item><item><title><![CDATA[/bin/sh: /tmp/xxx.sh: Permission denied]]></title><link>https://blog.csdn.net/sdd220/article/details/78600730</link><guid>https://blog.csdn.net/sdd220/article/details/78600730</guid><author>sdd220</author><pubDate>Wed, 22 Nov 2017 11:05:04 +0800</pubDate><description><![CDATA[使用playbooks在多台机器上批量执行脚本时显示 
/bin/sh: /tmp/xxx.sh: Permission denied 
解决方案： 
注意在playbooks的yml文件中使用copy命令时，使用mode设定权限  - name: test copy xxx.sh
    copy: src=/home/change/xxx.sh dest=/tmp/xxx.sh mode=077]]></description><category></category></item><item><title><![CDATA[记录修改的配置]]></title><link>https://blog.csdn.net/sdd220/article/details/78561860</link><guid>https://blog.csdn.net/sdd220/article/details/78561860</guid><author>sdd220</author><pubDate>Fri, 17 Nov 2017 15:26:35 +0800</pubDate><description><![CDATA[/etc/ansible/ansible.cfg 
取消了host_key_checking= False注释]]></description><category></category></item><item><title><![CDATA[Failed to connect to the host via ssh: ssh: connect to host 192.68.1.75 port 22: No route to host]]></title><link>https://blog.csdn.net/sdd220/article/details/78560368</link><guid>https://blog.csdn.net/sdd220/article/details/78560368</guid><author>sdd220</author><pubDate>Fri, 17 Nov 2017 13:48:13 +0800</pubDate><description><![CDATA[[root@CentOS7 change]# ansible-playbook -i /home/change/hosts /home/change/playbooks.ymlPLAY [all] *****************************************************************************************TASK [Gatheri]]></description><category></category></item><item><title><![CDATA[使用ansible时显示Failed to connect to the host via ssh]]></title><link>https://blog.csdn.net/sdd220/article/details/78560346</link><guid>https://blog.csdn.net/sdd220/article/details/78560346</guid><author>sdd220</author><pubDate>Fri, 17 Nov 2017 13:46:14 +0800</pubDate><description><![CDATA[fatal: [192.168.0.2]: UNREACHABLE! => {“changed”: false, “msg”: “Failed to connect to the host via ssh: @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@\r\n@    WARNING: REMOTE HOST IDENTIFI]]></description><category></category></item><item><title><![CDATA[使用playbooks来ping主机时显示"Using a SSH password instead of a key is not possible]]></title><link>https://blog.csdn.net/sdd220/article/details/78560307</link><guid>https://blog.csdn.net/sdd220/article/details/78560307</guid><author>sdd220</author><pubDate>Fri, 17 Nov 2017 13:42:45 +0800</pubDate><description><![CDATA[fatal: [192.168.1.76]: FAILED! => {“failed”: true, “msg”: “Using a SSH password instead of a key is not possible because Host Key checking is enabled and sshpass does not support this.  Please add this]]></description><category></category></item><item><title><![CDATA[/bin/sh: /tmp/IP172.sh: 权限不够]]></title><link>https://blog.csdn.net/sdd220/article/details/78553012</link><guid>https://blog.csdn.net/sdd220/article/details/78553012</guid><author>sdd220</author><pubDate>Thu, 16 Nov 2017 16:50:22 +0800</pubDate><description><![CDATA[问题： 
/bin/sh: /tmp/IP172.sh: 权限不够 
解决方案： 
chmod 777 /tmp/IP172.sh]]></description><category></category></item><item><title><![CDATA[ansible执行显示syntax error: unexpected end of file]]></title><link>https://blog.csdn.net/sdd220/article/details/78552136</link><guid>https://blog.csdn.net/sdd220/article/details/78552136</guid><author>sdd220</author><pubDate>Thu, 16 Nov 2017 15:49:08 +0800</pubDate><description><![CDATA[问题： 
ansible执行显示syntax error: unexpected end of file 
解决方案： 
windows 的DOS下的文本文件是以\r\n作为断行标志的，表示成十六进制就是0D 0A。而Unix下的文本文件是以\n作为断行标志的，表示成十六进制就是0A。所以在windows上编写的脚本在linux执行时，需要vim 一下你的文件，然后:set fileformat=u]]></description><category></category></item><item><title><![CDATA[ansible执行脚本时显示Permission denied]]></title><link>https://blog.csdn.net/sdd220/article/details/78552057</link><guid>https://blog.csdn.net/sdd220/article/details/78552057</guid><author>sdd220</author><pubDate>Thu, 16 Nov 2017 15:44:12 +0800</pubDate><description><![CDATA[问题： 
使用ansible执行脚本时显示 
/bin/sh: /tmp/IP172.sh: Permission denied解决： 
chmod 777 IP172.sh]]></description><category></category></item><item><title><![CDATA[gcc编译器使用方法]]></title><link>https://blog.csdn.net/sdd220/article/details/78522212</link><guid>https://blog.csdn.net/sdd220/article/details/78522212</guid><author>sdd220</author><pubDate>Mon, 13 Nov 2017 17:01:04 +0800</pubDate><description><![CDATA[gcc在命令行上经常使用的几个选项是： 
-c   只预处理、编译和汇编源程序，不进行连接。编译器对每一个源程序产生一个目标文件。-o file  确定输出文件为file。如果没有用-o选项，缺省的可执行文件的输出是a.out，目标文件和汇编文件的输出对source.suffix分别是source.o和source.s，预处理的C源程序的输出是标准输出stdout。-Dmacro 或-Dmacro=]]></description><category></category></item></channel></rss>