Trac

聽了cookys 的話
就來裝個 trac 試試吧
trac 是一套整合 Subversion 版本管理系統的網頁介面專案管理系統

1.
安裝 /usr/ports/www/trac

2.
利用 trac-admin 指令建立專案
trac-admin /your/project/path initenv

下達指令後接續問你以下四個問題
(a)Project Name [My Project]>
(b)Database connection string [sqlite:db/trac.db]>
(c)Path to repository [/var/svn/test]>
(d)Templates directory [/usr/local/share/trac/templates]>

trac-admin 的指令用法可使用 trac-admin help 查詢

接著建立管理介面
trac 0.9.2 總共提供了 4 種介面溝通方式

a. TracStandalone
b. TracCgi (Cgi & FastCGI)
c. TracModPython

裡面都已經有蠻清楚的說明

在這裡我是用 CGI
將 /usr/local/share/trac/cgi-bin/trac.cgi 複製或連結到可以執行 CGI 的目錄裡
接著修改 Apache 的 httpd.conf 設定這個 trac.cgi?的 Alias
然後在這個 location 中設定環境變數如下

ScriptAlias /trac /usr/share/trac/cgi-bin/trac.cgi

  SetEnv TRAC_ENV "/path/to/projectenv"
然後利用 svnadmin create /path/to/svn/repository 來建立 SVN 的資料庫

接著重新啟動 apache 便可開始使用

0 Responses to “Trac”


  1. 1 RandyAdvok
  2. 2 BrentVunty
  3. 3 AntonioCOB
  4. 4 DavidDycle
  5. 5 ThomasASYMN

    Beirut Lebanon CNN — A deadly Israeli airstrike on Hezbollah’s stronghold in southern Beirut on Friday has left over a dozen people dead including a high-ranking Hezbollah commander sharply escalating the conflict between the two sides and raising fears of all-out war. Senior Hezbollah commander Ibrahim Aqil part of Hezbollah’s elite Radwan Force was assassinated along with “about 10” other commanders Israel Defense Forces IDF spokesperson Daniel Hagari said accusing them of planning to raid and occupy communities in Galilee in northern Israel. Hezbollah confirmed Aqil’s death on Friday saying he was killed “following a treacherous Israeli assassination operation on 09/20/2024 in the southern suburbs of Beirut.” According to Hagari the targeted commanders were “underground underneath a residential building in the heart of the Dahiyeh neighborhood using civilians as a human shield” at the time of the attack. Lebanon’s health ministry said at least 14 people were killed and 66 others injured in the airstrike which leveled a multistory building in a densely populated neighborhood. Aqil had a 7 million bounty on his head from the United States for his suspected involvement in the 1983 strike on the US Embassy in Beirut which killed 63 people as well as the bombing of the Beirut Marine barracks which killed 241 US personnel later that year. A CNN team on the ground in Beirut saw a frantic effort to rescue people from underneath the rubble and rush the wounded to hospital. Witnesses said nearby buildings shook for nearly half an hour after the strike which the IDF said it had carried out at around 4 p.m. local time. A week of surprise attacks Friday’s strike marked the fourth consecutive day of surprise attacks on Beirut and other sites across the country even as Israeli forces continued deadly strikes and operations in Gaza and the occupied West Bank. The first major attack against Hezbollah this week came Tuesday afternoon when pagers belonging to the militant groups’ members exploded near-simultaneously. The pagers had been used by Hezbollah to communicate after the group’s leader Hassan Nasrallah encouraged members to switch to low-tech devices to prevent more of them from being assassinated. Almost exactly 24 hours later Lebanon was rocked by a second wave of explosions after Hezbollah walkie-talkies detonated in Beirut and the south of the country on Wednesday. At least 37 people were killed including some children and more than 3000 were injured in the twin attacks. In a United Nations Security Council meeting on Friday UN human rights chief Volker Turk on Friday warned that the detonation of communication devices could violate international human rights law. Lebanese Foreign Minister Abdallah Bou Habib and Israeli Ambassador to the UN Danny Danon clashed at the heated meeting with Bou Habib calling on the council to condemn Israel’s actions and Danon slamming the Lebanese envoy for not mentioning Hezbollah.

  6. 6 Antoniounago

Leave a Reply