{ Pattern }

Pattern Ref —自分用覚書

phpライブラリmemcache

11 月 4th, 2009
Posted by yref
未分類
Comments Off

[root@localhost memcached]# pecl install memcache

[root@localhost memcached]# ls /usr/lib/php/modules/

[root@localhost memcached]# ls /etc/php.d/

[root@localhost memcached]# vi /etc/php.d/memcache.ini
; Enable memcache extension module
extension=memcache.so

[root@localhost memcached]# /etc/init.d/httpd restart
httpd を停止中: [...]

continue reading this post...

キャッシュサーバmemcached

11 月 1st, 2009
Posted by yref
未分類

memcachedは高性能な分散メモリキャッシュサーバです。

参考:

memcachedを知り尽くす
memcached 1.4の到来
[perl] Memcachedのインストール・利用方法
memcached(OFFICIAL)
memcached
memcached導入手順
memcachedをインストールしphpから使用する
備忘録::memcached
CentOSにmemcachedをインストールする為のSRPMを作成しました
■なぜmemcachedをセッション管理用に使うのか

参考:クライアントライブラリ

最近のmemcached界隈の賑わいについてのメモ
cache::memcached::fast とか ::XS とかとのベンチはどれくらい?
■perl の memcached libraries の速度検証CommentsAdd Star
ruby,php,perlでmemcacheの中身を使い回す
memcachedを介して、PerlとRubyでデータをほげほげしてみる
memcached+PostgreSQLで実現する
ハイパフォーマンスWebアプリケーション構築
[MySQL]Memcached Functions for MySQLCommentsAdd Star
memcached functions for MySQL をセットアップしてみる
memcachedのステータスをtop風に「memcache-top」

監視ツール

[PHP]APCのWebインターフェースっぽいmemcacheの管理画面
[memcached] PHPでmemcachedの稼働状況をチェック
memcachedの内容を確認するには

[root@localhost ~]# /usr/local/src/memcached-1.4.2/scripts/memcached-tool

■アーカイブをget
[root@localhost src]# wget http://memcached.googlecode.com/files/memcached-1.4.2.tar.gz

[root@localhost src]# tar zxvf memcached-1.4.2.tar.gz
[root@localhost src]# cd memcached-1.4.2
[root@localhost memcached-1.4.2]# ./configure
If it’s already installed, specify its path using –with-libevent=/dir/

★libeventのパスを指定しろと言われる。

[root@localhost memcached-1.4.2]# rpm -qa libevent
libevent-1.1a-3.2.1
★libeventはインストールされているのに。。。

■libevent-develをインストール
[root@localhost memcached-1.4.2]# yum install -y libevent-devel.i386
Installing [...]

continue reading this post...

サーバ監視ツール nagios

11 月 1st, 2009
Posted by yref
未分類

参考

監視ツール Nagios
統合監視システム構築(Nagios)
玄箱/Fedora9へのNagiosのインストール
Centos 5.3 x86_64 のインストールではまったこと

■gdのインストール

[root@localhost src]# yum -y install gd gd-devel
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: ftp.iij.ad.jp
* updates: ftp.iij.ad.jp
* addons: ftp.iij.ad.jp
* extras: ftp.iij.ad.jp
Setting up Install Process
Parsing package install arguments
Package gd-2.0.33-9.4.el5_1.1.i386 already installed and latest version
Package gd-devel-2.0.33-9.4.el5_1.1.i386 already installed and latest version
Nothing to do

■ユーザー作成 nagios:******
[root@localhost src]# useradd -m nagios
[root@localhost src]# passwd nagios
Changing password for [...]

continue reading this post...

Your Own Photos Or Artwork

This is just a sample.....260 X 100

  • sample1
  • sample1
  • sample1
ホットワード 自分 備忘録 分類 httpd
割引クーポンまとめ情報 - クー割