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

网站建设空间多大关键词优化公司哪家效果好

网站建设空间多大,关键词优化公司哪家效果好,网站建设两年免费维护,嵌入式培训机构排名服务器相关参数 源服务器 192.168.17.101 目标服务器#xff08;同步到的服务器#xff09; 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 version1.0 encodingISO-8859-1? head version2.5 host hostiplocalhost port8008/host #保留字段默认即可 debug startfalse/ #是否开启调试模式,默认false即可 fileSystem xfstrue/ #是否开启支持xfs文件系统Centos7默认都是xfs的了所以建议true开启 filter startfalse #是否开启过滤模式根据需求开启例:过滤以.php结尾的文件(.*)\.php exclude expression(.*)\.svn/exclude #过滤以.svn结尾的文件 exclude expression(.*)\.gz/exclude #过滤以.gz结尾的文件 exclude expression^info/*/exclude #过滤监控目录下的info路径 exclude expression^static/*/exclude #过滤监控目录下的static路径 exclude expressionwwwroot/blogwhsir/*/exclude #过滤wwwroot/blogwhsir/目录下所有文件 /filter inotify #inotify监控事件 delete starttrue/ #如果不开启此项在删除监控目录下的文件时目标服务器的文件则不会同时删除根据需求开启 createFolder starttrue/ #不开启不能监控子目录建议true createFile startfalse/ #关闭提高通讯性能默认就好 closeWrite starttrue/ moveFrom starttrue/ moveTo starttrue/ attrib startfalse/ modify startfalse/ /inotifysersync localpath watch/opt/tongbu #指定要监控的本地目录 remote ip127.0.0.1 nametongbu1/ #指定要同步的目标服务器的IP地址及目标服务器rsync的[模块] !--remote ip192.168.8.39 nametongbu/-- !--remote ip192.168.8.40 nametongbu/-- /localpath rsync #配置rsync commonParams params-artuz/ #rsync的参数 auth startfalse usersroot passwordfile/etc/rsync.pas/ #是否开启rsync的认证模式需要配置users及passwordfile根据情况开启如果开启注意密码文件权限一定要是600 userDefinedPort startfalse port874/!-- port874 -- #远程目标服务器的端口不是默认端口时使用 timeout startfalse time100/!-- timeout100 -- #是否开启rsync的超时时间 ssh startfalse/ /rsync failLog path/tmp/rsync_fail_log.sh timeToExecute60/!--default every 60mins execute once-- #目标服务器传输失败时会重新传输再次失败会写入rsync_fail_log中每隔一段时间timeToExecute执行脚本再次传输 crontab startfalse schedule600!--600mins-- #对监控目录与目标服务器每隔一段时间进行一次整体同步默认600分钟根据个人情况是否开启 crontabfilter startfalse #如果之前开启了文件过滤这里也要设置过滤 exclude expression*.php/exclude exclude expressioninfo/*/exclude /crontabfilter /crontab plugin startfalse namecommand/ /sersyncplugin namecommand #下面就是插件的设置不做过多说明 param prefix/bin/sh suffix ignoreErrortrue/ !--prefix /opt/tongbu/mmm.sh suffix-- filter startfalse include expression(.*)\.php/ include expression(.*)\.sh/ /filter /pluginplugin namesocket localpath watch/opt/tongbu deshost ip192.168.138.20 port8009/ /localpath /plugin plugin namerefreshCDN localpath watch/data0/htdocs/cms.xoyo.com/site/ cdninfo domainnameccms.chinacache.com port80 usernamexxxx passwdxxxx/ sendurl basehttps://blog.whsir.com/ regexurl regexfalse matchcms.xoyo.com/site([/a-zA-Z0-9]*).xoyo.com/images/ /localpath /plugin /head 修改使用配置文件 ?xml version1.0 encodingISO-8859-1? head version2.5host hostiplocalhost port8008/hostdebug startfalse/fileSystem xfsfalse/filter startfalseexclude expression(.*)\.svn/excludeexclude expression(.*)\.gz/excludeexclude expression^info/*/excludeexclude expression^static/*/exclude/filterinotifydelete starttrue/createFolder starttrue/createFile startfalse/closeWrite starttrue/moveFrom starttrue/moveTo starttrue/attrib startfalse/modify startfalse//inotify ​sersync!--监控本地目录--localpath watch/usr/local/nginx/html/tp5shop!--目标服务器IP同步到的服务器 name为目标服务器rsyncd.conf里配置的模块名称--remote ip192.168.17.105 nametp5shop/!--remote ip192.168.8.39 nametongbu/--!--remote ip192.168.8.40 nametongbu/--/localpathrsynccommonParams params-artuz/auth startfalse usersroot passwordfile/etc/rsync.pas/userDefinedPort startfalse port874/!-- port874 --timeout startfalse time100/!-- timeout100 --ssh startfalse//rsyncfailLog path/tmp/rsync_fail_log.sh timeToExecute60/!--default every 60mins execute once--crontab startfalse schedule600!--600mins--crontabfilter startfalseexclude expression*.php/excludeexclude expressioninfo/*/exclude/crontabfilter/crontabplugin startfalse namecommand//sersync ​plugin namecommandparam prefix/bin/sh suffix ignoreErrortrue/ !--prefix /opt/tongbu/mmm.sh suffix--filter startfalseinclude expression(.*)\.php/include expression(.*)\.sh//filter/plugin ​plugin namesocketlocalpath watch/opt/tongbudeshost ip192.168.138.20 port8009//localpath/pluginplugin namerefreshCDNlocalpath watch/data0/htdocs/cms.xoyo.com/site/cdninfo domainnameccms.chinacache.com port80 usernamexxxx passwdxxxx/sendurl basehttp://pic.xoyo.com/cms/regexurl regexfalse matchcms.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 starttrueexclude expression(.*)\.cfg/exclude!--exclude expression(.*)\.svn/excludeexclude expression(.*)\.gz/excludeexclude expression^info/*/excludeexclude expression^static/*/exclude-- /filter
http://www.hkea.cn/news/14541944/

