摘要: 阅读全文
posted @ 2017-04-13 22:02 GeeKTuNG 阅读(194) 评论(0) 推荐(0) 编辑
摘要: 临时配置网络(ip,网关,dns)+永久配置设置IP和掩码 ifconfig eth0 192.168.2.2 netmask 255.255.255.0 设置网关route add default gw 192.168.2.10[root@bogon ~]# cat /etc/sysconfig/ 阅读全文
posted @ 2017-03-21 17:30 GeeKTuNG 阅读(246) 评论(0) 推荐(0) 编辑
摘要: nginx服务 源码安装: yum install gcc-* glibc-* openssl openssl-devel pcre pcre-devel zlib zlib-devel -y ls tar xvf nginx-1.10.3.tar.gz cd nginx-1.10.3 ls ./c 阅读全文
posted @ 2017-03-20 20:29 GeeKTuNG 阅读(280) 评论(0) 推荐(0) 编辑
摘要: 要点回顾 free命令查看内存 整理buffer与cache的作用 1、buffer(缓冲) 是为了提高内存和硬盘(或其他I/O设备)之间的数据交换的速度而设计的。 2、cache(缓存) 从CPU角度考虑,是为了提高cpu和内存之间的数据交换速度而设计的,例如平常见到的一级缓存、二级缓存、三级缓存 阅读全文
posted @ 2017-03-17 15:35 GeeKTuNG 阅读(222) 评论(0) 推荐(0) 编辑
摘要: 要点回顾 1) 将用户信息数据库文件和组信息数据库文件纵向合并为一个文件/1.txt(覆盖) cp /etc/passwd . cat ./passwd >1.txt cp /etc/group ./ cat ./group >1.txt >为覆盖命令 >>为追加命令 2) 将用户信息数据库文件和用 阅读全文
posted @ 2017-03-16 17:06 GeeKTuNG 阅读(536) 评论(0) 推荐(0) 编辑