摘要: #!/bin/bash /usr/sbin/service aria2 stop list=`wget -qO- https://raw.githubusercontent.com/ngosang/trackerslist/master/trackers_all.txt|awk NF|sed ":a 阅读全文
posted @ 2019-01-02 21:36 Mrcoool 阅读(3406) 评论(0) 推荐(0)
摘要: 安装net-tools: yum install -y net-tools 安装epel源 yum install epel-release 安装fail2ban yum install fail2ban 安装开发工具包 yum groupinstall "Development Tools" 禁用 阅读全文
posted @ 2018-09-18 17:03 Mrcoool 阅读(167) 评论(0) 推荐(0)
摘要: 使用TMAC软件是最佳方案。官网地址:www.technitium.com 阅读全文
posted @ 2018-07-03 23:26 Mrcoool 阅读(195) 评论(0) 推荐(0)
摘要: 首先确定是否安装有python: python -V 如果有: cd 到你要开放的文件夹中,然后使用下面的命令可以把 当前文件夹内的所有文件 发布到 8000 端口。 python -m SimpleHTTPServer 8000 如果目录下有index.html,就会显示该文件内容,否则就列目录。 阅读全文
posted @ 2018-07-02 16:50 Mrcoool 阅读(790) 评论(0) 推荐(0)
摘要: 安装:yum install nc.x86_64 发送文件: nc -l port < somefile.xxx 接收文件: nc -n x.x.x.x port > somefile.xxx 阅读全文
posted @ 2018-07-02 16:43 Mrcoool 阅读(2828) 评论(0) 推荐(0)
摘要: #!/bin/bash echo -e "1) A"echo -e "2) B"echo -e "3) C"echo -e "4) D"echo -e "5) E"echo -e "6) F"echo -e "7) G"echo -e "8) H"echo -e "9) I"echo -e "-- 阅读全文
posted @ 2018-07-02 16:41 Mrcoool 阅读(407) 评论(0) 推荐(0)
摘要: 查询现在系统的kernel安装包:rpm -qa |grep kernel 删除不用的内核安装包:rpm -e xxx centos 6升级:https://blog.csdn.net/wh211212/article/details/78683753 centos 7升级:https://linu 阅读全文
posted @ 2018-06-23 01:35 Mrcoool 阅读(171) 评论(0) 推荐(0)
摘要: ipmitool lan print 1 ipmitool lan set 1 ipaddr 192.168.0.12 ipmitool lan set 1 netmask 255.255.255.0 ipmitool lan set 1 defgw ipaddr 192.168.0.1 阅读全文
posted @ 2018-06-23 01:30 Mrcoool 阅读(1994) 评论(0) 推荐(0)