快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
- 随机文章
- 热门文章
- 热评文章
- 页面定时跳转(倒计时跳转)代码总结
- Libview写软件更新升级程序
- 用PHP发送POST请求
- UDP打洞原理及代码
- 在树莓派/linux上使用阿里云DNS解析作为DDNS使用
- C# 生成图片缩略图
- 安装包制作工具 SetupFactory使用2 API清单
- Linux下python2.7安装pip