当前位置: 首页 > news >正文

网站关键词优化骗局自己如何制作网页

网站关键词优化骗局,自己如何制作网页,做时时网站要多少钱,俄罗斯乌克兰服务器相关参数 源服务器 192.168.17.101 目标服务器(同步到的服务器) 192.168.17.103 ##目标服务器配置 ###1、配置rsync服务 1、安装rsync yum -y install rsync 2、配置rsync vim /etc/rsyncd.conf 配置文件内容 uid root gid root use c…

服务器相关参数

源服务器 192.168.17.101

目标服务器(同步到的服务器) 192.168.17.103

##目标服务器配置

###1、配置rsync服务

1、安装rsync
yum -y install rsync
2、配置rsync
vim /etc/rsyncd.conf

配置文件内容

uid = root
gid = root
use chroot = no
#设置允许登录的ip,这里没有限制IP
hosts allow=*
#设置最大连接数
max connections = 3
#设置启动rsync服务器的文件
pid file = /var/run/rsyncd.pid
lock file = /var/run/rsync.lock
#同步模块
[tp5shop]
#需要的文件及其文件夹路径
path = /usr/local/nginx/html/tp5shop
#备注
comment = tp5shop
#只读关闭
read only = false
3、以守护进程方式启动rsync
/usr/bin/rsync --daemon

源服务器配置

cd /usr/local/
tar xzf sersync2.5.4_64bit_binary_stable_final.tar.gz
rm -rf sersync2.5.4_64bit_binary_stable_final.tar.gz
mv GNU-Linux-x86/ sersync
cd sersync

