2018年8月15日
摘要: 1.yum install -y telnet* 2.rpm -qa telnet 3.vim telnet 4.Disable=yes 改为 disable=no 5.service xinetd restart 6.Telnet 127.0.0.1 阅读全文
posted @ 2018-08-15 08:49 Covers 阅读(73) 评论(0) 推荐(0) 编辑
摘要: 1.yum install -y sudo rsyslog 2.echo "local2.debug /var/log/sudo.log">>/etc/rsyslog.conf 3.echo "Defaults logfile=/var/log/sudo.log">>/etc/sudoers 4.t 阅读全文
posted @ 2018-08-15 08:49 Covers 阅读(97) 评论(0) 推荐(0) 编辑
摘要: 服务访问不了 阅读全文
posted @ 2018-08-15 08:48 Covers 阅读(104) 评论(0) 推荐(0) 编辑
摘要: 上下键 e 进入编辑 选第二项 e 进入 空+1 esc 按b passwd root reboot 阅读全文
posted @ 2018-08-15 08:47 Covers 阅读(190) 评论(0) 推荐(0) 编辑
摘要: 按e 进入编辑模式 模式最后加入init=/bin/bash,进入shell脚本 ctrl+x 以编辑配置启动 mount –no remount,rw / 挂载读写模式 passwd root 修改密码 sync 同步数据到磁盘 mount –no remount,ro /... 阅读全文
posted @ 2018-08-15 08:47 Covers 阅读(249) 评论(0) 推荐(0) 编辑
摘要: 修改成功 阅读全文
posted @ 2018-08-15 08:46 Covers 阅读(252) 评论(0) 推荐(0) 编辑
摘要: 官网http://www.memcached.org/files/ Memcache: 一.配置服务端 1.mkdir /home/gaigai/tools -p 2.rz libevent-1.4.13-stable.tar memcache-1.4.tar.gz 3.tar zxvf libev 阅读全文
posted @ 2018-08-15 08:45 Covers 阅读(120) 评论(0) 推荐(0) 编辑
摘要: 安装 tar zxvf cronolog-1.6.2.tar.gz cd cronolog-1.6.2 ./configuremakemake install which cronolog 设定 /etc/httpd/conf/httpd.conf中加入 526行 CustomLog “/usr/l 阅读全文
posted @ 2018-08-15 08:44 Covers 阅读(76) 评论(0) 推荐(0) 编辑
摘要: 安装ftp客户端及ftp文件传输服务器 FTP在OSI模型的第七层,TCP模型第四层,即应用层 包含两个通道:控制通道,端口21;数据通道,端口20 三种远程登录的方式:匿名登录、账号登录、虚拟用户 服务端: anonymous_enable=YES 开启匿名 ftp 192.168.1.20 10 阅读全文
posted @ 2018-08-15 08:29 Covers 阅读(133) 评论(0) 推荐(0) 编辑
摘要: 一.準備三台機器: Server 192.168.1.19 Client1 192.168.1.11 二.配置(s/c都要安裝) 1.yum install -y net-snmp* 2.cp /etc/snmp/snmpd.conf /etc/snmp/snmpd.conf.$(date +%F- 阅读全文
posted @ 2018-08-15 08:29 Covers 阅读(110) 评论(0) 推荐(0) 编辑
摘要: 1.yum install -y zlib libxml libjpeg freetype libpng gd curl libiconv zlib-devel libxml2-devel libjpeg-devel freetype-devel libpng-devel curl-devel 2. 阅读全文
posted @ 2018-08-15 08:27 Covers 阅读(107) 评论(0) 推荐(0) 编辑
摘要: cd cmake-3.9.0 ./configure gmake gmake intall cd ncurses-5.9 ./configure --with-shared --without-debug --without-ada --enable-overwrite make make inst 阅读全文
posted @ 2018-08-15 08:25 Covers 阅读(120) 评论(0) 推荐(0) 编辑
摘要: 1.cd /application/ 2.tar zxf mysql-5.1.68.tar.gz 3.cd mysql-5.1.68 4.groupadd mysql 5.useradd -g mysql -M mysql 6../configure --prefix=/usr/local/mysq 阅读全文
posted @ 2018-08-15 08:22 Covers 阅读(129) 评论(0) 推荐(0) 编辑
摘要: 1.详解linux netstat输出的网络连接状态信息 http://blog.51cto.com/oldboy/1184139 2.awk数组命令经典生产实战应用拓展 http://blog.51cto.com/oldboy/1184177 3.庖丁解牛获取连接状态数的awk数组命令 http: 阅读全文
posted @ 2018-08-15 08:21 Covers 阅读(66) 评论(0) 推荐(0) 编辑
摘要: 解决:useradd nginx -s /sbin/nologin -M 解决:yum install -y gcc-gcc++ make apache服务Forbidden 403问题精彩总结 原因1:apache配置文件中没有对站点目录的权限许可,这通常是在初始安装apache后,更改了默认的a 阅读全文
posted @ 2018-08-15 08:20 Covers 阅读(117) 评论(0) 推荐(0) 编辑
摘要: 1.yum install zlib zlib-devel pcre -y 2.tar zxvf pcre-8.31.tar.gz 3.cd pcre-8.31 4../configure 5.make && make install 6.useradd nginx -s /sbin/nologin 阅读全文
posted @ 2018-08-15 08:19 Covers 阅读(162) 评论(0) 推荐(0) 编辑
摘要: CIP 客户端主机IP地址 VIP 虚拟IP地址(负载均衡网卡) DIP Director的IP地址 RIP 真实IP地址 LVS调度算法:决定了如何在集群节点之间分布工作负荷 Lvs调度器 IP:192.168.1.14 VIP:192.168.1.29 RS-1 IP:192.168.1.15 阅读全文
posted @ 2018-08-15 08:16 Covers 阅读(184) 评论(0) 推荐(1) 编辑