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

网站做好了怎么上线wordpress 响应式模块

网站做好了怎么上线,wordpress 响应式模块,网站排名seo培训,建设网站审批手续通过后台服务的方式在远程主机上建立一个rsync的服务器#xff0c;在服务器上配置好rsync的各种应用#xff0c;然后将本机作为rsync的一个客户端连接远程的rsync服务器。在128主机上建立并配置rsync的配置文件/etc/rsyncd.conf,把你的rsyncd.conf编辑成以下内容#xff1a;… 通过后台服务的方式在远程主机上建立一个rsync的服务器在服务器上配置好rsync的各种应用然后将本机作为rsync的一个客户端连接远程的rsync服务器。在128主机上建立并配置rsync的配置文件/etc/rsyncd.conf,把你的rsyncd.conf编辑成以下内容[rootaminglinux-123 ~]# vim /etc/rsyncd.conf # /etc/rsyncd: configuration file for rsync daemon mode port873 log file/var/log/rsync.log pid file/var/run/rsyncd.pid address192.168.193.128 # See rsyncd.conf man page for more options.# configuration example: [test] path/root/rsync read onlyno listtrue uid  root gid  root use chroottrue max connections4 auth userstest secrets file/etc/rsyncd.passwd hosts allow192.168.193.128rscond.com中的port,logfile,pid file,address都属于全局配置[test]以下的部分就是模块配置。man rsyncd.conf可以获得更多信息。port:指定在哪个端口启动rsyncd服务默认是873端口。log file:指定日志文件。pid file指定pid文件这个文件的作用涉及服务的启动、停止等进程管理操作。address指定启动rsyncd服务的IP。[]:指定模块名。path:指定数据存放的路径。use chroot true|false:表示在传输文件之前首先chroot到path参数所指定的目录下。max connections:指定最大的连接数默认是0即没有限制。read only ture|false:如果为true则不能上传到该模块指定的路径下。list表示当用户查询该服务器上的可用模块时该模块是否被列出设定为true则列出设定为false则隐藏。uid/gid:指定传输文件时以哪个用户/组的身份传输。auth users指定传输时要使用的用户名。secrets file指定密码文件。hosts allow:表示被允许连接该模块的主机。编辑secrets file并保存后要赋予600权限。[rootaminglinux-123 etc]# cat /etc/rsyncd.passwd [rootaminglinux-123 etc]# vim /etc/rsyncd.passwd [rootaminglinux-123 etc]# cat /etc/rsyncd.passwd test:test123 [rootaminglinux-123 etc]# chmod 600 /etc/reyncd.passwd chmod: 无法访问/etc/reyncd.passwd: 没有那个文件或目录 [rootaminglinux-123 etc]# chmod 600 /etc/rsyncd.passwdlinux系统日志/var/log/messages体统启动时的引导信息系统运行时的其他状态都会存放在这个文件里。通过logrotate工具来实现的它的配置文件是/etc/logrotate.conf。[rootaminglinux-123 ~]# cat /etc/logrotate.conf # see man logrotate for details # rotate log files weekly weekly# keep 4 weeks worth of backlogs rotate 4# create new (empty) log files after rotating old ones create# use date as a suffix of the rotated file dateext# uncomment this if you want your log files compressed #compress# RPM packages drop log rotation information into this directory include /etc/logrotate.d# no packages own wtmp and btmp -- well rotate them here /var/log/wtmp {monthlycreate 0664 root utmpminsize 1Mrotate 1 }/var/log/btmp {missingokmonthlycreate 0600 root utmprotate 1 }# system-specific logs may be also be configured here.man rsyslog.com 查看更多信息。dmesg可以显示系统的启动信息[rootaminglinux-123 ~]# dmesg |head [    0.000000] Initializing cgroup subsys cpuset [    0.000000] Initializing cgroup subsys cpu [    0.000000] Initializing cgroup subsys cpuacct [    0.000000] Linux version 3.10.0-862.el7.x86_64 (builderkbuilder.dev.centos.org) (gcc version 4.8.5 20150623 (Red Hat 4.8.5-28) (GCC) ) #1 SMP Fri Apr 20 16:44:24 UTC 2018 [    0.000000] Command line: BOOT_IMAGE/vmlinuz-3.10.0-862.el7.x86_64 rootUUID23c138ca-3a70-447e-9028-e002f1d0dea9 ro crashkernelauto rhgb quiet.UTF-8 [    0.000000] Disabled fast string operations [    0.000000] e820: BIOS-provided physical RAM map: [    0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000009ebff] usable [    0.000000] BIOS-e820: [mem 0x000000000009ec00-0x000000000009ffff] reserved [    0.000000] BIOS-e820: [mem 0x00000000000dc000-0x00000000000fffff] reserved安全日志[rootaminglinux-123 ~]# last |head root     pts/1        192.168.193.1    Fri Jul 20 09:08   still logged in root     pts/0        192.168.193.1    Thu Jul 19 14:32   still logged in root     pts/0        192.168.193.1    Thu Jul 19 08:58 - 14:31  (05:32) root     pts/0        192.168.193.1    Wed Jul 18 15:46 - 21:24  (05:37) root     pts/0        192.168.193.1    Tue Jul 17 11:11 - 18:21  (07:09) root     pts/1        192.168.193.1    Mon Jul 16 18:49 - 20:41  (01:52) root     pts/0        192.168.193.1    Mon Jul 16 18:44 - 18:49  (00:04) root     pts/0        192.168.193.1    Mon Jul 16 18:37 - 18:43  (00:06) root     pts/1        192.168.193.1    Mon Jul 16 18:16 - 18:37  (00:21) root     tty1                          Mon Jul 16 18:14   still logged inxargs应用查找当前目录创建时间大于10天的文件然后再删除。[rootaminglinux-123 ~]# find . mtime 10 |xargs rm[rootaminglinux-123 ~]# mkdir test [rootaminglinux-123 ~]# cd test [rootaminglinux-123 test]# touch 1.txt 2.txt 3.txt 4.txt 5.txt [rootaminglinux-123 test]# ls 1.txt  2.txt  3.txt  4.txt  5.txt [rootaminglinux-123 test]# ls *.txt |xargs -n1 -i{} mv {} {}_bak [rootaminglinux-123 test]# ls 1.txt_bak  2.txt_bak  3.txt_bak  4.txt_bak  5.txt_bakscreen工具介绍使用nohup先写一个sleep.sh脚本放到后台执行。[rootaminglinux-123 test]# cat /usr/local/sbin/sleep.sh ! /bin/bash [rootaminglinux-123 test]# nohup sh /usr/local/sbin/sleep.sh  [1] 40760screen工具screen是一个可以在多个进程之间多路复用一个物理终端的窗口管理器。安装screen命令yum install -y screen-bash-4.2# screen -ls There is a screen on:40865.pts-1.aminglinux-123      (Detached) 1 Socket in /var/run/screen/S-root. 转载于:https://blog.51cto.com/13107353/2147500
http://www.zqtcl.cn/news/651908/