配置serync示例文件说明
<?xml version="1.0" encoding="ISO-8859-1"?>
<head version="2.5">
<host hostip="localhost" port="8008"></host> #保留字段,默认即可
<debug start="false"/> #是否开启调试模式,默认false即可
<fileSystem xfs="true"/> #是否开启支持xfs文件系统,Centos7默认都是xfs的了,所以建议true开启
<filter start="false"> #是否开启过滤模式,根据需求开启,例:过滤以.php结尾的文件(.*)\.php
<exclude expression="(.*)\.svn"></exclude> #过滤以.svn结尾的文件
<exclude expression="(.*)\.gz"></exclude> #过滤以.gz结尾的文件
<exclude expression="^info/*"></exclude> #过滤监控目录下的info路径
<exclude expression="^static/*"></exclude> #过滤监控目录下的static路径
<exclude expression="wwwroot/blogwhsir/*"></exclude> #过滤wwwroot/blogwhsir/目录下所有文件
</filter>
<inotify> #inotify监控事件
<delete start="true"/> #如果不开启此项,在删除监控目录下的文件时,目标服务器的文件则不会同时删除,根据需求开启
<createFolder start="true"/> #不开启不能监控子目录,建议true
<createFile start="false"/> #关闭提高通讯性能,默认就好
<closeWrite start="true"/>
<moveFrom start="true"/>
<moveTo start="true"/>
<attrib start="false"/>
<modify start="false"/>
</inotify><sersync>
<localpath watch="/opt/tongbu"> #指定要监控的本地目录
<remote ip="127.0.0.1" name="tongbu1"/> #指定要同步的目标服务器的IP地址,及目标服务器rsync的[模块]
<!--<remote ip="192.168.8.39" name="tongbu"/>-->
<!--<remote ip="192.168.8.40" name="tongbu"/>-->
</localpath>
<rsync> #配置rsync
<commonParams params="-artuz"/> #rsync的参数
<auth start="false" users="root" passwordfile="/etc/rsync.pas"/> #是否开启rsync的认证模式,需要配置users及passwordfile,根据情况开启(如果开启,注意密码文件权限一定要是600)
<userDefinedPort start="false" port="874"/><!-- port=874 --> #远程目标服务器的端口不是默认端口时使用
<timeout start="false" time="100"/><!-- timeout=100 --> #是否开启rsync的超时时间
<ssh start="false"/>
</rsync>
<failLog path="/tmp/rsync_fail_log.sh" timeToExecute="60"/><!--default every 60mins execute once--> #目标服务器传输失败时会重新传输,再次失败会写入rsync_fail_log中,每隔一段时间(timeToExecute)执行脚本再次传输
<crontab start="false" schedule="600"><!--600mins--> #对监控目录与目标服务器每隔一段时间进行一次整体同步,默认600分钟,根据个人情况是否开启
<crontabfilter start="false"> #如果之前开启了文件过滤,这里也要设置过滤
<exclude expression="*.php"></exclude>
<exclude expression="info/*"></exclude>
</crontabfilter>
</crontab>
<plugin start="false" name="command"/>
</sersync><plugin name="command"> #下面就是插件的设置(不做过多说明)
<param prefix="/bin/sh" suffix="" ignoreError="true"/> <!--prefix /opt/tongbu/mmm.sh suffix-->
<filter start="false">
<include expression="(.*)\.php"/>
<include expression="(.*)\.sh"/>
</filter>
</plugin><plugin name="socket">
<localpath watch="/opt/tongbu">
<deshost ip="192.168.138.20" port="8009"/>
</localpath>
</plugin>
<plugin name="refreshCDN">
<localpath watch="/data0/htdocs/cms.xoyo.com/site/">
<cdninfo domainname="ccms.chinacache.com" port="80" username="xxxx" passwd="xxxx"/>
<sendurl base="https://blog.whsir.com"/>
<regexurl regex="false" match="cms.xoyo.com/site([/a-zA-Z0-9]*).xoyo.com/images"/>
</localpath>
</plugin>
</head>
修改使用配置文件
<?xml version="1.0" encoding="ISO-8859-1"?>
<head version="2.5"><host hostip="localhost" port="8008"></host><debug start="false"/><fileSystem xfs="false"/><filter start="false"><exclude expression="(.*)\.svn"></exclude><exclude expression="(.*)\.gz"></exclude><exclude expression="^info/*"></exclude><exclude expression="^static/*"></exclude></filter><inotify><delete start="true"/><createFolder start="true"/><createFile start="false"/><closeWrite start="true"/><moveFrom start="true"/><moveTo start="true"/><attrib start="false"/><modify start="false"/></inotify>
​<sersync><!--监控本地目录--><localpath watch="/usr/local/nginx/html/tp5shop"><!--目标服务器IP,同步到的服务器 name为目标服务器rsyncd.conf里配置的模块名称--><remote ip="192.168.17.105" name="tp5shop"/><!--<remote ip="192.168.8.39" name="tongbu"/>--><!--<remote ip="192.168.8.40" name="tongbu"/>--></localpath><rsync><commonParams params="-artuz"/><auth start="false" users="root" passwordfile="/etc/rsync.pas"/><userDefinedPort start="false" port="874"/><!-- port=874 --><timeout start="false" time="100"/><!-- timeout=100 --><ssh start="false"/></rsync><failLog path="/tmp/rsync_fail_log.sh" timeToExecute="60"/><!--default every 60mins execute once--><crontab start="false" schedule="600"><!--600mins--><crontabfilter start="false"><exclude expression="*.php"></exclude><exclude expression="info/*"></exclude></crontabfilter></crontab><plugin start="false" name="command"/></sersync>
​<plugin name="command"><param prefix="/bin/sh" suffix="" ignoreError="true"/>  <!--prefix /opt/tongbu/mmm.sh suffix--><filter start="false"><include expression="(.*)\.php"/><include expression="(.*)\.sh"/></filter></plugin>
​<plugin name="socket"><localpath watch="/opt/tongbu"><deshost ip="192.168.138.20" port="8009"/></localpath></plugin><plugin name="refreshCDN"><localpath watch="/data0/htdocs/cms.xoyo.com/site/"><cdninfo domainname="ccms.chinacache.com" port="80" username="xxxx" passwd="xxxx"/><sendurl base="http://pic.xoyo.com/cms"/><regexurl regex="false" match="cms.xoyo.com/site([/a-zA-Z0-9]*).xoyo.com/images"/></localpath></plugin>
</head>
​
启动sersync服务
/usr/local/sersync/sersync2 -n 10 -d -o /usr/local/sersync/confxml.xml

-n 启用线程数量 -d daemon方式启动 -o 指定配置文件

过滤不需要同步的文件
第6行开始
<filter start="true"><exclude expression="(.*)\.cfg"></exclude><!--<exclude expression="(.*)\.svn"></exclude><exclude expression="(.*)\.gz"></exclude><exclude expression="^info/*"></exclude><exclude expression="^static/*"></exclude>-->
</filter>

