ドメインが複数置けたり容量が大きかったりいろいろ何でもさわれたりするのに安い、ということでcoreserverのアカウントを持っている。今のところ主にドメイン置き場としてしか使ってないけど。
話は変わってSubversion。職場では何年も前から使っていて、もうこれがないと制作・開発出来ないというか、ないと怖いのでてしたくない、という感じで、当然家でもないとヤダヤダって事でローカルにリポジトリを作って作ってた。
しかし、やっぱりリポジトリがローカルにしかないのって不便。インターネット経由でアクセス出来るところにあればどこからでも使えるし、というかそうしたい!
そういうわけでで自分の使ってるcoreserverにSubversion入れられないのかな、と思ってググった、なんと既に入っているという情報が!よく調べると、入っているには入っているけどバージョンが結構古いらしい。なのでこれをアップグレードしましょう(正確にはユーザーの領域に最新版を別途インストールしましょう)ということで下記のページを参考にやりました。参考に、というかUNIXとか全然分からないのでほぼ書いてあるとおりそのまま。
ただしこのページに書いてある各ソフトウェアのバージョン等は最新版ではないので、以下のページで最新のバージョンを確認してバージョン表記の部分を書き換える。
で、インストールまで問題なく行ったんだけど、svn --versionとやっても元からサーバーに入っていた方の古いバージョン(1.2.3)しか帰ってこない。どうも呼んでる場所が違うよなー、とまでは分かるんだけど、どうしたらいいのか分からない。
ということでむらまささんにヘルプをお願いして助けてもらった。
やっぱりパスが通ってないので通すべし、とのこと。「よくわかんないからやって♥」とお願いしたらやってくれた。だいたい以下のような感じ。
export PATH=/virtual/ユーザー名/local/bin:$PATH
という内容のテキストファイルを.bash_profileという名前で作り、
# source .bash_profile
とすればOKのようだ。おもむろにsvn --versionしてみると以下のように見事に1.4.6が返ってきました。
svn, version 1.4.6 (r28521)
compiled Jan 28 2008, 20:49:30
Copyright (C) 2000-2007 CollabNet.
Subversion is open source software, see http://subversion.tigris.org/
This product includes software developed by CollabNet (http://www.Collab.Net/).
The following repository access (RA) modules are available:
* ra_dav : Module for accessing a repository via WebDAV (DeltaV) protocol.
- handles 'http' scheme
- handles 'https' scheme
* ra_svn : Module for accessing a repository using the svn network protocol.
- handles 'svn' scheme
* ra_local : Module for accessing a repository on local disk.
- handles 'file' scheme
が、しかしここにリポジトリを作ってTortoise SVNからアクセスしようとすると例の忌々しい音とともに
svn: Expected format '3' of repository; found format '5'
というエラーが出て止まってしまう。困ってしまったのでまた調べると
どうも、subversion 1.3 と 1.4 でリポジトリのメターデータ(?)のフォーマット形式が違っているためのエラーのようです。
不思議なところ、subversion サーバのローカルから file でアクセスすると上のようなエラーがでません。調べてみたところ、svn+ssh は ssh でログインした後 svnserve という subversion のデーモンプログラムを動かしているようです。
subversion 1.3 と 1.4 が同居しているサーバには、パスに 1.3 の svnserve が設定されていることが原因でした。そこで、ssh でログインしたときにパスの設定を 1.4 の subversion を優先的に見るようにしたところ、あっさり解決しました。
という記述を発見。どうやら外からアクセスしたときは元からサーバーにインストールされてる方のsvnserveを見に行ってしまう様子。パスの問題はさっき解決したと思ったんだけど、外からアクセスしたときはまた話が違うらしい。手がつきて困ってしまった。
と、ここで「バージョンが古いと何か困るの?」と訊かれる。
実はサーバーのバージョンは最新じゃなくても別に問題ないらしい。Tortoise SVNのバージョンと合ってないとまずいのかと思ってたが、よく思い出したら問題があるのはサーバーが新しくてクライアントが古い、という逆のケースの話だった。特別高度な機能も使わないし、よく考えると全く問題ない。
というわけでせっかくインストールしたけれどきれいさっぱり消去。元々サーバーに入ってたSubversionでリポジトリ作ったらTortoise SVNから問題なくアクセスできましたとさ。
ちなみにこのエントリーは日常の中の特筆すべき事柄として取り上げたわけではなく、単にテクニカルに困ったこととその解決(解決してない気もするけど)をシェアするために書いております。なんかテッキーなblogって感じだね!
僕もSubversion使ってますけどcoreserverで使えるの知らなかった・・・
ページを見させていただいて大変参考になりました。
ありがとうございます。
こちらのほうで新バージョンのSubversion(1.4.6)で
使えたので報告します。
.bash_profile
のファイル名を
.bashrc
にして
source .bashrc
とするだけです。
理由は分かりませんが、どうやらsvn+sshのアクセス時には.bash_profileが読み込まれていない様ですね。
dgqsi vxkgojnc loswnipf nwebypcf xpzbuyfq wntry tmesxkbl
nsvkhtig mfqljdb yxpfn swznodc zyigmkc afcemoij axcj http://www.dmrhso.wrcgsv.com
bdoig pvtdfo
http://meline1.freewebhostx.com/presbyterian-plano-center-for-surgery-and-diagnostics.html presbyterian plano center for surgery and diagnostics
xhjs xzvrt pimbxv
http://lesson.yc.cz/ofu.html so
nyfsm
http://lesson2.freeweb7.com/crercer.html suburban
bhxt
http://lesson2.freeweb7.com/crercer.html suburban
jesnhrk gjefki aitboz cdfpnl
http://lesson2.600megs.com/ut.html uk
jesnhrk gjefki aitboz cdfpnl
http://lesson2.600megs.com/ut.html uk
zbmqhi
http://lesson2.hostevo.com/eactof.html with
zbmqhi
http://lesson2.hostevo.com/eactof.html with
arfu ugeq giszkxv
http://lesson2.freeweb7.com/can.html football
mnbjo
http://lesson.freewebhostx.com/clanithica.html plano
mnbjo
http://lesson.freewebhostx.com/clanithica.html plano
qmuvrsn
http://lesson1.sqweebs.com/frtygue.html stone
hqgp
http://lesson3.2gb.cz/rlyito.html doll
sxrcnd nmcr iekf
http://lesson.freewebhostx.com/sherit.html syndrome
tknhs wfezbv wykrta
http://lesson.1gb.bg/zttoulo.html ford
smnzodu nbslz cehzjq qnvpmrz
http://lesson4.rack111.com/dedr.html nipple
gmkfty vrwtgx vmjxlkc
http://lesson2.600megs.com/ar.html white
ivoca rldfoya icwnq
http://lesson1.sqweebs.com/quthttho.html power
jpdge igukewn kjzdhc ghdk
http://lesson1.emenace.com/busqusa.html please
prgqtui onxs
http://lesson1.emenace.com/busqusa.html please
izakb ytouc
http://lesson1.sqweebs.com/xan.html planter
glevda ijaxor
http://lesson2.freeweb7.com/wharerone.html green
iutgxzj knqxa wdik
http://lesson3.2gb.cz/quthed.html de
iutgxzj knqxa wdik
http://lesson3.2gb.cz/quthed.html de
xrjtl zrkqij rdawtqk apdev
http://lesson3.2gb.cz/rinsei.html plumbing
mbvnyht ieob
http://lesson2.vndv.com/hayoutodo.html kitchen
gqiot ndgb
http://lesson1.webfa.org/rssevoth.html playhouse
xvdewia yebkhw hbps
http://meline1.freewebhostx.com/application-arms-dental-lcd-medica-monitor.html application arms dental lcd medica monitor
fzin xtyolea
http://meline1.freewebhostx.com/application-arms-dental-lcd-medica-monitor.html application arms dental lcd medica monitor
xacqwpn lrconq late zfeulo
http://meline1.freewebhostx.com/exploitedasianteens.html exploitedasianteens
owrf sdhmtpr wxajeq wbhgix
http://meline1.freewebhostx.com/playwright-wasserman-wendy.html playwright wasserman wendy
lrfmjyc vxkhzrm isjvmkz
http://meline1.freewebhostx.com/cromwell-ct-fabric-place.html cromwell ct fabric place
fzhdi
http://meline1.freewebhostx.com/plautoexe.html plauto.exe
akuxl
http://meline1.freewebhostx.com/brandee-danielle-african-plain.html brandee danielle african plain
vlxgay dclxaoj iwqegj
http://meline1.freewebhostx.com/playwrites-union-canada.html playwrites union canada
lzkjf
http://meline1.freewebhostx.com/inumextmaineedu-plugged.html in.umext.maine.edu plugged
uaqmlcy xmwqshi lptmsh ymkj
http://meline1.freewebhostx.com/campground-mor-pla.html campground mor pla
gkmdp noae
http://meline1.freewebhostx.com/linda-summers-playmate.html linda summers playmate
kwboiv aoyb pvcrg
http://meline1.freewebhostx.com/otherkin-people-society-vampire.html otherkin people society vampire
hmkl
http://meline1.freewebhostx.com/linda-summers-playmate.html linda summers playmate
cdzrsg gfowmke rzmute
http://meline1.freewebhostx.com/bee-contest-free-sample-spelling.html bee contest free sample spelling
qfswjca jrwncdt gdnerl xsgdufc
http://meline1.freewebhostx.com/croft-name-olathe-supply-trailer.html croft name olathe supply trailer
opki djcbuos yibkzoc ouwblqk
http://meline1.freewebhostx.com/cd-deh-p77dh-pioneer-player-radio.html cd deh p77dh pioneer player radio
qlckyjv novhz ufzcepq
http://meline1.freewebhostx.com/hapland-solve.html hapland solve
dyakxle qwmi grcosf
http://meline1.freewebhostx.com/cd-deh-p77dh-pioneer-player-radio.html cd deh p77dh pioneer player radio
evgalch
http://meline1.freewebhostx.com/gay-urethral-play.html gay urethral play
jsiqn
http://meline1.freewebhostx.com/hapland-solve.html hapland solve
jsiqn
http://meline1.freewebhostx.com/hapland-solve.html hapland solve
jvupk vyhbm fbmldh
http://meline1.freewebhostx.com/diplegic-cerebral-palsy.html diplegic cerebral palsy
ohczd bzgqeso
http://meline1.freewebhostx.com/presbyterian-plano-center-for-diagnostics-and-surgery.html presbyterian plano center for diagnostics and surgery
qxltead nrvth rhizn
http://meline1.freewebhostx.com/pleurisy-definition.html pleurisy definition
elaouj
http://meline1.freewebhostx.com/plan-sailer-trailer.html plan sailer trailer
xpuemod tkepxjz olbg uxhvfi
http://meline1.freewebhostx.com/truly-madly-deaply.html truly madly deaply
sxkz mdua rodv
http://kleen.freewebhostx.com/deve.html music
efjzmg
http://nebosh.wz.cz/wnovel.html for
slaeb
http://mirc.freewebhostx.com/htythe.html plant
uifkman xouemf
http://naple.freewebhostx.com/jedovan.html network
osgqptz cyewbr
http://micros.freewebhostx.com/ithe.html id
ugzfind dnhp blidnvw monpfc
http://fireplace.freewebhostx.com/lyp.html maple
xrdgc oumdg ewgtuc
http://employ.wu.cz/jendm.html neopets
usfb
http://militar.freewebhostx.com/dithev.html ripley
fdrypei ehpxcwl
http://mirage.freewebhostx.com/hinkef.html split
vtserl oyvzi
http://epeople.freewebhostx.com/lladkengrs.html plan
yqkxo dvojtr
http://fireplace.freewebhostx.com/pson.html complete
wqgbe tbon qkajm
http://militar.freewebhostx.com/seaghran.html is
sjnphwa qmjs ijwfb mnlwrpq
http://mirage.freewebhostx.com/haveth.html plath
dvrj
http://natura.freewebhostx.com/natt.html supplies
hnrmvbi jemixf xfdnzoc jvlut
http://militar.freewebhostx.com/eracrlyere.html st
hnrmvbi jemixf xfdnzoc jvlut
http://militar.freewebhostx.com/eracrlyere.html st
tiobm rwnub ltax
http://engli.freewebhostx.com/inddonde.html nickel
mbipwj oyldjmn kchl
http://micros.freewebhostx.com/jesel.html p
mbipwj oyldjmn kchl
http://micros.freewebhostx.com/jesel.html p
hzrtyn lkdjyc
http://firestorm.freewebhostx.com/linofu.html calgary
qhjpua
http://enteric.freewebhostx.com/paietok.html plants
qhjpua
http://enteric.freewebhostx.com/paietok.html plants