yum install -y mariadb mariadb-server
yum install -y java # maven、git
vi /etc/rc.d/rc.local # 需要chmod +x /etc/rc.d/rc.local,支持nginx java ourjs chkconfig --list # 设置on则自动运行 chkconfig --level 5 mysql on,支持redis svnserve vsftpd vi ~/.bash_profile # alias jget="java Get",命令别名
su jenkins -c 'sh restart.sh' &
cd /var/spool/clientmqueue && rm -f *,crontab命令抛弃输出:> /dev/null 2>&1
LD_PRELOAD=/lib64/libc-2.5.so mv /lib64/libc.so.6 /lib64/libc.so.6.bak #也可以删除 LD_PRELOAD=/lib64/libc-2.5.so ln -s /lib64/libc-2.5.so /lib64/libc.so.6
https://help.aliyun.com/knowledge_detail/38831.html http://imgs-storage.cdn.aliyuncs.com/help/jiankong/cms_post.sh
yum install python-setuptools && easy_install pip pip install shadowsocks vi /etc/shadowsocks.json { "server": "0.0.0.0", "server_port": 8388, "local_address": "127.0.0.1", "local_port": 1080, "password": "riphic9eeGaht1oOLu0oyoon", "timeout": 300, "method": "aes-256-cfb", "fast_open": true } 多账户配置 "port_password":{ "8381":"xxxxxxx", "8382":"xxxxxxx", "8383":"xxxxxxx", } ssserver -c /etc/shadowsocks.json --user nobody -d start ssserver -c /etc/shadowsocks.json --user nobody -d stop tail -f /var/log/shadowsocks.log 加速,内核不支持就算了 wget -N --no-check-certificate https://github.com/91yun/serverspeeder/raw/master/serverspeeder.sh && bash serverspeeder.sh