Dec 21 2009

Eclipse에서 Trac Server Wiki 편집하기

분류: CDE, Eclipse, Trac, Wiki최 태현 @ 11:00 오전

Trac을 설정하다보니까 여기저기 좋은 plugin이 많이도 나온다.

프로그램과정에 시간을 쏟아야 되는데 셋팅에 너무 시간을 많이 보내는것 같다.

이것은 Eclipse에서 Trac관련 문서(Wiki로 작성)들을 편비할 수 있도록 하는 Plugin 입니다.

eclipse에서 help->install new software를 선택하고 다음 사이트를 추가해준다.

Name : Eclipse Trac Integration ( 편한대로 주세요 )

Location : http://trac-hacks.org/svn/eclipsetracplugin/eclipse/update/

설치가 끝나고 나면 eclipse상에서 window -> Open Perspetive -> Trac 을 선택하고 Trac Server를 등록해 준다.

그러면 Trac Navigation에 주욱~~ Wiki 파일이 올라온다.

Wiki 문법을 잘 모르는 내입장에선 참 편할것 같다.


Dec 21 2009

SVN commit을 trac으로 연동

분류: CDE, Eclipse, Subversion, Trac최 태현 @ 8:41 오전

SVN commit을 trac과 연동하여 특정 동작을 수행하도록 지정할 수 있다.

trac에서는 bug, 개발작업, 등의 내용을 ticket을 작성하여 관리한다. ticket을 작성하는 경우 일반적으로, ticket을 open한다고 한다.
ticket을 open하면, 해당 ticket의 내용을 보고, 관련 작업이 source와 관련된 경우, source code작업을 완료한 후 ticket을 close한다.
이때, ticket을 close하는 작업을 svn commit시에 자동으로 이루어 지도록 할 수 있다.

실제로는, svn commit이 발생할때 log를 hooking해서, 해당 log에 ticket 정보가 있는지 확인하고, ticket정보가 있다면,
해당 ticket을 close하거나, 해당 ticket에 log를 남기게 된다.

0. trac plugin 설치

solove@sage:/etc$ sudo easy_install http://trac-hacks.org/svn/eclipsetracplugin/tracrpcext/0.10
Downloading http://trac-hacks.org/svn/eclipsetracplugin/tracrpcext/0.10
Doing subversion checkout from http://trac-hacks.org/svn/eclipsetracplugin/tracrpcext/0.10 to /tmp/easy_install-WAd3o4/0.10
Processing 0.10
Running setup.py -q bdist_egg –dist-dir /tmp/easy_install-WAd3o4/0.10/egg-dist-tmp-NO2eTd
Adding TracExtendedXmlRpc 0.1 to easy-install.pth file

Installed /usr/local/lib/python2.6/dist-packages/TracExtendedXmlRpc-0.1-py2.6.egg
Processing dependencies for TracExtendedXmlRpc==0.1
Finished processing dependencies for TracExtendedXmlRpc==0.1

Trac과 Mylyn을 연결하기 위해 필요한 connector를 설치한다.  설치할 플러그인의 URL은

http://download.eclipse.org/tools/mylyn/update/extras/  이다.

Mylyn integration > Mylyn Connector:Trac을 설치한다.

http://download.eclipse.org/tools/mylyn/update/extras/
위와 같다.

Continue reading “SVN commit을 trac으로 연동”


Dec 19 2009

Apache2 Error…

분류: Apache2, How to, Server, Ubuntu, Web Server최 태현 @ 10:24 오전

시스템 upgrade후 다음과 같은 오류메세지가 나오면서 apache 접속이 되지 않았다. 그 이유는??? 아직 모르겠다.

starting httpd: (98)address already in use: make_sock: could not bind to address [::]:80
(98)address already in use: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
unable to open logs
[failed]

어째든 80port를 무언가 잡아먹는것 같아서 확인해 보니까

$ sudo netstat -anp | grep 80
tcp        0      0 0.0.0.0:80              0.0.0.0:*               LISTEN      3836/apache2
unix  2      [ ACC ]     STREAM     LISTENING     6380     2540/amavisd (maste /var/lib/amavis/amav

apache2가 왜그런지 모르게 별도로 뜨고 있었다. 우선 다음과 같이 Process를 kill하고 다시 올렸다. 시간있을때 이유를 찾아봐야 겠다.

$ ps aux|grep 3836/apache2
solove    4360  0.0  0.0   3368   800 pts/0    R<+  10:10   0:00 grep 3836/apache2
solove@sage:~$ ps aux|grep apache2
root      3820  0.0  0.0   1872   588 tty8     S+   10:03   0:00 /bin/sh -e /etc/rc2.d/S91apache2 start
root      3831  0.0  0.0   1872   532 tty8     S+   10:03   0:00 /bin/sh /usr/sbin/apache2ctl start
root      3836  0.0  0.2  24336  6584 tty8     S+   10:03   0:00 /usr/sbin/apache2 -k start
solove    4363  0.0  0.0   3368   796 pts/0    R<+  10:10   0:00 grep apache2

$ sudo killall apache2
$ ps aux|grep apache2
solove    4407  0.0  0.0   3368   800 pts/0    R<+  10:11   0:00 grep apache2
solove@sage:~$ sudo /etc/init.d/apache2 restart
* Restarting web server apache2                                                                                                       Apache/2.2.11 mod_ssl/2.2.11 (Pass Phrase Dialog)
Some of your private key files are encrypted for security reasons.
In order to read them you have to provide the pass phrases.

Server trac.sourceforge.kr:443 (RSA)
Enter pass phrase:

OK: Pass Phrase Dialog successful.


Dec 06 2009

Kubuntu 9.04를 9.10으로 업그레이드 했을때 nVidia Kernel 오류

분류: Ubuntu최 태현 @ 8:57 오후

apt-get install linux-headers-`uname -r`
sudo aptitude reinstall nvidia-173-kernel-sourc


Dec 01 2009

Windos XP에서 APM 설치하기

분류: Apache2, Desktop, PHP, mysql최 태현 @ 10:22 오전

1. Apache, MySQL, PHP 설치하기

1. Apache 설치하기

  • 윈도우용 Apache Download ( 저는 apache_2.2.14-win32-x86-openssl-0.9.8k.msi 를 받았습니다. )
  • Run the Apache Installer
Server Information 설정화면

Continue reading “Windos XP에서 APM 설치하기”

Tags: , , ,