差分
このページの2つのバージョン間の差分を表示します。
両方とも前のリビジョン前のリビジョン次のリビジョン | 前のリビジョン |
darwin:install [2007/07/23 16:50] – 外部編集 127.0.0.1 | darwin:install [2008/06/01 18:12] (現在) – osamu |
---|
| |
===== OpenDarwinの設定 ===== | ===== OpenDarwinの設定 ===== |
[[http://www.opendarwin.org/en/faq/|The OpenDarwin FAQ]]や[[http://www.miko.org/~tatyana/tech/OSX/Beginning_OSX.html|Beginning OSX]]を参考。 | [[http://www.opendarwin.info/opendarwin.org/en/faq/index.html|The OpenDarwin FAQ]]や[[http://www.miko.org/~tatyana/tech/OSX/Beginning_OSX.html|Beginning OSX]]を参考。 |
| |
| |
</code> | </code> |
| |
| ==== sshd起動 ==== |
| SSH でログインできるようにしておこう。 |
| OpenDarwin 7.2 は Mac OS X 10.3 相当だから、sshd は xinetd 経由。 |
| ''/etc/xinetd.d/ssh''を編集する。 |
| <code xinetd> |
| disable = no |
| </code> |
| |
==== Timezone設定 ==== | ==== Timezone設定 ==== |
http://www.opendarwin.org/en/faq/ch02.html#timezone | http://www.opendarwin.info/opendarwin.org/en/faq/ch02.html#timezone |
<code sh> | <code sh> |
| # rm -f /etc/localtime |
# ln -s /usr/share/zoneinfo/Japan /etc/localtime | # ln -s /usr/share/zoneinfo/Japan /etc/localtime |
</code> | </code> |
| |
http://darwinports.opendarwin.org/downloads/ から、DarwinPortsのソースを入手してmake。 | http://darwinports.opendarwin.org/downloads/ から、DarwinPortsのソースを入手してmake。 |
| |
| (注:opendarwin.org はすでに活動停止しているので、現在は http://svn.macports.org/repository/macports/downloads/DarwinPorts-1.3.2/ か http://svn.macports.org/repository/macports/downloads/MacPorts-1.4.0/ あたりから入手。MacPorts 1.5 以降は GNUstep 必須なので、ちょっと厄介) |
| |
<code sh> | <code sh> |
$ ftp http://darwinports.opendarwin.org/downloads/DarwinPorts-1.1.tar.bz2 | $ ftp http://darwinports.opendarwin.org/downloads/DarwinPorts-1.1.tar.bz2 |
==== NFS設定 ==== | ==== NFS設定 ==== |
NetInfoまたは''/etc/exports''でNFSで接続させるディレクトリを設定。 | NetInfoまたは''/etc/exports''でNFSで接続させるディレクトリを設定。 |
http://opendarwin.org/en/faq/ch02.html#nfs_ni | http://www.opendarwin.info/opendarwin.org/en/faq/ch02.html#nfs_ni |
| |
OpenDarwin 7.2.1 の初期設定状態では、NFSの起動時にエラーが出ていた。スタートアップスクリプト ''/System/Library/StartupItems/NFS/NFS'' で使っている ''lockfile'' コマンドがないため、スクリプトがエラーで停止している。''procmail''をインストールして''lockfile''が使えるようにする。 | OpenDarwin 7.2.1 の初期設定状態では、NFSの起動時にエラーが出ていた。スタートアップスクリプト ''/System/Library/StartupItems/NFS/NFS'' で使っている ''lockfile'' コマンドがないため、スクリプトがエラーで停止している。''procmail''をインストールして''lockfile''が使えるようにする。 |
</code> | </code> |
一度 port install mt-daapd して、DarwinPortsに自動的にこれらをインストールさせるというのも、あり。 | 一度 port install mt-daapd して、DarwinPortsに自動的にこれらをインストールさせるというのも、あり。 |
| DarwinPorts が使えなければ、ソースからビルドするのが早いかも。 |
| |
[[http://www.mt-daapd.org/|mt-daapdのサイト]]で最新のソースを取って来る。 | [[http://www.mt-daapd.org/|mt-daapdのサイト]]で最新のソースを取って来る。 |