摘要: 编译 配置 美化 网上找好看的footer.html和header.html 如footer.html header.html 阅读全文
posted @ 2017-04-20 10:19 feral 阅读(282) 评论(0) 推荐(0) 编辑
摘要: printf "zhangsan:$(openssl passwd -crypt 123456)\n" >> htpasswd auth_basic "Restricted"; auth_basic_user_file htpasswd; 阅读全文
posted @ 2017-04-11 17:44 feral 阅读(149) 评论(0) 推荐(0) 编辑
摘要: mysqladmin -uroot -p'password' ping | grep -c alive 阅读全文
posted @ 2017-04-11 10:54 feral 阅读(162) 评论(0) 推荐(0) 编辑
摘要: ifconfig | awk '/inet addr/' | awk '!/127.0.0.1/' |awk -F ':' '{print $2}' |awk '{print $1}' (#centos6) ifconfig | awk '/inet/'|awk '!/inet6|127.0.0.1/'|awk '{print $2}' (#centos7.3) ... 阅读全文
posted @ 2017-04-04 02:39 feral 阅读(990) 评论(0) 推荐(0) 编辑
摘要: 添加系统变量: GNU_HOME值C:\Program Files (x86)\GnuWin32\ 添加path: ;%GNU_HOME%\bin wget -c -b --http-user=xxx --http-password=yyy --limit-rate=400K -P F:/ http 阅读全文
posted @ 2017-04-03 20:51 feral 阅读(149) 评论(0) 推荐(0) 编辑
摘要: 安装 一:通过yum 二:编译安装 篇幅较长暂留 三、添加网桥 使用 一:通过定义XML文件增加一台虚拟机 二:通过virt-install 新增一台虚拟机 1.准备磁盘:通常选择支持快照的qcow2格式,性能最好的是raw格式 2.安装虚拟机 3.驱动安装 SCSI——网卡——GPU 4.创建快照 阅读全文
posted @ 2017-04-02 22:32 feral 阅读(737) 评论(0) 推荐(0) 编辑
摘要: 脚本练习:判断 需求:ubuntu14.04 32 http://files.cnblogs.com/files/feral/ss.sh 阅读全文
posted @ 2017-03-22 14:18 feral 阅读(194) 评论(1) 推荐(0) 编辑
摘要: 1、linux系统基础,这个不用说了,是基础中的基础,连这个都不会就别干了,参考书籍,可以看鸟哥linux基础篇,至少要掌握这书60%内容,没必须全部掌握,但基本命令总得会吧2、网络服务,服务有很多种,每间公司都会用到不同的,但基础的服务肯定要掌握,如FTP, DNS,SAMBA, 邮件, 这几个大 阅读全文
posted @ 2017-03-22 00:03 feral 阅读(137) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2017-03-21 14:11 feral 阅读(103) 评论(0) 推荐(0) 编辑
摘要: 系统准备 配置iptables iptables -F iptables -P OUTPUT ACCEPT iptables -P FORWARD DROP iptables -A INPUT -p tcp --dport 22 -j ACCEPT iptables -P INPUT DROP ip 阅读全文
posted @ 2017-03-15 04:03 feral 阅读(790) 评论(0) 推荐(0) 编辑