ログインシェルを変更する

  • /Applications/Utilities/NetInfo Manager.appを開く。(NetInfoマネージャ)
  • 左下の鍵を押して自分のパスワードを入力
  • users -> [ユーザ名]を選択し
  • プロパティ欄に[shell]があるので、これの値の部分をクリックする
  • クリックすると入力可能になるので設定したいシェルのパスを入力する。
再ログインして設定が変わっていることを確認する。

Subversionを使ってみる

インストール

インストールはMacPortsでやってみることにする
$ sudo port install subversion
--->  Fetching apr--->  Attempting to fetch apr-1.2.8.tar.bz2 from http://www.apache.org/dist/ apr
--->  Attempting to fetch apr-1.2.8.tar.bz2 from http://apache.planetmirror.com.au/dist/apr
--->  Attempting to fetch apr-1.2.8.tar.bz2 from ftp://ftp.planetmirror.com/pub/apache/dist/apr
--->  Attempting to fetch apr-1.2.8.tar.bz2 from ftp://ftp.is.co.za/Apache/dist/apr
--->  Attempting to fetch apr-1.2.8.tar.bz2 from ftp://ftp.infoscience.co.jp/pub/net/apache/dist/apr
--->  Verifying checksum(s) for apr
--->  Extracting apr
--->  Configuring apr
--->  Building apr with target all
--->  Staging apr into destroot   
--->  Installing apr 1.2.8_0
--->  Activating apr 1.2.8_0
--->  Cleaning apr
--->  Fetching db44
--->  Attempting to fetch patch.4.4.20.1 from http://www.oracle.com/technology/products/berkeley-db/db/update/4.4.20/
--->  Attempting to fetch patch.4.4.20.2 from http://www.oracle.com/technology/products/berkeley-db/db/update/4.4.20/
--->  Attempting to fetch patch.4.4.20.3 from http://www.oracle.com/technology/products/berkeley-db/db/update/4.4.20/
--->  Attempting to fetch patch.4.4.20.4 from http://www.oracle.com/technology/products/berkeley-db/db/update/4.4.20/
--->  Attempting to fetch db-4.4.20.tar.gz from http://downloads.sleepycat.com/
--->  Verifying checksum(s) for db44
--->  Extracting db44
--->  Applying patches to db44
--->  Configuring db44
--->  Building db44 with target all
--->  Staging db44 into destroot
--->  Installing db44 4.4.20_1+darwin_8
--->  Activating db44 4.4.20_1+darwin_8
--->  Cleaning db44
--->  Fetching apr-util
--->  Attempting to fetch apr-util-1.2.8.tar.bz2 from http://www.apache.org/dist/apr
--->  Verifying checksum(s) for apr-util
--->  Extracting apr-util
--->  Configuring apr-util
--->  Building apr-util with target all
--->  Staging apr-util into destroot
--->  Installing apr-util 1.2.8_2
--->  Activating apr-util 1.2.8_2
--->  Cleaning apr-util
--->  Fetching neon
--->  Attempting to fetch neon-0.26.3.tar.gz from http://svn.macports.org/repository/macports/distfiles/neon
--->  Attempting to fetch neon-0.26.3.tar.gz from http://svn.macports.org/repository/macports/distfiles/general/
--->  Verifying checksum(s) for neon
--->  Extracting neon
--->  Configuring neon
--->  Building neon with target all
--->  Staging neon into destroot
--->  Installing neon 0.26.3_0
--->  Activating neon 0.26.3_0
--->  Cleaning neon
--->  Fetching subversion
--->  Attempting to fetch subversion-1.4.4.tar.bz2 from http://subversion.tigris.org/downloads/
--->  Verifying checksum(s) for subversion
--->  Extracting subversion
--->  Applying patches to subversion
--->  Configuring subversion
--->  Building subversion with target all mucc
--->  Staging subversion into destroot--->  Installing subversion 1.4.4_0
--->  Activating subversion 1.4.4_0--->  Cleaning subversion

インストールは終了。確認してみる。

$ svn --version
svn, バージョン 1.4.4 (r25188)
  コンパイル日時: Aug 11 2007, 23:37:31

Copyright (C) 2000-2006 CollabNet.
Subversion はオープンソースソフトウェアです。
http://subversion.tigris.org/ を参照してください。
この製品には、CollabNet (http://www.Collab.Net/) によって開発されたソフトウェア
が含まれています。

以下のリポジトリアクセス (RA) モジュールが利用できます:

* ra_dav : WebDAV (DeltaV) プロトコルを使ってリポジトリにアクセスするモジュール。
  - 'http' スキームを操作します
  - 'https' スキームを操作します
* ra_svn : svn ネットワークプロトコルを使ってリポジトリにアクセスするモジュール。
  - 'svn' スキームを操作します
* ra_local : ローカルディスク上のリポジトリにアクセスするモジュール。
  - 'file' スキームを操作します

$ which svn
/opt/local/bin/svn
無事インストール出来た。バージョンを表示するとこんな感じで日本語で表示されるんですね。何みてるんだろ? LANGだろうか?

リポジトリを作成

リポジトリは自分のホームディレクトリ配下に作成することとする。
$ mkdir ~/repos
$ svnadmin create ~/repos 
確認
$ ls ~/repos
README.txt      dav             format          locks
conf            db              hooks
無事リポジトリも作成出来たようだ。

タグ:

+ タグ編集
  • タグ:

このサイトはreCAPTCHAによって保護されており、Googleの プライバシーポリシー利用規約 が適用されます。

最終更新:2007年08月11日 23:57