$ sudo apt-get install trac
아래는 설치 로그이다.
패키지 목록을 읽는 중입니다... 완료
의존성 트리를 만드는 중입니다
상태 정보를 읽는 중입니다... 완료
다음 새 패키지가 전에 자동으로 설치되었지만 더 이상 필요하지 않습니다:
libstrigiqtdbusclient0 libconvert-binhex-perl libsoap-lite-perl libqt4-assistant libuser-perl
libmime-types-perl linux-headers-2.6.27-7 libcrypt-ssleay-perl libnet-ssleay-perl linux-headers-2.6.28-11
libboost-program-options1.35.0 libqt4-test libglade2-dev linux-headers-2.6.27-7-generic libpt2.6.1-plugins-alsa
kdebase-workspace-libs4+5 python-qt4-common librasqal0 libossp-uuid-perl libmime-tools-perl python-utidylib
libossp-uuid15 libakonadiprivate1 libqt4-xmlpatterns libopal3.6.1 libtidy-0.99-0 libqt4-help
linux-headers-2.6.28-11-generic python-soappy python-sip4 libio-stringy-perl dkms libnet-google-perl mbr
python-feedparser libemail-date-format-perl nullmailer libwww-search-perl libdvdread3 tcl8.3 libmime-lite-perl
kdebase-workspace-data kdepimlibs5 libpt2.6.1 libfcgi-perl python-fpconst nvidia-96-kernel-source
libjcode-pm-perl libio-socket-ssl-perl libpt2.6.1-plugins-v4l2 watershed python-chardet kdepimlibs-data
libnet-libidn-perl
이들을 지우기 위해서는 'apt-get autoremove'를 사용하십시오.
다음 패키지를 더 설치할 것입니다:
apache2 apache2-mpm-worker apache2.2-common libjs-jquery python-genshi python-pygments python-pysqlite2
python-setuptools python-subversion python-tz
제안하는 패키지:
apache2-doc apache2-suexec apache2-suexec-custom javascript-common python-genshi-doc python-pysqlite2-doc
python-pysqlite2-dbg python-subversion-dbg python-docutils libapache2-mod-wsgi libapache2-mod-python
python-psycopg2 python-mysqldb python-textile trac-git trac-spamfilter trac-bzr trac-mercurial
다음 새 패키지를 설치할 것입니다:
apache2 apache2-mpm-worker apache2.2-common libjs-jquery python-genshi python-pygments python-pysqlite2
python-setuptools python-subversion python-tz trac
0개 업그레이드, 11개 새로 설치, 0개 지우기 및 0개 업그레이드 안 함.
3348k바이트 아카이브를 받아야 합니다.
이 작업 후 15.8M바이트의 디스크 공간을 더 사용하게 됩니다.
계속 하시겠습니까 [Y/n]?
받기:1 http://kr.archive.ubuntu.com jaunty-updates/main apache2.2-common 2.2.11-2ubuntu2.3 [784kB]
받기:2 http://kr.archive.ubuntu.com jaunty-updates/main apache2-mpm-worker 2.2.11-2ubuntu2.3 [245kB]
받기:3 http://kr.archive.ubuntu.com jaunty-updates/main apache2 2.2.11-2ubuntu2.3 [46.4kB]
받기:4 http://kr.archive.ubuntu.com jaunty/main libjs-jquery 1.2.6-2ubuntu1 [63.1kB]
받기:5 http://kr.archive.ubuntu.com jaunty/universe python-genshi 0.5.1-1build1 [88.5kB]
받기:6 http://kr.archive.ubuntu.com jaunty/main python-pygments 0.10-1ubuntu2 [257kB]
받기:7 http://kr.archive.ubuntu.com jaunty/universe python-pysqlite2 2.5.0-2ubuntu1 [59.4kB]
받기:8 http://kr.archive.ubuntu.com jaunty/main python-setuptools 0.6c9-0ubuntu4 [195kB]
받기:9 http://kr.archive.ubuntu.com jaunty-updates/main python-subversion 1.5.4dfsg1-1ubuntu2.1 [1027kB]
받기:10 http://kr.archive.ubuntu.com jaunty/universe trac 0.11.1-2.1 [553kB]
받기:11 http://kr.archive.ubuntu.com jaunty/main python-tz 2008i-1 [30.3kB]
내려받기 3348k바이트, 소요시간 2s (1369k바이트/초)
전에 선택하지 않은 apache2.2-common 패키지를 선택합니다.
(데이터베이스 읽는중 ...현재 227788개의 파일과 디렉토리가 설치되어 있습니다.)
apache2.2-common 패키지를 푸는 중입니다 (.../apache2.2-common_2.2.11-2ubuntu2.3_i386.deb에서) ...
전에 선택하지 않은 apache2-mpm-worker 패키지를 선택합니다.
apache2-mpm-worker 패키지를 푸는 중입니다 (.../apache2-mpm-worker_2.2.11-2ubuntu2.3_i386.deb에서) ...
전에 선택하지 않은 apache2 패키지를 선택합니다.
apache2 패키지를 푸는 중입니다 (.../apache2_2.2.11-2ubuntu2.3_all.deb에서) ...
전에 선택하지 않은 libjs-jquery 패키지를 선택합니다.
libjs-jquery 패키지를 푸는 중입니다 (.../libjs-jquery_1.2.6-2ubuntu1_all.deb에서) ...
전에 선택하지 않은 python-genshi 패키지를 선택합니다.
python-genshi 패키지를 푸는 중입니다 (.../python-genshi_0.5.1-1build1_i386.deb에서) ...
전에 선택하지 않은 python-pygments 패키지를 선택합니다.
python-pygments 패키지를 푸는 중입니다 (.../python-pygments_0.10-1ubuntu2_all.deb에서) ...
전에 선택하지 않은 python-pysqlite2 패키지를 선택합니다.
python-pysqlite2 패키지를 푸는 중입니다 (.../python-pysqlite2_2.5.0-2ubuntu1_i386.deb에서) ...
전에 선택하지 않은 python-setuptools 패키지를 선택합니다.
python-setuptools 패키지를 푸는 중입니다 (.../python-setuptools_0.6c9-0ubuntu4_all.deb에서) ...
전에 선택하지 않은 python-subversion 패키지를 선택합니다.
python-subversion 패키지를 푸는 중입니다 (.../python-subversion_1.5.4dfsg1-1ubuntu2.1_i386.deb에서) ...
전에 선택하지 않은 trac 패키지를 선택합니다.
trac 패키지를 푸는 중입니다 (.../trac_0.11.1-2.1_all.deb에서) ...
전에 선택하지 않은 python-tz 패키지를 선택합니다.
python-tz 패키지를 푸는 중입니다 (.../python-tz_2008i-1_all.deb에서) ...
ufw에 대한 트리거를 처리하는 중입니다 ...
man-db에 대한 트리거를 처리하는 중입니다 ...
apache2.2-common (2.2.11-2ubuntu2.3) 설정하는 중입니다 ...
Enabling site default.
Enabling module alias.
Enabling module autoindex.
Enabling module dir.
Enabling module env.
Enabling module mime.
Enabling module negotiation.
Enabling module setenvif.
Enabling module status.
Enabling module auth_basic.
Enabling module deflate.
Enabling module authz_default.
Enabling module authz_user.
Enabling module authz_groupfile.
Enabling module authn_file.
Enabling module authz_host.
apache2-mpm-worker (2.2.11-2ubuntu2.3) 설정하는 중입니다 ...
* Starting web server
apache2
apache2: Could not reliably determine the server's fully qualified
domain name, using 127.0.1.1 for ServerName
[ OK ]
apache2 (2.2.11-2ubuntu2.3) 설정하는 중입니다 ...
libjs-jquery (1.2.6-2ubuntu1) 설정하는 중입니다 ...
python-genshi (0.5.1-1build1) 설정하는 중입니다 ...
python-pygments (0.10-1ubuntu2) 설정하는 중입니다 ...
python-pysqlite2 (2.5.0-2ubuntu1) 설정하는 중입니다 ...
python-setuptools (0.6c9-0ubuntu4) 설정하는 중입니다 ...
python-subversion (1.5.4dfsg1-1ubuntu2.1) 설정하는 중입니다 ...
trac (0.11.1-2.1) 설정하는 중입니다 ...
python-tz (2008i-1) 설정하는 중입니다 ...
python-support에 대한 트리거를 처리하는 중입니다 ...
libc6에 대한 트리거를 처리하는 중입니다 ...
ldconfig deferred processing now taking place
TRAC은 python 기반의 이슈 트래커이다. 간단하게 프로젝트 관리용 웹 프로그램인데,
설치가 까다롭지만, 사용하기에는 매우 편리하다고 한다.
아무튼 우분투에서는 trac 을 설치하려고 하니
자동으로 apahce와 sqllite 그리고 python을 설치한다.
설치 다음에는 환경설정을 하면된다. 환경설정에 사용하는 명령어는 다음과 같다.
/home/morpheuz/trac에는 사용자가 설치할 경로명을 입력하면 된다.
$ trac-admin /home/morpheuz/trac initenv
$ trac-admin /home/morpheuz/trac initenv
Creating a new Trac environment at /home/morpheuz/trac
Trac will first ask a few questions about your environment
in order to initialize and prepare the project database.
Please enter the name of your project.
This name will be used in page titles and descriptions.
Project Name [My Project]> Test Project
Please specify the connection string for the database to use.
By default, a local SQLite database is created in the environment
directory. It is also possible to use an already existing
PostgreSQL database (check the Trac documentation for the exact
connection string syntax).
Database connection string [sqlite:db/trac.db]>
Please specify the type of version control system,
By default, it will be svn.
If you don't want to use Trac with version control integration,
choose the default here and don't specify a repository directory.
in the next question.
Repository type [svn]>
Please specify the absolute path to the version control
repository, or leave it blank to use Trac without a repository.
You can also set the repository location later.
Path to repository [/path/to/repos]> /home/morpheuz/svn
Creating and Initializing Project
Installing default wiki pages
TracFineGrainedPermissions imported from /usr/lib/python2.6/dist-packages/trac/wiki/default-pages/TracFineGrainedPermissions
CamelCase imported from /usr/lib/python2.6/dist-packages/trac/wiki/default-pages/CamelCase
TracFastCgi imported from /usr/lib/python2.6/dist-packages/trac/wiki/default-pages/TracFastCgi
TracIni imported from /usr/lib/python2.6/dist-packages/trac/wiki/default-pages/TracIni
TracChangeset imported from /usr/lib/python2.6/dist-packages/trac/wiki/default-pages/TracChangeset
TracNavigation imported from /usr/lib/python2.6/dist-packages/trac/wiki/default-pages/TracNavigation
WikiProcessors imported from /usr/lib/python2.6/dist-packages/trac/wiki/default-pages/WikiProcessors
TracStandalone imported from /usr/lib/python2.6/dist-packages/trac/wiki/default-pages/TracStandalone
RecentChanges imported from /usr/lib/python2.6/dist-packages/trac/wiki/default-pages/RecentChanges
InterWiki imported from /usr/lib/python2.6/dist-packages/trac/wiki/default-pages/InterWiki
SandBox imported from /usr/lib/python2.6/dist-packages/trac/wiki/default-pages/SandBox
TracEnvironment imported from /usr/lib/python2.6/dist-packages/trac/wiki/default-pages/TracEnvironment
TracInterfaceCustomization imported from /usr/lib/python2.6/dist-packages/trac/wiki/default-pages/TracInterfaceCustomization
TracPlugins imported from /usr/lib/python2.6/dist-packages/trac/wiki/default-pages/TracPlugins
TracSearch imported from /usr/lib/python2.6/dist-packages/trac/wiki/default-pages/TracSearch
InterMapTxt imported from /usr/lib/python2.6/dist-packages/trac/wiki/default-pages/InterMapTxt
TracLogging imported from /usr/lib/python2.6/dist-packages/trac/wiki/default-pages/TracLogging
TracNotification imported from /usr/lib/python2.6/dist-packages/trac/wiki/default-pages/TracNotification
TracTickets imported from /usr/lib/python2.6/dist-packages/trac/wiki/default-pages/TracTickets
TracUnicode imported from /usr/lib/python2.6/dist-packages/trac/wiki/default-pages/TracUnicode
TracBrowser imported from /usr/lib/python2.6/dist-packages/trac/wiki/default-pages/TracBrowser
WikiStart imported from /usr/lib/python2.6/dist-packages/trac/wiki/default-pages/WikiStart
InterTrac imported from /usr/lib/python2.6/dist-packages/trac/wiki/default-pages/InterTrac
TracGuide imported from /usr/lib/python2.6/dist-packages/trac/wiki/default-pages/TracGuide
TitleIndex imported from /usr/lib/python2.6/dist-packages/trac/wiki/default-pages/TitleIndex
TracModPython imported from /usr/lib/python2.6/dist-packages/trac/wiki/default-pages/TracModPython
TracUpgrade imported from /usr/lib/python2.6/dist-packages/trac/wiki/default-pages/TracUpgrade
TracImport imported from /usr/lib/python2.6/dist-packages/trac/wiki/default-pages/TracImport
WikiNewPage imported from /usr/lib/python2.6/dist-packages/trac/wiki/default-pages/WikiNewPage
TracQuery imported from /usr/lib/python2.6/dist-packages/trac/wiki/default-pages/TracQuery
TracRoadmap imported from /usr/lib/python2.6/dist-packages/trac/wiki/default-pages/TracRoadmap
WikiDeletePage imported from /usr/lib/python2.6/dist-packages/trac/wiki/default-pages/WikiDeletePage
TracAccessibility imported from /usr/lib/python2.6/dist-packages/trac/wiki/default-pages/TracAccessibility
TracRss imported from /usr/lib/python2.6/dist-packages/trac/wiki/default-pages/TracRss
WikiRestructuredTextLinks imported from /usr/lib/python2.6/dist-packages/trac/wiki/default-pages/WikiRestructuredTextLinks
TracInstall imported from /usr/lib/python2.6/dist-packages/trac/wiki/default-pages/TracInstall
TracLinks imported from /usr/lib/python2.6/dist-packages/trac/wiki/default-pages/TracLinks
TracRevisionLog imported from /usr/lib/python2.6/dist-packages/trac/wiki/default-pages/TracRevisionLog
WikiRestructuredText imported from /usr/lib/python2.6/dist-packages/trac/wiki/default-pages/WikiRestructuredText
WikiFormatting imported from /usr/lib/python2.6/dist-packages/trac/wiki/default-pages/WikiFormatting
WikiPageNames imported from /usr/lib/python2.6/dist-packages/trac/wiki/default-pages/WikiPageNames
TracCgi imported from /usr/lib/python2.6/dist-packages/trac/wiki/default-pages/TracCgi
WikiMacros imported from /usr/lib/python2.6/dist-packages/trac/wiki/default-pages/WikiMacros
TracBackup imported from /usr/lib/python2.6/dist-packages/trac/wiki/default-pages/TracBackup
TracSupport imported from /usr/lib/python2.6/dist-packages/trac/wiki/default-pages/TracSupport
TracWorkflow imported from /usr/lib/python2.6/dist-packages/trac/wiki/default-pages/TracWorkflow
TracPermissions imported from /usr/lib/python2.6/dist-packages/trac/wiki/default-pages/TracPermissions
TracTimeline imported from /usr/lib/python2.6/dist-packages/trac/wiki/default-pages/TracTimeline
TracTicketsCustomFields imported from /usr/lib/python2.6/dist-packages/trac/wiki/default-pages/TracTicketsCustomFields
WikiHtml imported from /usr/lib/python2.6/dist-packages/trac/wiki/default-pages/WikiHtml
TracWiki imported from /usr/lib/python2.6/dist-packages/trac/wiki/default-pages/TracWiki
TracAdmin imported from /usr/lib/python2.6/dist-packages/trac/wiki/default-pages/TracAdmin
TracReports imported from /usr/lib/python2.6/dist-packages/trac/wiki/default-pages/TracReports
TracSyntaxColoring imported from /usr/lib/python2.6/dist-packages/trac/wiki/default-pages/TracSyntaxColoring
PageTemplates imported from /usr/lib/python2.6/dist-packages/trac/wiki/default-pages/PageTemplates
/var/lib/python-support/python2.6/svn/fs.py:27: DeprecationWarning: The popen2 module is deprecated. Use the subprocess module.
import sys as _sys, os as _os, popen2 as _popen2, tempfile as _tempfile
Indexing repository
[2053]
---------------------------------------------------------------------
Project environment for 'Test Project' created.
You may now configure the environment by editing the file:
/home/morpheuz/trac/conf/trac.ini
If you'd like to take this new project environment for a test drive,
try running the Trac standalone web server `tracd`:
tracd --port 8000 /home/morpheuz/trac
Then point your browser to http://localhost:8000/trac.
There you can also browse the documentation for your installed
version of Trac, including information on further setup (such as
deploying Trac to a real web server).
The latest documentation can also always be found on the project
website:
http://trac.edgewall.org/
Congratulations!
Project Name [My Project]>
Database connection string [sqlite:db/trac.db]>
Repository type [svn]>
Path to repository [/path/to/repos]>
입력할 사항은 위의 네가지인데, 프로젝트 네임을 제외하고는 그냥 엔터만 치면 기본 값으로 저장된다.
일단 Database에서 아무생각없이 sqlite:db 만 입력했더니 설치시에 에러가 발생했다.
Creating and Initializing Project
Initenv for '/home/morpheuz/trac' failed.
Failed to create environment.
(17, 'File exists')
Traceback (most recent call last):
File "/usr/lib/python2.6/dist-packages/trac/admin/console.py", line 568, in do_initenv
options=options)
File "/usr/lib/python2.6/dist-packages/trac/env.py", line 188, in __init__
self.create(options)
File "/usr/lib/python2.6/dist-packages/trac/env.py", line 311, in create
DatabaseManager(self).init_db()
File "/usr/lib/python2.6/dist-packages/trac/db/api.py", line 70, in init_db
connector.init_db(**args)
File "/usr/lib/python2.6/dist-packages/trac/db/sqlite_backend.py", line 133, in init_db
os.makedirs(os.path.split(path)[0])
File "/usr/lib/python2.6/os.py", line 157, in makedirs
mkdir(name, mode)
OSError: [Errno 17] File exists: '/home/morpheuz/trac'
그 다음에는 웹서버를 구동시키면된다.
/home/morpheuz/trac에는 사용자가 설치한 경로명을 입력하면 된다.
$ tracd --port 8000 /home/morpheuz/trac
위의 8000 포트는 예제 값이니 편의대로 임의의 포트로 변경해서 사용하면 된다.
'프로그램 사용 > Trac' 카테고리의 다른 글
Trac 0.12.1 + 한글메뉴 보기 (0) | 2010.11.10 |
---|---|
Trac - Authentication information not available (0) | 2010.11.09 |
TRAC on Ubuntu 10.04 + 로고바꾸기 (2) | 2010.11.02 |
TOW - Trac On Window (0) | 2009.08.30 |