In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-09-15 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article shows you how to install Websvn in CentOS. The content is concise and easy to understand. It will definitely brighten your eyes. I hope you can get something through the detailed introduction of this article.
1. Download WebSVN
First go to / var/www/html/ and download the installation package here.
The code is as follows:
$sudo-s
Please execute the above command in shell or terminal, because we need to switch to root permissions to have access to the restricted area of the system.
The code is as follows:
# cd / var/www/html
# wget http://websvn.tigris.org/files/documents/1380/49057/websvn-2.3.3.zip
Here, I downloaded the latest version 2.3.3 of websvn. You can find the download link from the above website and replace the link above with a link that is appropriate for your package.
two。 Extract the downloaded zip
The code is as follows:
# unzip websvn-2.3.3.zip
# mv websvn-2.3.3 websvn
3. Install php
The code is as follows:
# yum install php
4. Edit WebSVN configuration
Now we need to copy the distconfig.php at / var/www/html/websvn/include as config.php and then edit the configuration file.
The code is as follows:
# cd / var/www/html/websvn/include
# cp distconfig.php config.php
# nano config.php
Now we need to change the file as follows. When you are finished, please save and exit.
The code is as follows:
/ / Configure these lines if your commands aren't on your path.
/ /
$config- > setSVNCommandPath ('/ usr/bin'); / / e.g. C:\\ program files\\ subversion\\ bin
$config- > setDiffPath ('/ usr/bin')
/ / For syntax colouring, if option enabled...
$config- > setEnscriptPath ('/ usr/bin')
$config- > setSedPath ('/ bin')
/ / For delivered tarballs, if option enabled...
$config- > setTarPath ('/ bin')
/ / For delivered GZIP'd files and tarballs, if option enabled...
$config- > setGZipPath ('/ bin')
/ /
$config- > parentPath ('/ svn/')
$extEnscript [".pl"] = "perl"
$extEnscript [".py"] = "python"
$extEnscript [".sql"] = "sql"
$extEnscript [".java"] = "java"
$extEnscript [".html"] = "html"
$extEnscript [".xml"] = "html"
$extEnscript [".thtml"] = "html"
$extEnscript [".tpl"] = "html"
$extEnscript [".sh"] = "bash"
5. Start WebSVN
Now, we are almost finished. Now you need to restart the Apache service. You can use the following command.
The code is as follows:
# systemctl restart httpd.service
Then we open WebSVN in the browser and enter the http:// IP address / websvn, or if you are local, you can type http://localhost/websvn.
The above is how to install Websvn in CentOS. Have you learned any knowledge or skills? If you want to learn more skills or enrich your knowledge reserve, you are welcome to follow the industry information channel.
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.
The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.