1. Get Redmine-1.2 stable: svn co http://redmine.rubyforge.org/svn/branches/1.2-stable redmine-1.2
2. Install Ruby 1.8.7: portmaster lang/ruby18
3. Download RubyGems 1.6.2: wget http://production.cf.rubygems.org/rubygems/rubygems-1.6.2.tgz
4. Unpack It && cd
5. Install RubyGems: ruby setup.rb
6. Make a ln: ln -s /usr/local/bin/gem18 /usr/local/bin/gem
7. Instal required gems with proper versions:
gem install rake -v=0.8.7
gem install rack -v=1.1.2
gem install mongrel -v=1.1.5
gem install i18n -v=0.4.2
gem install rails -v=2.3.11
gem install mysql
8. Now do "Installation Procedure" from official guide http://www.redmine.org/projects/redmine/wiki/RedmineInstall
Using FastCGI
1. Download FastCGI: wget http://www.fastcgi.com/dist/fcgi-2.4.0.tar.gz
2. Unpack It && cd
3. ./configure
4. Edit Makefile in ALL DIR AND SUBDIR: add '-fPIC' to CC, CPP, CXX
So, it should be like this:
CC = gcc -fPIC
CPP = gcc -E -fPIC
CXX = g++ -fPIC
MAKE SHURE YOUR EDITED ALL Makefile!!!
5. make
6. make install
7. Make ln -s to all FastCGI headers in /usr/local/include to /usr/include
Headers are: fastcgi.h, fcgi_config.h, fcgi_stdio.h, fcgiapp.h, fcgimisc.h, fcgio.h, fcgios.h
8. Install apache mod_fcgi: portmaster www/mod_fastcgi
9. Install gem fcgi: gem install fcgi
10. Edit httpd.conf - uncomment LoadModule fascgi_module
11. Follow the instruction: http://www.redmine.org/projects/redmine/wiki/HowTo_configure_Apache_to_run_Redmine#For-FreeBSD-and-possibly-others
12. Make sure your log files have proper access rights
That works for me without any errors
voip & misc
воскресенье, 25 сентября 2011 г.
суббота, 5 марта 2011 г.
rpcapd on unix (FreeBSD 8.2 Amd64 winpcap)
How to get rpcapd on FreeBSD?
1. Download WinPCAP sources ( http://www.winpcap.org/archive/4.1beta5_WpcapSrc.zip )
2. Unzip it: unzip -a 4.1beta5_WpcapSrc.zip
3. Install gcc46 (optional but recommended)
4. Install libpcap-1.1.1 from ports
5. cd to the (winpcap sources)/wpcap/libpcap/rpcapd
6. Edit Makefile
line 6: add -DHAVE_STRLCPY
like this: CFLAGS = -pthread -DHAVE_REMOTE -DHAVE_SNPRINTF -DHAVE_STRLCPY
(optional) line 5: change CC to gcc46
7. Save Makefile
8. make
9. Enjoy rpcapd.
Don't forget to add rules in the ipfw!
1. Download WinPCAP sources ( http://www.winpcap.org/archive/4.1beta5_WpcapSrc.zip )
2. Unzip it: unzip -a 4.1beta5_WpcapSrc.zip
3. Install gcc46 (optional but recommended)
4. Install libpcap-1.1.1 from ports
5. cd to the (winpcap sources)/wpcap/libpcap/rpcapd
6. Edit Makefile
line 6: add -DHAVE_STRLCPY
like this: CFLAGS = -pthread -DHAVE_REMOTE -DHAVE_SNPRINTF -DHAVE_STRLCPY
(optional) line 5: change CC to gcc46
7. Save Makefile
8. make
9. Enjoy rpcapd.
Don't forget to add rules in the ipfw!
вторник, 30 июня 2009 г.
Подписаться на:
Сообщения (Atom)