In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-25 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/03 Report--
Source: http://192.168.1.100/svn/hunt/ destination: file:///data/hunt/svn_backup/Project01/ method: destination: 1. Create a project: svnadmin create / data/hunt/svn_backup/Project01/ 2, change pre-revprop_change to the hooks directory Cp pre-revprop-change.tmpl pre-revprop-change chmod 755 pre-revprop-change echo "exit 0" > pre-revprop-change 3. Initialize copying the corresponding conf files to the corresponding directory, such as user.conf, authz and other svnsync init file:///data/hunt/svn_backup/Project01/ http://192.168.1.100/svn/hunt/ syntax: svnsync init destination side svn directory source side svn directory synchronization process requires root password, enter it casually Then there is the svn user / password, which normally displays something like this: Copied properties for revision 0. 4. The process of executing synchronous svnsync sync file:///data/hunt/svn_backup/Project01/-- username admin-- password admin will display the following content: Transmitting file data. Committed revision 1. Copied properties for revision 1. Transmitting file data. Committed revision 2. Copied properties for revision 2. Transmitting file data. Committed revision 3. Copied properties for revision 3.... Source side: 1. Modify post-commit: cp post-commit.tmpl post-commit chmod 755 pre-revprop-change replace the last two lines in post-commit with svnsync sync-- non-interactive file:///data/hunt/svn_backup/Project01/-- username admin-- password admin Note: the svnsync process may cause synchronization failure due to network problems. Report the following error: Failed to get lock on destination repos... It may be locked at this time. Change the lock: svn propdel svn:sync-lock-- revprop-r 0 file:///data/hunt/svn_backup/Project01/ (destination synchronization library)
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.