Linux daily management-rsync backstage Service mode-2

Source: Internet
Author: User
Tags file copy rsync

Copy Local data to a remote

Here is a mistake, read only. Read only, no write allowed.

Change the configuration file for the remote machine

Change read only to No

Copy to remote success

Tree The directory of the remote machine

///////////////////////////////////////////////////////////////////////////////////////////

The remote machine creates a soft connection file to view the soft connection pointing.

Remote Copy to local machine soft connection file added option-L still no copy succeeded, error.

When modifying a configuration file remotely, use Chroot prohibits directories other than the path designation. Close Use Chroot

Copy the remote machine to local again. The soft connection file copy succeeded.

To view the soft connection file, you have actually copied the original file that you pointed to.

View the source files that the remote soft connection points to. The same as the local file.

////////////////////////////////////////////////////////////////////////////////////////////////////

List List Module name

Turn off the first list in the remote client's configuration file

Only one module name is displayed.

////////////////////////////////////////////////////////////////////////////////////////////////////

If you uninstall this command, then you will omit the password-losing procedure.

1. I did not install vim

2.VI first create a file, write the password inside, "123AAA"

3. Set permissions for the password file.

4. Copy, directly complete the procedure to omit the password to lose.

1. Empty the file under/tmp/111/.

2. Re-copy, omit the password.

/////////////////////////////////////////////////////////////////////////////////////////////////

Specify IP IP White list

Hosts allow IP does not specify a local IP

Remote local connection failed.

Add another IP space separated by spaces.

Copy succeeded.

Linux daily management-rsync backstage Service mode-2

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.