相关文章:

  • 当雄网站建设做ppt介绍网站吗
  • 岳阳建设企业网站蒙古文网站建设的通知
  • 学做网站能赚多少网站建设推广关键词
  • 外贸型网站wap网站开发公司
  • 西安中交建设集团网站林芝seo
  • 网站制作便宜软件开发模型有哪些各有什么特点
  • 国内永久免费域名申请网站百度网址大全 旧版本
  • 免费微信小程序制作模板长沙seo代理
  • 企业展示网站案例wordpress主题模块添加图片
  • 网站建设参考的文献企业网站效果图
  • 在线支付网站建设青海省安建设管理部门网站
  • 怎么建网站教程视频app网页设计作品
  • wordpress 4.4 火车头seo外包大型公司
  • 一个网站的入口网页又称为设计网名昵称
  • 做网站后期续费是怎么算的项目网格化管理
  • 上海嘉定网站建设网站分享设计
  • seo站长常用工具网络营销论文文献
  • 静态网站管理系统办公用纸网站建设
  • 网站如何导流量怎么查网站有没有做301
  • 建设网站是做手机版好还是pc版好河北省电力建设第一工程公司网站
  • 自助建站什么意思ae做模板下载网站
  • 免费入驻的外贸网站亚马逊中国网站建设目标
  • 手机网站开发 html广州番禺最新发布
  • 电子商务网站建设规划方案论文西安网站建设资讯
  • 网站建站视频教程wordpress 最近访客
  • 国外网站建设现状萍乡的电子商务网站建设公司
  • flash网站案例wordpress自定义搜索文件
  • 软文网站大全网站建设方案.doc
  • 佛山网站建设首选抓取wordpress站点用户
  • 怎么做二维码直接进入网站WordPress怎么加入用户关注