'Installation'에 해당되는 글 1

  1. 2009.02.23 [Trac] Building my private Knowledge Base System (3)
A few years ago, I felt that it is need to take a knowledge base system to support my tired brain. It is very stressful to work as a security consultant and a penetration tester because many techniques are being out of the world. Moreover a security professional must know more information and techniques better than its local professionals such as programmers, network engineers, system engineers. So it is important to keep the past information as much as to study new information. 

I decided to build my own using the Trac. Past I tried to build my department KB using the MoniWiki. I thought the Trac is more powerful. Currently I think it was right. 
It is easy to install the Trac on Mac OS X using the MacPorts. Please refer its installation guide how to install the MacPorts on your Mac OS X. You can install the Trac using 'port' command. It is more detail to view the Trac's installation guide.  
sudo port install apache2
sudo port install subversion + mod_dav_svn
sudo port install trac

After installation it is need to create your project. My project base directory is under my home directory. 
trac-admin /Users/bar4mi/Trac/mykb initenv

To use authentication it is need to make passwd using htpasswd which is inclued in apache package.
sudo htpasswd -c /Users/bar4mi/Trac/.htpasswd bar4mi

One thing you have to know is a problem using the Trac with mod_python25. I tried to install it with the mod_python25 but to fail it. it is the problem of the MacPorts package. I think so. So I run it with standalone mode. (Additionally to know is that the Mac OS X includes it's bundle apache. It's location is /usr/sbin/apachectl, the apache on the Macports is /opt/local/apacche2/bin/apachectl. Don't forget it! )
tracd -p 8000 --basic-auth=mykb,/Users/bar4mi/Trac/.htpasswd,"" /Users/bar4mi/Trac/mykb

So I have my private knowledge base system. What to remain is to fill it up. 
신고
이전 1 다음

티스토리 툴바