ほんとのこと知りたいだけなのに。

夏休みはもうおわり。

Web サービスなどを。と思いまして。

Common Lisp は ヘタレの横好きでチョコチョコ勉強していました。

必然的に何か作ってみたくなります。

 

レンタルサーバーの選定

Web サービスなどを。と思いまして。

 

ネットで探したらこんな情報がありました。

http://q.hatena.ne.jp/1249132061

 

これをみて レンタルサーバーは ServerPronto にしました。一番安いやつです。

http://www.serverpronto.com/

 
 OS は Debian にしました。
自宅のノートパソコンで利用しているのが Debian なのでそれと同じにしました。
 
emacs のインストール
さっそくログインしてとりあえず atp-get で emacs をインストールしようとすると下記のURLの問題にでつまづきました。
 
 
URLに書いてあるとおり /etc/apt/sources.list の中から 「deb cdrom:[Debian GNU/Linux 6.0.2.1 _Squeeze_ - Official amd64 CD Binary-1 20110626-16:33]/ squeeze main」の行を削除しました。
 
その後 atp-get install emacs で無事インストール完了しまして、無事 emacs も起動しました。
 
SBCL のインストール
次は SBCL をインストールします。
 
apt-get install sbcl 
 
で無事インストール完了です。
 
無事に動いているようです。
----------------------------------------------------------------------
This is SBCL 1.0.40.0.debian, an implementation of ANSI Common Lisp.
More information about SBCL is available at <http://www.sbcl.org/>.
 
SBCL is free software, provided as is, with absolutely no warranty.
It is mostly in the public domain; some portions are provided under
BSD-style licenses.  See the CREDITS and COPYING files in the
distribution for more information.
* (* 2 3)
 
6
----------------------------------------------------------------------
 
 
JDK のインストール
次は open-jdk をインストールします。
 
データベースとして neo4j を利用するためです。
 
apt-get install openjdk-6-jdk
 
で無事インストール完了です。
 
無事動いているようです。
----------------------------------------------------------------------
> java -version
java version "1.6.0_18"
OpenJDK Runtime Environment (IcedTea6 1.8.13) (6b18-1.8.13-0+squeeze1)
OpenJDK 64-Bit Server VM (build 14.0-b16, mixed mode)
 ----------------------------------------------------------------------
 
 neo4j のインストール
次は neo4j を動かしてみます。
 
まずはダウンロードします。
 
解凍します。
tar zxvf neo4j-enterprise-1.8-SNAPSHOT-unix.tar.gz 
 
適当な場所に移動します。
mv neo4j-enterprise-1.8-SNAPSHOT ${適当な場所}
 
自分も適当な場所に移動します。
cd ${適当な場所}
  
動かしてみます。
----------------------------------------------------------------------
>  ${適当な場所} /neo4j start
WARNING: Max 1024 open files allowed, minimum of 40 000 recommended. See the Neo4j manual.
Starting Neo4j Server...04:49:44.646 [main] DEBUG o.a.c.c.ConfigurationUtils - ConfigurationUtils.locate(): base is /usr/bin/neo4j/conf, name is neo4j-server.properties
04:49:44.655 [main] DEBUG o.a.c.c.ConfigurationUtils - Loading configuration from the path /usr/bin/neo4j/conf/neo4j-server.properties
process [18395]... waiting for server to be ready....... OK.
Go to http://localhost:7474/webadmin/ for administration interface.
 ----------------------------------------------------------------------
 
停止します。
----------------------------------------------------------------------
>  ${適当な場所} /neo4j stop
Stopping Neo4j Server [18395].... done
 ----------------------------------------------------------------------
 
なんとか動いているようです。