10.32/10.33rsync synchronizing 10.34linux System log 10.35screen tools via services

Source: Internet
Author: User
Tags system log custom name

10.32/10.33 rsync via service sync
Copy the following content

Edit vi/etc/rsyncd.conf, and paste the contents in another line.

Restart the service to see if there is a startup service, and then check the listening port

Edit vi/etc/rsyncd.conf again to change the Path=/root/rsyns under module [test] to Path=/tmp/rsyns

Then create the directory and set permissions

On another machine linux02 command is wrong, ping IP is also a pass, this time it is necessary to check the port is not a problem, install Telnet and then run

This indicates that the port is not through

In this case, check whether IPTABLES-NVL has a rule problem, if you have to stop it systemctl stop Firewalld, the other machine also to stop FIREWALLD
Check the port again, then press Ctrl+u and then enter quit.

Run this command again to enter the password

How to cancel this with the input password, because there is one in the configuration file that defines the password
Vi/etc/rsyncd.conf

Run the command again

You can also come back and sync your files to this machine.


10.34 Linux system logs
After the configuration file/etc/rsyncd.conf change the port to 8730, execute the following command

Specify port to run command after changing port


10.34 Linux system logs

When some services do not start up, in addition to see its error, but also to look at its log,
Ls/var/log/messages* viewing the Cut files

10.35 screen tool (virtual terminal)

Specify terminal

-S custom name Test_screen when specifying terminal is 3807 also can be this custom name

Extended

    1. Linux log File Explorer Logrotate http://linux.cn/article-4126-1.html
    2. Xargs Usage Detailed http://blog.csdn.net/zhangfn2011/article/details/6776925

10.32/10.33rsync synchronizing 10.34linux System log 10.35screen tools via services

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.