Using Rsync on the NetBSD-1.0

Source: Internet
Author: User
Tags rsync

It is cumbersome to modify the code directly on the NetBSD-1.0 . And after the code is modified to synchronize to NetBSD-1.0 and can only use ftp , if you need to synchronize more files, there may be errors. So the idea of using rsync to synchronize the code is generated. There is no rsync program on NetBSD-1.0 , and there is no ssh, so you can only go the way of rsh . NetBSD-1.0 already has the rsh service enabled by default:

But when I log on from my Slackware host, I get an error:

The way to connect to the Slackware host by running rsync from the NetBSD-1.0 host.

1. First turn on the rsh service on the Slackware host and configure it to log in without entering the password (this is because I did not find the way to bring the password directly in the command-_-, if you know, please leave a message to tell me ^_^):

Modify the /etc/inetd.conf file to enable the rsh service:

2. Add the NetBSD-1.0 hostname and the logged-on user in /etc/hosts.equiv :

3. Add the NetBSD-1.0 host in the /etc/hosts :

4. Increase the hostname and logon user of the NetBSD-1.0 in the . rhosts file in the Tortoise user's home directory:

After restarting the Slackware host, you can log on using rsh from the NetBSD-1.0 host:

Finally, only the rsync program is installed on the NetBSD-1.0 host. After several tests, the 2.6.9 version of rsync was validated, and the beginning versions of both 1.0 and 2.5.0 were prompted to fail due to the issue of version differences. As for newer versions of 3.1.0, the compilation does not pass.

Run in the rsync-2.6.9 directory . Configure && make && make install, after the run is complete,rsync installs to /usr/local/bin Directory:

Using rsync on the NetBSD-1.0 host:

done!

Using Rsync on the NetBSD-1.0

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.