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
- Linux log File Explorer Logrotate http://linux.cn/article-4126-1.html
- 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