-
首先不保证按照此日志够帮助到你
-
某些软件,我还是不是很推荐apt-get来安装,比较推荐gz二进制包来安装
-
基本的linux操作要保证
-
以下是安装步骤
# 请确认 $HOME下没有.my.cnf, /etc/下没有my.cnf
# 且 ps aux | grep mysql 没有结果
| /webapp/shared/log/*.log { | |
| su deploy deploy | |
| size=20M | |
| missingok | |
| rotate 52 | |
| compress | |
| delaycompress | |
| notifempty | |
| copytruncate | |
| } |
首先不保证按照此日志够帮助到你
某些软件,我还是不是很推荐apt-get来安装,比较推荐gz二进制包来安装
基本的linux操作要保证
以下是安装步骤
# 请确认 $HOME下没有.my.cnf, /etc/下没有my.cnf
# 且 ps aux | grep mysql 没有结果
| [General] | |
| loglevel = notify | |
| skip-proxy = 192.168.0.0/16, 10.0.0.0/8, 172.16.0.0/12, 127.0.0.0/8, 100.64.0.0/10, localhost, *.local, e.crashlytics.com | |
| bypass-tun = 192.168.0.0/16, 0.0.0.0/8, 1.0.0.0/9, 1.160.0.0/11, 1.192.0.0/11, 10.0.0.0/8, 14.0.0.0/11, 14.96.0.0/11, 14.128.0.0/11, 14.192.0.0/11, 27.0.0.0/10, 27.96.0.0/11, 27.128.0.0/9, 36.0.0.0/10, 36.96.0.0/11, 36.128.0.0/9, 39.0.0.0/11, 39.64.0.0/10, 39.128.0.0/10, 42.0.0.0/8, 43.224.0.0/11, 45.64.0.0/10, 47.64.0.0/10, 49.0.0.0/9, 49.128.0.0/11, 49.192.0.0/10, 54.192.0.0/11, 58.0.0.0/9, 58.128.0.0/11, 58.192.0.0/10, 59.32.0.0/11, 59.64.0.0/10, 59.128.0.0/9, 60.0.0.0/10, 60.160.0.0/11, 60.192.0.0/10, 61.0.0.0/10, 61.64.0.0/11, 61.128.0.0/10, 61.224.0.0/11, 100.64.0.0/10, 101.0.0.0/9, 101.128.0.0/11, 101.192.0.0/10, 103.0.0.0/10, 103.192.0.0/10, 106.0.0.0/9, 106.224.0.0/11, 110.0.0.0/7, 112.0.0.0/9, 112.128.0.0/11, 112.192.0.0/10, 113.0.0.0/9, 113.128.0.0/11, 113.192.0.0/10, 114.0.0.0/9, 114.128.0.0/11, 114.192.0.0/10, 115.0.0.0/8, 116.0.0.0/8, 117.0.0.0/9, |
| 第1列分钟1~59 | |
| 第2列小时1~23(0表示子夜) | |
| 第3列日1~31 | |
| 第4列月1~12 | |
| 第5列星期0~6(0表示星期天) | |
| 第6列要运行的命令 | |
| 下面是crontab的格式: | |
| 分 时 日 月 星期 要运行的命令 |
# Path to your oh-my-zsh installation.
export ZSH=$HOME/.oh-my-zsh
# Set name of the theme to load.
# Look in ~/.oh-my-zsh/themes/
# Optionally, if you set this to "random", it'll load a random theme each
# time that oh-my-zsh is loaded.
ZSH_THEME="pygmalion"
心情不美丽!
iPhone 通过微信内置浏览器访问网页时得到 User Agent 是:
Mozilla/5.0 (iPhone; CPU iPhone OS 6_1_3 like Mac OS X) AppleWebKit/536.26 (KHTML, like Gecko) Mobile/10B329 MicroMessenger/5.0.1
Android 通过微信内置浏览器访问网页时得到 User Agent 是:
Mozilla/5.0 (Linux; U; Android 2.3.6; zh-cn; GT-S5660 Build/GINGERBREAD) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/533.1 MicroMessenger/4.5.255
#!/usr/bin/env bash
# Fri Jul 17 13:34:04 CST 2015
DB_BACKUP=/path/to/your/backup/folder
export DB_BACKUP
if [[ ! -d $DB_BACKUP ]]; then
echo "$DB_BACKUP NOT FOUND!"
exit 1
| var sslocal = "SOCKS5 127.0.0.1:8899"; | |
| var DEFAULT = 'DIRECT'; | |
| var proxy = sslocal; | |
| var whiteSLDs = { | |
| "moe.fm": 1, | |
| "moe.org": 1, | |
| "miui.com": 1, | |
| "xiaomi.com": 1, |
| var DEFAULT = "DIRECT"; | |
| var proxy = "SOCKS5 127.0.0.1:9909"; | |
| var domains = { | |
| "moe.fm": 1, | |
| "moe.org": 1, | |
| "miui.com": 1, | |
| "xiaomi.com": 1, | |
| "webhek.com": 1, | |
| "icourse163.org": 1, |