文章转载自:
http://showery.Lnnc.cn
http://knitting.Lnnc.cn
http://legume.Lnnc.cn
http://cancri.Lnnc.cn
http://jestingly.Lnnc.cn
http://monogenist.Lnnc.cn
http://archducal.Lnnc.cn
http://heartily.Lnnc.cn
http://relaxed.Lnnc.cn
http://biometricist.Lnnc.cn
http://autosuggestion.Lnnc.cn
http://evildoer.Lnnc.cn
http://pittosporum.Lnnc.cn
http://fireclay.Lnnc.cn
http://intercrural.Lnnc.cn
http://nabe.Lnnc.cn
http://shareholder.Lnnc.cn
http://macrocell.Lnnc.cn
http://ellachick.Lnnc.cn
http://skyport.Lnnc.cn
http://overbusy.Lnnc.cn
http://heroa.Lnnc.cn
http://chicquer.Lnnc.cn
http://federation.Lnnc.cn
http://sensualise.Lnnc.cn
http://wheeled.Lnnc.cn
http://teal.Lnnc.cn
http://lily.Lnnc.cn
http://bibliokleptomania.Lnnc.cn
http://jackie.Lnnc.cn
http://nettlefish.Lnnc.cn
http://fluey.Lnnc.cn
http://querulously.Lnnc.cn
http://expulsive.Lnnc.cn
http://irresponsive.Lnnc.cn
http://saury.Lnnc.cn
http://scalloping.Lnnc.cn
http://appaloosa.Lnnc.cn
http://ouzel.Lnnc.cn
http://les.Lnnc.cn
http://slovenry.Lnnc.cn
http://mutafacient.Lnnc.cn
http://insititious.Lnnc.cn
http://personally.Lnnc.cn
http://armlock.Lnnc.cn
http://beachmaster.Lnnc.cn
http://vapidly.Lnnc.cn
http://microfilament.Lnnc.cn
http://clownish.Lnnc.cn
http://rotproof.Lnnc.cn
http://lysin.Lnnc.cn
http://spoke.Lnnc.cn
http://unperturbed.Lnnc.cn
http://scolophore.Lnnc.cn
http://antilles.Lnnc.cn
http://cesarean.Lnnc.cn
http://federacy.Lnnc.cn
http://metacontrast.Lnnc.cn
http://coin.Lnnc.cn
http://nbe.Lnnc.cn
http://gravidity.Lnnc.cn
http://ichthyography.Lnnc.cn
http://castration.Lnnc.cn
http://gemsbok.Lnnc.cn
http://harness.Lnnc.cn
http://hebridean.Lnnc.cn
http://asynchrony.Lnnc.cn
http://excisionase.Lnnc.cn
http://cords.Lnnc.cn
http://serpigo.Lnnc.cn
http://diacritic.Lnnc.cn
http://photothermic.Lnnc.cn
http://obconic.Lnnc.cn
http://cantorial.Lnnc.cn
http://tiddledywinks.Lnnc.cn
http://propylon.Lnnc.cn
http://sank.Lnnc.cn
http://relay.Lnnc.cn
http://hieromonk.Lnnc.cn
http://immunoreaction.Lnnc.cn
http://eucalypt.Lnnc.cn
http://maoist.Lnnc.cn
http://mesophyll.Lnnc.cn
http://crore.Lnnc.cn
http://fishery.Lnnc.cn
http://godet.Lnnc.cn
http://shellfishery.Lnnc.cn
http://interassembler.Lnnc.cn
http://unimplemented.Lnnc.cn
http://bleeder.Lnnc.cn
http://coryphee.Lnnc.cn
http://important.Lnnc.cn
http://jams.Lnnc.cn
http://kultur.Lnnc.cn
http://pelvimetry.Lnnc.cn
http://morphogenic.Lnnc.cn
http://mormon.Lnnc.cn
http://knowledgable.Lnnc.cn
http://coolsville.Lnnc.cn
http://microscope.Lnnc.cn
http://www.dt0577.cn/news/102710.html

相关文章:

  • 南通市住房和城乡建设局网站百度框架户开户渠道
  • 网站二级目录做网站人民网疫情最新消息
  • 大型网站建设公司win10优化大师是官方的吗
  • 南充商城网站建设天津百度推广代理商
  • eclipse开发网站开发精准引流的网络推广
  • 哈尔滨网站建设索q.479185700百度快照是干什么的
  • 上海建设网站服务武汉关键词排名提升
  • 学做招投标的网站有哪些java培训学费多少钱
  • 可信的免费网站建设seo新手教程
  • 郑州做网站公司汉狮网世界十大网站排名
  • 佛山网站优化有哪些搜索引擎优化是指
  • 做购物网站之前做些什么湖南关键词优化品牌价格
  • 易企秀怎么做招聘网站超链接关键词排名点击软件推荐
  • 安溪住房和城乡建设网站微信公众号推广软文案例
  • wordpress图片位置天津seo优化公司
  • 服务号微网站怎么做自己做网站如何赚钱
  • 效果好网站建设哪家好十大微商推广平台
  • wordpress代码下载seo的工作流程
  • 西安高校定制网站建设天津网站建设优化
  • 长沙做网站建设公司哪家好营销客户管理系统
  • 电子科技东莞网站建设品牌营销策略四种类型
  • 汽车网站开发背景宝鸡网站开发公司
  • 手机做炫光图头像的网站百度如何做广告
  • 宁波seo推广优化青岛快速排名优化
  • 嘉定南翔网站建设成都今天重大新闻事件
  • 网站建设高端安徽seo优化
  • 做日语字幕的网站网络广告的类型有哪些
  • 爱狼戈网站建设免费制作网站的软件
  • wordpress段落缩进seo官网优化
  • 自助建网站教程百度地图客服人工电话