2012-01-23
さいきんはこっちの新しい方にhttp://hiroyukim.hatenablog.jp/移動してます。
2011-11-30
■ FreeBSDでパッケージの管理方法
インストールされてるパッケージ一覧
pkg_info
たとえば、postfixのインストールされているファイルを知りたい場合
pkg_info | grep postfix
これでパッケージ名がわかるので
pkg_info -L
でわかる
1行でやるとこうなる
pkg_info | grep postfix | cut -d' ' -f1 | xargs pkg_info -L
パッケージ削除
pkg_delete
インストール
whereis でディレクトリが得られるので
whereis curl
あとはそこへいってmakeしてやればいける
cd /usr/ports/ftp/curl sudo make install clean
参照
http://www.freebsd.org/doc/ja_JP.eucJP/books/handbook/packages-using.html
2011-11-29
■ SringRoo
springでこの設定どうすんだよ?とか探しまわる手間が惜しい場合SpringRooを使うといいです。
一瞬で設定周りを作ってくれます
download してきてPATHをとおしてやってあとはディレクトリをほって
roo.sh
これを実行するだけで立ち上がります。
いままで探し回っていたおれはなんだったんだ。。。orz
____ ____ ____
/ __ \/ __ \/ __ \
/ /_/ / / / / / / /
/ _, _/ /_/ / /_/ /
/_/ |_|\____/\____/ 1.2.0.BUILD-SNAPSHOT [rev 93d5d9c]
Welcome to Spring Roo. For assistance press TAB or type "hint" then hit ENTER.
@jeff_markham: @BrianMMcClain Nice. Play with @SpringRoo a little. You can reverse engineer a db and have GWT | MVC UI with a few commands.
At this time you have not authorized Spring Roo to download an index of
available add-ons. This will reduce Spring Roo features available to you.
Please type 'download status' and press ENTER for further information.
あとは、このチュートリアル一通りなめればだいたい分かる。
http://static.springsource.org/spring-roo/reference/html/beginning.html
参考
本家
http://www.springsource.org/spring-roo
http://static.springsource.org/spring-roo/reference/html/index.html
http://news.mynavi.jp/articles/2010/04/01/spring4/index.html
http://www.ogis-ri.co.jp/otc/hiroba/technical/SpringRooIntroduction/index.html
