——————————-中国国内路由表来源—————————————

运营商的ip网段列表的获取来源有很多地方,选用dnspod提供的ip列表是比较优化的选择。
这个是dnspod DNS分运营商智能解析,所使用的IP网段表:www.dnspod.cn/misc/iplist.txt
打开iplist.txt后,有5个网段,cnc网通、tel电信、edu教育、cmc移动、crc铁通、foreign外国。

我已经把此列表做成routeros可用的最新路由规则表

——————————–使用说明—————————————————-

tel 为电信
cnc 为联通(网通)
cmc 为移动
edu 为教育网
crc 为铁通
foreign 为国外

!!!!!!!!!!!!!!!!!!!!!!!特别注意!!!!!!!!!!!!!!!!!!!!!!
如果不用国外的,或者机器性能差的请不要导入foreign.rsc .
里面记录太多了. 实际上不建议国内用户导入foreign.rsc .

 

导入方法.
1 打开winbox > files 把文件拖入.
2 New Terminal > import file-name=tel.rsc ;如法炮制
RouterOS电信/联通/移动/教育网/铁通/国外路由表策略路由表每天更新
#最新更新发布页面 https://www.iamle.com/archives/1165.html
#更新时间 2013年10月8日 16:36:56
#流水理鱼 wwek 收集整理 https://www.iamle.com
#QQ 121901634

 

—————————–下载———————————

本地下载:[download id=”3″]

百度网盘下载:http://pan.baidu.com/s/1Fubg2

历史

routeros最新路由表20121012

本地下载:[download id=”2″]

百度网盘下载:http://pan.baidu.com/share/link?shareid=93930&uk=1644454245

真正的开始学ps应该是今年学习摄影以来,看了那么多单篇的ps教程,到头来还是把不门,感觉ps很陌生。走了不少的弯路,终于被我发现了这套教程。不要看这是 ps cs2的老教程,其实ps的基础很重要,ps高级版本只是加功能而已,学好这个你也就通吃ps了。大家共勉。
《李涛(国内最好的PS讲师之一)主讲 Photoshop CS2(共24集)]清晰RMVB》
课程目录:
01: 李涛PS教程:光和色的关系_1
02: 李涛PS教程: 光和色的关系_2
03: 李涛PS教程: 色彩模式 图像分辩率
04: 李涛PS教程: 绘画与修饰工具_1
05: 李涛PS教程: 绘画与修饰工具_2
06: 李涛PS教程: 绘画与修饰工具_3
07: 李涛PS教程: 绘画与修饰工具_4
08: 李涛PS教程: 绘画与修饰工具_5
09: 李涛PS教程: bridge的运用和数码照片的处理
10: 李涛PS教程: 通道和蒙版
11: 李涛PS教程: alpha通道
12: 李涛PS教程: 通道的高级运用技巧
13: 李涛PS教程:调色_1
14: 李涛PS教程: 调色_2
15: 李涛PS教程: 调色_3
16: 李涛PS教程: 图象模式 通道案例
17: 李涛PS教程: 图层效果_1
18: 李涛PS教程: 图层效果_2
19: 李涛PS教程: 图层效果_3
20: 李涛PS教程: 滤镜效果_1
21: 李涛PS教程: 滤镜效果_2
22: 李涛PS教程: 滤镜效果_3
23: 李涛PS教程: 滤镜效果_4
24: 李涛PS教程: 调色高级技巧

继续阅读

# The following options will be passed to all MySQL clients
[client]
#password    = your_password
character-set-server = utf8
port        = 3306
socket        = /tmp/mysql.sock
 
# The MySQL server
[mysqld]
#user    = mysql
port        = 3306
socket        = /tmp/mysql.sock
basedir = /usr/local/mysql
datadir = /home/mysql/data
#启用错误日志
#log-error = mysql-bin.err
log-error = /home/mysql/mysql_error.log
pid-file = /home/mysql/mysql.pid
open_files_limit    = 10240
back_log = 600
#全局最大并发
max_connections = 5000
#单账户最大并发
max_user_connections=3000
max_connect_errors = 6000
table_cache = 614
external-locking = FALSE
#skip-external-locking
max_allowed_packet = 32M
sort_buffer_size = 1M
join_buffer_size = 1M
thread_cache_size = 300
#thread_concurrency = 8
query_cache_size = 512M
query_cache_limit = 2M
query_cache_min_res_unit = 2k
default-storage-engine = MyISAM
thread_stack = 192K
transaction_isolation = READ-COMMITTED
tmp_table_size = 246M
max_heap_table_size = 246M
long_query_time = 3
log-slave-updates
binlog_cache_size = 4M
#启用二进制日志
#log-bin = mysql-bin
log-bin = /home/mysql/binlog/mysql-bin
# 二进制格式日志三种类型 Mixed,Statement,Row
#binlog_format = “STATEMENT”
#binlog_format = “ROW”
binlog_format = MIXED
max_binlog_cache_size = 8M
max_binlog_size = 1G
relay-log-index = /home/mysql/relaylog/relaylog
relay-log-info-file = /home/mysql/relaylog/relaylog
relay-log = /home/mysql/relaylog/relaylog
expire_logs_days = 30
key_buffer_size = 256M
read_buffer_size = 1M
read_rnd_buffer_size = 16M
bulk_insert_buffer_size = 64M
myisam_sort_buffer_size = 128M
myisam_max_sort_file_size = 10G
myisam_repair_threads = 1
myisam_recover
 
