반응형
Notice
Recent Posts
Recent Comments
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | 7 |
8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 | 17 | 18 | 19 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 27 | 28 |
29 | 30 |
Tags
- HerkuleX
- 우분투
- CMSIS
- ares note
- ft2232
- smartrobot board
- openocd
- Galileo Gen2
- fdisk
- 동부로봇
- 허큘렉스
- lg smart recovery
- 갈릴레오
- Marsboard
- 마스보드
- ICbanq
- DRS-0101
- JTAG
- pyside6
- QT
- Boyue
- galileo
- Z435
- STM32F10x
- usb부팅
- U-boot
- Python
- emIDE
- ubuntu
- Cortex-M3
Archives
- Today
- Total
Life Seed
우분투에 viewvc를 설치하자 본문
1. package 설치
$ sudo apt-get install viewvc
이것으로 끝이다.
viewvc를 설치하면, 우선 /usr/lib/cgi_bin 에 viewvc.cgi 가 추가된다.
2. Apache 환경 설정.
Apache의 default 설정 파일 (/etc/apahce/sites-available/default) 에 /usr/lib/cgi_bin이 Alias 되어 있다.
ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
<Directory "/usr/lib/cgi-bin">
AllowOverride None
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order allow,deny
Allow from all
</Directory>
<Directory "/usr/lib/cgi-bin">
AllowOverride None
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order allow,deny
Allow from all
</Directory>
해당 부분 아래 쪽에 viewvc 관련 alias를 하나 더 추가하자.
ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
<Directory "/usr/lib/cgi-bin">
AllowOverride None
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order allow,deny
Allow from all
</Directory>
ScriptAlias /viewvc /usr/lib/cgi-bin/viewvc.cgi
<Directory "/usr/lib/cgi-bin">
AllowOverride None
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order allow,deny
Allow from all
</Directory>
ScriptAlias /viewvc /usr/lib/cgi-bin/viewvc.cgi
3. viewvc.conf 수정
/etc/viewvc/viewvc.conf 를 수정한다.
기본적으로 모두 comment out 처리 되어 있다.
필요한 구문은 단 두줄이다.
root_parents = /home/repos/svn : svn
use_localtime = 1
use_localtime = 1
저장하고 apache를 새로 시작하자.
$ sudo /etc/init.d/apache2 restart
http;//IP_ADDR/viewvc 에 접속하면 해당 폴더의 Repository들이 보일 것이다.
끝...
반응형