Showing posts with label bsd. Show all posts
Showing posts with label bsd. Show all posts

Wednesday, March 25, 2009

Rails on FreeBSD 7.1

Today I was first time trying to install rails on freebsd 7.1. Neither the ports version nor the gem file version, rails could not work, even only simply creating a new project. It returns message as following.

undefined method `camelize' for "app":String

I had try to reinstall ruby, rubygem, and try other version rails but a nonsense. And finally I forgot how did I discover it needs ruby-iconv ports in fact. It seems occurring at the time I was using rails 2.2.2, some keyword appeared in the error message.

One post on the mailing list [Ruby on Rails : Talk] show the same problem. If you also have the same problem, try it.

 

Sunday, June 24, 2007

IBM 的 ServerRAID 原來這麼難纏

Debian, FreeBSD, OpenBSD 比較正統耐操的系統全都不支援,RHEL 和 SUSE 也要開機時用 linux dd 掛入驅動程式,Google 上滿是被 adaptec adp94xx 這張卡荼毒的遺跡,這教訓告訴我下次一定不買 IBM 的東西...雖然 1U 用 4萬元買真的很便宜了...,下次還是換 Sun 或 HP 吧,不然真的在忙的時候哪有時間編 kernel。不過還是感謝經銷商賣這麼便宜又花時間幫我處理問題。

Monday, June 18, 2007

SFTP chroot?

今天看到這篇文章

http://smallken.no-ip.org/blog/2007/06/14/271/

想起我的 vsftpd 是有設定 chroot 的,可是如果使用者用 SFTP 登入的話會怎樣?sshd 沒有 chroot 這回事呀。馬上試了一下,跟想像中的一樣,使用者又可以亂跑了,還可以隨便下載別的使用者的資料(umask=022),看來真是糟糕,得再想辦法找資料了。

Sunday, June 17, 2007

OpenBSD 的防火牆

前陣子在看 iptables 的書時偶然看到了 OpenBSD 的防火牆好像很特別的樣子,前幾天又看到了這篇文章,

http://docs.huihoo.com/openbsd/testimonials.html

形容得真是太囂張了,希望暑假有時間可以來試試這個作業系統,另外也找到了這篇文章提到關於 OpenBSD 的安裝方式

http://www.ibm.com/developerworks/cn/aix/library/au-openbsd.html

剩下的文章似乎就不多了(看來 OpenBSD 真的很少人用),只剩

http://openbsd.linuxsir.org/main/index.php

這個網站還沒仔細看過,今天也去圖書館借了"OpenBSD 完全探索",可惜翻譯實在有夠爛,封面還標示原文書獲得 Amazon 五顆星評價,真是諷刺,安裝指導只提到了用軟碟機開機的方式,真不曉得他是怎麼獲得五顆星的,anyway,暑假有機會一定要裝看看。

記錄一下幾個OpenBSD資源站:
Gigabite:http://ftp.giga.net.tw/#openbsd
國網中心:http://ftp.twaren.net/BSD/OpenBSD/

還有NetBSD的手冊:
http://netlab.cse.yzu.edu.tw/~statue/freebsd/docs/netbsd/netbsd.html