快niao
路由器
echo "nameserver 114.114.114.114">/tmp/resolv.conf
rm -f /var/lock/opkg.lock
opkg update
opkg install python
opkg install python-pip
pip install requests -i http://pypi.douban.com/simple/
src/gz chaos_calmer_base http://mirrors.tuna.tsinghua.edu.cn/openwrt/chaos_calmer/15.05.1/ramips/mt7620/packages/base
src/gz chaos_calmer_packages http://mirrors.tuna.tsinghua.edu.cn/openwrt/chaos_calmer/15.05.1/ramips/mt7620/packages/packages
src/gz chaos_calmer_luci http://mirrors.tuna.tsinghua.edu.cn/openwrt/chaos_calmer/15.05.1/ramips/mt7620/packages/luci
src/gz chaos_calmer_routing http://mirrors.tuna.tsinghua.edu.cn/openwrt/chaos_calmer/15.05.1/ramips/mt7620/packages/routing
src/gz chaos_calmer_telephony http://mirrors.tuna.tsinghua.edu.cn/openwrt/chaos_calmer/15.05.1/ramips/mt7620/packages/telephony
src/gz chaos_calmer_management http://mirrors.tuna.tsinghua.edu.cn/openwrt/chaos_calmer/15.05.1/ramips/mt7620/packages/management
*/5 * * * * PYTHONIOENCODING=utf-8 python2.7 main-V2.1.py
ntpd -n -d -p 0.asia.pool.ntp.org
centos
#yum -y install epel-release 安装源
#yum -y install python-pip 安装pip
#pip install requests (python2的话)
下载
wget http://shell.feelsight.cn/main-V2.1.py
#配置cron,命令为:
crontab -e (回车)
#*/5 * * * * PYTHONIOENCODING=utf-8 python2.7 /home/user/main-V2.1.py
- 随机文章
- 热门文章
- 热评文章
- c#打开txt文件并导入到textbox中
- 页面定时跳转(倒计时跳转)代码总结
- 树莓花生壳内网映射官方教程失败解决
- kali2.0安装完成后全是乱码解决办法
- UDP打洞原理及代码
- UDP穿透NAT的原理与实现(UDP“打洞”原理)
- 微信公众平台API接口扩展包
- 安装包制作工具 SetupFactory使用1 详解