欧美一区二区三区老妇人-欧美做爰猛烈大尺度电-99久久夜色精品国产亚洲a-亚洲福利视频一区二区

CentOS中怎么安裝Websvn-創(chuàng)新互聯(lián)

本篇文章為大家展示了CentOS中怎么安裝Websvn,內(nèi)容簡明扼要并且容易理解,絕對能使你眼前一亮,通過這篇文章的詳細(xì)介紹希望你能有所收獲。

創(chuàng)新互聯(lián)是一家專注于網(wǎng)站制作、成都做網(wǎng)站與策劃設(shè)計(jì),鎮(zhèn)巴網(wǎng)站建設(shè)哪家好?創(chuàng)新互聯(lián)做網(wǎng)站,專注于網(wǎng)站建設(shè)十多年,網(wǎng)設(shè)計(jì)領(lǐng)域的專業(yè)建站公司;建站業(yè)務(wù)涵蓋:鎮(zhèn)巴等地區(qū)。鎮(zhèn)巴做網(wǎng)站價(jià)格咨詢:028-86922220

1. 下載 WebSVN

首先進(jìn)入 /var/www/html/ 并在這里下載安裝包。


代碼如下:

$ sudo -s

請?jiān)趕hell或者終端中執(zhí)行上面的命令,因?yàn)槲覀冃枰袚Q到root權(quán)限來對系統(tǒng)限制區(qū)域有訪問權(quán)。


代碼如下:

# cd /var/www/html
   # wget http://websvn.tigris.org/files/documents/1380/49057/websvn-2.3.3.zip


CentOS中怎么安裝Websvn

這里,我下載的是新的2.3.3版本的 websvn。你可以從上面這個(gè)網(wǎng)站找到下載鏈接,用適合你的包的鏈接來替換上面的鏈接。
2. 解壓下載的zip


代碼如下:

# unzip websvn-2.3.3.zip
   # mv websvn-2.3.3 websvn


   CentOS中怎么安裝Websvn

    3. 安裝php


代碼如下:

# yum install php


CentOS中怎么安裝Websvn

    4. 編輯WebSVN配置

現(xiàn)在,我們需要拷貝位于 /var/www/html/websvn/include 的 distconfig.php 為 config.php,并且接著編輯該配置文件。


代碼如下:

# cd /var/www/html/websvn/include
   # cp distconfig.php config.php
   # nano config.php

現(xiàn)在我們需要按如下改變文件。完成之后,請保存并退出。


代碼如下:

// 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";


 CentOS中怎么安裝Websvn

    5. 啟動(dòng) WebSVN

現(xiàn)在,我們將近完成了。現(xiàn)在需要重啟Apache服務(wù)。你可以用下面的命令。


代碼如下:

# systemctl restart httpd.service

接著我們在瀏覽器中打開WebSVN,輸入 http:// IP地址/websvn ,或者你在本地的話,你可以輸入 http://localhost/websvn 。
CentOS中怎么安裝Websvn

上述內(nèi)容就是CentOS中怎么安裝Websvn,你們學(xué)到知識或技能了嗎?如果還想學(xué)到更多技能或者豐富自己的知識儲備,歡迎關(guān)注創(chuàng)新互聯(lián)行業(yè)資訊頻道。

分享名稱:CentOS中怎么安裝Websvn-創(chuàng)新互聯(lián)
瀏覽地址:http://www.chinadenli.net/article30/jgspo.html

成都網(wǎng)站建設(shè)公司_創(chuàng)新互聯(lián),為您提供動(dòng)態(tài)網(wǎng)站面包屑導(dǎo)航App設(shè)計(jì)電子商務(wù)網(wǎng)站維護(hù)外貿(mào)網(wǎng)站建設(shè)

廣告

聲明:本網(wǎng)站發(fā)布的內(nèi)容(圖片、視頻和文字)以用戶投稿、用戶轉(zhuǎn)載內(nèi)容為主,如果涉及侵權(quán)請盡快告知,我們將會在第一時(shí)間刪除。文章觀點(diǎn)不代表本網(wǎng)站立場,如需處理請聯(lián)系客服。電話:028-86922220;郵箱:631063699@qq.com。內(nèi)容未經(jīng)允許不得轉(zhuǎn)載,或轉(zhuǎn)載時(shí)需注明來源: 創(chuàng)新互聯(lián)

微信小程序開發(fā)