快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
- 随机文章
- 热门文章
- 热评文章