debian8 64 superbench superspeed softether shadowsocks ssr ss bt bbr pyenv exim4 php tmux crontab ntpdate

wget https://raw.githubusercontent.com/oooldking/script/master/superspeed.sh && chmod +x superspeed.sh && ./superspeed.sh
--------------- debian 8, all up -------------Vicer
wget --no-check-certificate -qO DebianNET.sh 'https://moeclub.org/attachment/LinuxShell/DebianNET.sh' && chmod a+x DebianNET.sh; bash DebianNET.sh -d 8 -v 64 -a
wget -N --no-check-certificate https://raw.githubusercontent.com/FunctionClub/ZBench/master/ZBench-CN.sh && bash ZBench-CN.sh
wget -qO- git.io/superbench_old.sh | bash
wget -qO- git.io/superupdate.sh | bash
passwd
nano /etc/hosts; nano /etc/hostname # 127.0.0.1 localhost ce.swds.tk
apt-get update; apt-get install -y libevent-dev libncurses5-dev tmux nano git htop mailutils ntpdate net-tools libc6-dev gcc make build-essential libssl-dev zlib1g-dev libbz2-dev libreadline-dev libsqlite3-dev wget curl llvm automake tcptraceroute ca-certificates
wget https://github.com/SoftEtherVPN/SoftEtherVPN_Stable/releases/download/v4.28-9669-beta/softether-vpnserver-v4.28-9669-beta-2018.09.11-linux-x64-64bit.tar.gz; tar -zxvf softether-vpnserver-v4.28-9669-beta-2018.09.11-linux-x64-64bit.tar.gz; cd vpnserver; ./.install.sh; ./vpnserver start; cd ~
wget --no-check-certificate https://raw.githubusercontent.com/teddysun/shadowsocks_install/master/shadowsocks-all.sh; chmod +x shadowsocks-all.sh; ./shadowsocks-all.sh 2>&1 | tee shadowsocks-all.log
wget -O install.sh http://download.bt.cn/install/install-ubuntu.sh && bash install.sh; cd /www/server/panel && python tools.pyc panel YourPWD; cd ~;
wget --no-check-certificate -qO 'BBR.sh' 'https://moeclub.org/attachment/LinuxShell/BBR.sh' && chmod a+x BBR.sh && bash BBR.sh -f
git clone git://github.com/yyuu/pyenv.git ~/.pyenv;echo 'export PYENV_ROOT="$HOME/.pyenv"' >> ~/.bashrc;echo 'export PATH="$PYENV_ROOT/bin:$PATH"' >> ~/.bashrc;echo 'eval "$(pyenv init -)"' >> ~/.bashrc; exec $SHELL -l;
pyenv install 3.6.2 -v; pyenv rehash; pyenv global 3.6.2; python -V; pip install --upgrade pip; pip install feedparser; pip install requests; pip install beautifulsoup4; pip install selenium; pyenv rehash
dpkg-reconfigure tzdata; /etc/init.d/cron restart; date
dpkg-reconfigure exim4-config; echo "This is a test mail"|mailx -s "test" "liuguangjian@qq.com"
dpkg-reconfigure locales
ln -s /www/wwwroot/default/py py
# php.ini的 disable_functions = shell_exec

crontab

crontab -e
# min hour date month week
# 01 04 * * * rm -rf /root/.vnc/*.log
# 02 04 * * * cd ~/.local/share/Trash; rm -rf *
# 03 04 * * * /bin/sh /root/vpnrestart.sh > /dev/null
# 04 07 * * * ssserver -p 443 -k pwd -m rc4-md5 -d restart > /dev/null 2>&1
@reboot /bin/sh /root/tmux.sh
*/5 * * * * /bin/sh /www/wwwroot/default/py/snews.sh > /dev/null 2>&1
31 1 * * * /usr/sbin/ntpdate pool.ntp.org >> /root/z_timesync.txt 2>&1
32 1 * * * /bin/sh /www/wwwroot/default/py/s_qiandao.sh >> /root/z_qiandao.txt 2>&1

标签: none

添加新评论