さくらVPS 512から1Gに移行中

    • 気になったこと.. なんかドットついてる?
# ll
合計 12
-rwxr-xr-x. 1 root root  905 1112 05:46 2010 makewhatis.cron
-rwxr-xr-x. 1 root root  174  520 15:03 2009 mlocate.cron
-rwxr-xr-x. 1 root root 2126  423 23:34 2010 prelink
  • cpanm久々につまづいた
$ cat >> .bashrc
export PERL_CPANM_OPT="--local-lib=~/perl5"
export PATH=$HOME/perl5/bin:$PATH;
export PERL5LIB=$HOME/perl5/lib/perl5:$PERL5LIB;
PATH=$PATH:$HOME/bin
$ source ~/.bashrc
$ mkdir bin; cd bin
$ curl -LOk http://xrl.us/cpanm
$ chmod +x cpanm
$ perl cpanm App::cpanminus
$ cpanm CPAN
$ cpanm local::lib
$ pythonbrew install 2.6.6
3 tests failed:
    test_commands test_distutils test_zipfile
エラーを無視してインストール
$ pythonbrew install -n 2.6.6
$ curl -O http://peak.telecommunity.com/dist/ez_setup.py
$ python ez_setup.py
zipimport.ZipImportError: can't decompress data; zlib not available
# yum install zlib-devel
// zlib-devel 入れたらpythonビルドしなおし
$ pythonbrew install -n 2.6.6
$ pythonbrew switch 2.6.6
$ python ez_setup.py -U setuptools
$ easy_install dotcloud
// openssl-devel 入ってなかったのでさらにやり直し
$ dotcloud create xxxx.xxx