DSpace1.6のインストールメモ5 ― 2010-03-31 22:47:17
DSpace1.6のインストールメモ4 ― 2010-03-31 22:44:42
DSpace1.6のインストールメモ3 ― 2010-03-31 22:35:35
DSpaceのコンパイル&インストール
Antを使ってDSpaceをインストールする.
$ ant fresh_install
実験環境では次のようなエラーが表示された.
/usr/bin/build-classpath: error: Could not find xml-commons-apis Java extension for this JVM /usr/bin/build-classpath: error: Some specified jars were not found Buildfile: build.xml BUILD FAILED /home/dspace/dspace-1.6.0-src-release/dspace/target/ dspace-1.6.0-build.dir/build.xml:86: No supported regular expression matcher found
はまったのは「No supported regular expression matcher found」.
上記エラーを解決するために,必要なパッケージをインストールする.
# yum install xml-commons-apis # yum install ant-apache-regexp
antに拡張パッケージがあるとは知らなかった.
Deploy
インストール先ディレクトリに移動し,Tomcatにウェブアプリケーションを配備する. アプリ配備後,Tomcatを起動する.
$ cd /usr/local/dspace/ $ ls assetstore config exports lib reports solr webapps bin etc handle-server log search upload $ su # cp -rvf /usr/local/dspace/webapps/* /var/lib/tomcat5/webapps/ # /etc/init.d/tomcat5 start Starting tomcat5: [ OK ] #
管理者アカウントの設定
DSpaceの管理者アカウントの作成は「create-administrator」コマンドを使用する.
# /usr/local/dspace/bin/create-administrator Creating an initial administrator account E-mail address: root@localhost First name: Last name: WARNING: Password will appear on-screen. Password: Again to confirm: Is the above data correct? (y or n): y Administrator account created #
DSpaceの起動
以下のURLにアクセスするとDSpaceのUIが表示される.
- http://localhost:8080/jspui/
- http://localhost:8080/xmlui/
あとは細かいチューニングか
wordpress ― 2009-07-16 21:50:44
久しぶりにWordpressをインストールしてみる.まず,ファイルのダウンロードから.
# wget http://ja.wordpress.org/wordpress-2.8.1-ja.tar.gz
つぎに必要なソフトウェアのインストール.phpとmysqlとhttpdをインストールする.yumを使うので簡単簡単.
# yum install php # yum install mysql # yum install mysql-server # yum install httpd
つぎにWordpressのためのデータベースを作成する.
# mysql mysql> create database wordpress; Query OK, 1 row affected (0.00 sec) mysql> grant all privileges on wordpress.* to "wordpress"@"localhost" identified by "wordpress!"; Query OK, 0 rows affected (0.00 sec) mysql> flush privileges; Query OK, 0 rows affected (0.00 sec) mysql> exit Bye #
つぎにWordpressを展開して,httpdのドキュメントルートに設置する.
# tar zxvf wordpress-2.8.1-ja.tar.gz # mv wordpress /var/www/html/ # cd /var/www/html/wordpress/
Wordpressの設定ファイルをコピーして,データベースの設定を行う.
# cp wp-config-sample.php wp-config.php # vi wp-config.php define('DB_NAME', 'wordpress'); define('DB_USER', 'wordpress'); define('DB_PASSWORD', 'wordpress!'); define('DB_HOST', 'localhost'); define('DB_CHARSET', 'utf8'); define('DB_COLLATE', ''); #
これで一応準備はととのった.ブラウザにhttp://192.168.11.21/wordpress/wp-admin/install.phpを入力し,インストールウィザードにアクセスする.が..
お使いのサーバーの PHP では MySQL 拡張を利用できないようです。
忘れていた....
# yum install php-mysql # /etc/init.d/httpd restart
もっかいhttp://192.168.11.21/wordpress/wp-admin/install.phpにアクセス.無事,インストール画面が表示された.しかし,Wordpressの画面はとてもきれいになったね~.
DSpace ― 2009-07-02 23:57:57
今日,DSpaceという名前のリポジトリソフトウェアを知った.色々な大学でリポジトリソフトウェアとして利用されているらしい.以下は,DSpaceのホームページからの引用:
DSpace open source software enables open
sharing of content that spans organizations, continents and time.
探してみたら,日本でもだいぶ昔からやられているみたい. 学術機関リポジトリ構築ソフトウェア実装実験プロジェクト.こういう話はちゃんとチェックしておかないと,,,
xoopsの資料管理モジュール ― 2009-05-19 21:10:48
どうやらPubMedPDFモジュールが良いみたい.さっそく,試してみます.
最近のコメント