相关文章:

  • 网站建设客户群体分析微信开放平台小程序开发文档
  • led网站建设wordpress .htaccess 固定链接
  • 学校网站建设申请报告一个好网站设计
  • 网站雪花特效wordpress文件解析
  • 招聘网站哪个好用淮北之窗
  • 索莱宝做网站网站在线布局
  • 站内seo的技巧做php网站阿里云服务器
  • 网站开发需要用到哪些软件爱站网权重查询
  • 免费注册个人网站铁路工程造价信息网
  • 电子商务大型网站建设电商静态网页模板
  • 网站建设公司利润怎么样长沙网站制作作
  • 淄博优化网站企业营销型网站做的好
  • 玉泉营网站建设网络营销公司组织架构
  • 网上有专业的做网站吗最新网站域名ip地址查询
  • 大理网站制作公司北京seo服务商找行者seo
  • 有关网站建设合同wordpress 使用
  • 外贸商城网站制作公司毕业设计做系统网站
  • 曲阜住房城乡建设局网站php用什么工具做网站
  • 深圳网站开发奇辰科技视觉vi设计系统
  • 网站开发与管理期末考试工商年检在哪个网站做
  • 网站建设有什么系统深圳微网站
  • 网站建设算什么专业企业建设网站需要注意什么
  • 太原cms建站模板建设部网站监理注销查询
  • 流量对网站排名的影响因素网站内容的作用
  • 彩钢做网站能赚钱吗合肥市住房和城乡建设厅
  • 顺德网站建设itshunde罗村建网站
  • 网站开发语言开发十大免费货源网址
  • 网站建设要那些收费项如何做自己的淘客网站
  • 郴州文明网网站网站设计策划书3000字
  • 免费学习资源网站网站维护得多久