log-slow-queries = /home/mysql/slow.log
long_query_time = 5
 
 
interactive_timeout = 120
wait_timeout = 120
 
#replicate-ignore-db = mysql
replicate-ignore-db = test
replicate-ignore-db = information_schema
 
#设置服务器id
server-id = 2
#复制所有库除了
#binlog_ignore_db = mysql,test
#仅复制
#binlog_do_db = mysql,test
 
skip-name-resolve
#master-connect-retry = 10
slave-skip-errors = 1032,1062,126,1114,1146,1048,1396
 
#master-host     =   192.168.1.2
#master-user     =   username
#master-password =   password
#master-port     =  3306
 
 
 
# Uncomment the following if you are using InnoDB tables
#innodb_data_home_dir = /usr/local/mysql/var
#innodb_data_file_path = ibdata1:256M:autoextend
#innodb_log_group_home_dir = /usr/local/mysql/var
# You can set .._buffer_pool_size up to 50 – 80 %
# of RAM but beware of setting memory usage too high
#innodb_buffer_pool_size = 512M
#innodb_additional_mem_pool_size = 16M
# Set .._log_file_size to 25 % of buffer pool size
#innodb_log_file_size = 126M
#innodb_log_buffer_size = 16M
#innodb_flush_log_at_trx_commit = 2
#innodb_lock_wait_timeout = 120
 
#innodb_file_io_threads = 4
#innodb_thread_concurrency = 8
#innodb_log_files_in_group = 3
#innodb_max_dirty_pages_pct = 90
#innodb_file_per_table = 0
 
[mysqldump]
quick
max_allowed_packet = 32M

tar zxvf xcache-2.0.1.tar.gz
cd xcache-2.0.1
phpize
./configure --with-php-config=/usr/local/php/bin/php-config --enable-xcache --enable-xcache-optimizer
make
make install
这步完成后出现的路径请记下来,后面的配置会用到
[root@web2 xcache-2.0.1]# make install
Installing shared extensions:     /usr/local/php/lib/php/extensions/no-debug-non-zts-20090626/
[root@web2 xcache-2.0.1]#

算出密码的MD5字串,用于设置管理密码
echo -n "123456" | md5sum

配置php.ini支持XCache
vi /usr/local/php/etc/php.ini

[xcache-common]
zend_extension = /usr/local/php/lib/php/extensions/no-debug-non-zts-20090626/xcache.so
[xcache.admin]
; Change xcache.admin.user to your preferred login name
xcache.admin.user = "admin"
; Change xcache.admin.pass to the MD5 fingerprint of your password
; Use md5 -s "your_secret_password" to find the fingerprint
xcache.admin.pass = "e10adc3949ba59abbe56e057f20f883e"
[xcache]
; Change xcache.size to tune the size of the opcode cache
xcache.size = 24M
xcache.shm_scheme = "mmap"
xcache.count = 2
xcache.slots = 8K
xcache.ttl = 0
xcache.gc_interval = 0
; Change xcache.var_size to adjust the size of variable cache
xcache.var_size = 8M
xcache.var_count = 1
xcache.var_slots = 8K
xcache.var_ttl = 0
xcache.var_maxttl = 0
xcache.var_gc_interval = 300
xcache.test = Off
xcache.readonly_protection = On
xcache.mmap_path = "/tmp/xcache"
xcache.coredump_directory = ""
xcache.cacher = On
xcache.stat = On
xcache.optimizer = Off
[xcache.coverager]
xcache.coverager = On
xcache.coveragedump_directory = ""

重启php-fpm

[root@web2 ]# /etc/init.d/php-fpm restart

Gracefully shutting down php-fpm . done
Starting php-fpm  done
[root@web2 ]#

查看phpinfo显出的信息
This program makes use of the Zend Scripting Language Engine:
Zend Engine v2.3.0, Copyright (c) 1998-2012 Zend Technologies
with XCache v2.0.1, Copyright (c) 2005-2012, by mOo
或者用探针查看是否已经支持xcache

更多信息请查看xcache官网~

http://xcache.lighttpd.net/

安装从机rsync
 
yum install rsync

vi /etc/rsyncd.conf 

uid=root
gid=root
max connections=100
use chroot=no
log file=/var/log/rsyncd.log
pid file=/var/run/rsyncd.pid
lock file=/var/run/rsyncd.lock
[tongbu1] #和sersync相关内容对应
path=/home/wwwroot
#uid = root
comment = tongbu1
ignore errors = yes
read only = no
hosts allow = 10.96.0.48
hosts deny = *

 
 
启动服

rsync –daemon
ps -ef | grep rsync