In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/02 Report--
This article mainly explains "Linux installs svn and sets hooks to synchronize to the web directory". Interested friends may wish to have a look. The method introduced in this paper is simple, fast and practical. Let's let the editor take you to learn "Linux installs svn and sets hooks to synchronize to the web directory".
Installation
(1) Uninstall the previously installed svn
Yum remove subversion
(2) end the previous svn process
Killall svnserve
(3) yum installs svn
Yuminstallsubversion
(4) We set up a warehouse called svn under / home.
(5) enter the configuration information of the conf directory
Cd / home/svn/conf
(6) configure passwd
(7) configure authz
Add the arrow at the end
(8) configure svnserve.conf
(9) start the svn service
Svnserve-d-r / home/svn
(10) check whether to start the svn service
Ps-ef | grepsvnserve
(11) Local client pull replacement code
Until this step has finished installing svn, set the hook to synchronize to the web directory
Set hook synchronization web directory
(1) enter the hooks directory
Mv post-commit.tmpl post-commit
(2) add hook code
Comment on the code of mailer.py and add the code listed in the box. There is no log here. Add it yourself according to the situation.
test
(1) create a hook_test file locally
(2) View the web directory
(3) submit the code
(4) View the server code
Synchronization succeeded
At this point, I believe you have a deeper understanding of "Linux installs svn and sets hooks to synchronize to the web directory". You might as well do it in practice. Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!
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.