6 月 18th, 2009 — 未分類
4 月 8th, 2009 — 未分類
ZendServerが一般提供を開始したというのでインストールしてみる。
http://itpro.nikkeibp.co.jp/article/NEWS/20090408/327999/
サーバーはCentOS5.2
1.Zend用のyum repoを追加
vi /etc/yum.repos.d/zend.repo
[Zend]
name=Zend PE $releasever - $basearch - Released Updates
baseurl=http://repos.zend.com/rpm/pe/$basearch/
enabled=1
gpgcheck=0
[Zendpe-noarch]
name=Zend PE - noarch
baseurl=http://repos.zend.com/rpm/pe/noarch
enabled=1
gpgcheck=0
2.zend-peをインストール
yum install zend-pe
ZendServerとZendでビルドしたPHPのRPMがインストールされる。
=============================================================================
Package Arch Version Repository Size
=============================================================================
Installing:
zend-pe noarch 4.0-129 Zendpe-noarch 3.7 k
Installing for dependencies:
apr i386 1.2.7-11 base 122 k
apr-util i386 1.2.7-7.el5 base 76 k
autoconf noarch 2.59-12 base 647 k
automake noarch 1.9.6-2.1 base 484 k
data-cache-zend-pe i386 4.0.40-12 Zend 569 k
debugger-zend-pe i386 5.2.20-7 Zend 495 k
download-server-zend-pe i386 1.5.44-7 Zend 515 k
extension-manager-zend-pe i386 5.1.58-10 Zend 569 k
framework-zend-pe noarch 1.7.8-1 Zendpe-noarch 2.8 M
gui-zend-pe noarch 4.0.16-25 Zendpe-noarch 2.4 M
httpd i386 2.2.3-22.el5.centos base 1.2 M
imake i386 1.0.2-3 base 319 k
libaio i386 0.3.106-3.2 base 19 k
libframework1-zend-pe noarch 1.7.5-72 Zendpe-noarch 2.6 M
liboci8-zend i386 11.1-1 Zend 13 M
lighttpd-zend-pe i386 1.4.20-47 Zend 995 k
m4 i386 1.4.5-3.el5.1 base 133 k
mailcap noarch 2.1.23-1.fc6 base 14 k
mod-php5-apache2-zend-pe i386 5.2.9-90 Zend 2.4 M
monitor-lite-zend-pe i386 4.0.63-9 Zend 1.8 M
monitor-ui-zend-pe i386 4.0.63-56 Zend 958 k
optimizer-plus-zend-pe i386 4.0.29-5 Zend 106 k
page-cache-zend-pe i386 4.0.53-13 Zend 1.6 M
php-bcmath-zend-pe i386 5.2.9-22 Zend 17 k
php-bz2-zend-pe i386 5.2.9-23 Zend 66 k
php-calendar-zend-pe i386 5.2.9-22 Zend 13 k
php-ctype-zend-pe i386 5.2.9-22 Zend 5.9 k
php-curl-zend-pe i386 5.2.9-40 Zend 644 k
php-dev-zend-pe i386 5.2.9-40 Zend 3.2 M
php-exif-zend-pe i386 5.2.9-22 Zend 24 k
php-fcgi-zend-pe i386 5.2.9-50 Zend 3.2 M
php-ftp-zend-pe i386 5.2.9-24 Zend 437 k
php-gd-zend-pe i386 5.2.9-23 Zend 403 k
php-gettext-zend-pe i386 5.2.9-22 Zend 6.3 k
php-imap-zend-pe i386 5.2.9-33 Zend 509 k
php-intl-zend-pe i386 5.2.9-10 Zend 7.0 M
php-json-zend-pe i386 5.2.9-22 Zend 13 k
php-ldap-zend-pe i386 5.2.9-22 Zend 107 k
php-mcrypt-zend-pe i386 5.2.9-22 Zend 93 k
php-mhash-zend-pe i386 5.2.9-22 Zend 135 k
php-mime-magic-zend-pe i386 5.2.9-21 Zend 12 k
php-mysql-zend-pe i386 5.2.9-22 Zend 19 k
php-mysqli-zend-pe i386 5.2.9-22 Zend 36 k
php-oci8-zend-pe i386 5.2.9-29 Zend 61 k
php-pdo-mysql-zend-pe i386 5.2.9-22 Zend 14 k
php-pdo-oci-zend-pe i386 5.2.9-29 Zend 14 k
php-pdo-pgsql-zend-pe i386 5.2.9-26 Zend 67 k
php-pgsql-zend-pe i386 5.2.9-29 Zend 40 k
php-posix-zend-pe i386 5.2.9-22 Zend 11 k
php-soap-zend-pe i386 5.2.9-22 Zend 600 k
php-sockets-zend-pe i386 5.2.9-22 Zend 16 k
php-sqlite-zend-pe i386 5.2.9-21 Zend 161 k
php-tidy-zend-pe i386 5.2.9-26 Zend 123 k
php-tokenizer-zend-pe i386 5.2.9-21 Zend 8.0 k
php-xmlreader-zend-pe i386 5.2.9-21 Zend 488 k
php-xmlwriter-zend-pe i386 5.2.9-21 Zend 497 k
php-xsl-zend-pe i386 5.2.9-21 Zend 589 k
php-zip-zend-pe i386 5.2.9-21 Zend 31 k
php5-common-extensions-zend-pe noarch 1.0-69 Zendpe-noarch 3.3 k
postgresql-libs i386 8.1.11-1.el5_1.1 base 196 k
zend-base-pe i386 1.0-67 Zend 991 k
zend-extensions-pe noarch 1.0-1 Zendpe-noarch 1.8 k
zend-pe-doc noarch 1.0-51 Zendpe-noarch 39 k
zendutils-zend-pe i386 1.0.42-5 Zend 518 k
Transaction Summary
=============================================================================
Install 65 Package(s)
Update 0 Package(s)
Remove 0 Package(s)
Total download size: 54 M
エラーが出なければ、インストールは完了。
2 月 6th, 2009 — glusterfs, linux
GlusterFSはGlusterプロジェクトのサブプロジェクトだそうです。 Gluster.org http://www.gluster.org/download.php からGlusterFSの2.0.0-RCをCentos5にインストールしてみる。 Fuse上で動くらしいのでDAG RPMのリポジトリからインストール
rpm -ivh http://apt.sw.be/redhat/el5/en/i386/rpmforge/RPMS/rpmforge-release-0.3.6-1.el5.rf.i386.rpm
GlusterFSをダウンロード&インストール
wget http://ftp.gluster.com/pub/gluster/glusterfs/2.0/LATEST/glusterfs-2.0.0rc1.tar.gz
tar zxf glusterfs-2.0.0rc1.tar.gz
cd glusterfs-2.0.0rc1
/usr/local/glusterfsにインストール
./configure --prefix=/usr/local/glusterfs
–with-apxs、 –with-apxspath、-with-apachepathを指定するとmod_glusterfsが利用できるようになるらしいがまた今度。
configureの結果
GlusterFS configure summary
===========================
FUSE client : yes
Infiniband verbs : no
epoll IO multiplex : yes
Berkeley-DB : yes
libglusterfsclient : yes
mod_glusterfs : no ()
argp-standalone : no
makeする。
make && make install
1 月 30th, 2009 — linux
1 月 29th, 2009 — blender, 創作, 動画
1 月 27th, 2009 — linux, トラブルシューティング
Proftpdをソースからコンパイルしていたら以下のようなエラーが出た。
configure: error: C++ preprocessor “/lib/cpp” fails sanity check
ググるとすぐに対処法が出た。以下のサイトを参考にしてgcc-c++をインストールして解決した。
yum install gcc-c++
http://lab.z-nix.jp/mt/archives/2007/08/configure_error_c_preprocessor.html
1 月 15th, 2009 — linux, python
参考URL http://ngi644.net/blog/archives/197
Fedora10 にXMLデータベースSednaをインストールするまでのメモです。
http://modis.ispras.ru/sedna/download.htmlからソースをダウンロード。そして展開。
wget http://www.modis.ispras.ru/FTPContent/sedna/current/sedna3.1.126-src-linux.tar.gz
tar zxf sedna-3.1.126-src-linux.tar.gz
SEDNA_INSTALLという環境変数を設定。
SEDNA_INSTLL=/usr/local
export SEDNA_INSTLL
make && make install
Sednaをスタート
/usr/local/sedna/bin/se_gov
GOVERNOR has been started in the background mode
Sednaをシャットダウン
/usr/local/sedna/bin/se_stop
SEDNA server has been shut down successfully
データベースを作成
/usr/local/sedna/bin/se_cdb testdb
Creating a data base (it can take a few minutes)…
The database ‘testdb’ has been created successfully
上で作成したtestdbデータベースをスタート
/usr/local/sedna/bin/se_sm testdb
Starting database recovery or hot-backup restoration…
Database is in consistent state. Starting…
SM has been started in the background mode