LoginSignup
2
5

More than 5 years have passed since last update.

memcachedインストール(Windows&Ubuntu)

Last updated at Posted at 2016-03-08

Windows

1.memcachedをダウンロード
https://commaster.net/content/installing-memcached-windows

 →http://downloads.northscale.com/memcached-win64-1.4.4-14.zip

2.memcachedをインストール
コマンドプロンプトから

cd [memcached.exeの配置パス]
memcached.exe -d install

3.memcachedを起動
memcached.exe -d start

4.接続確認
telnet 127.0.0.1 11211

stats
→ いろいろ表示される・・

Ubuntu

1.memcachedをapt-getでインストール
sudo apt-get install memcached

2.起動確認
service --status-all | grep memcached

[ + ] memcached

3.接続確認
telnet 127.0.0.1 11211

stats
STAT pid 8072
STAT uptime 45
STAT time 1457424426
STAT version 1.4.14 (Ubuntu)
STAT libevent 2.0.21-stable
STAT pointer_size 32
STAT rusage_user 0.000000
STAT rusage_system 0.000000
STAT curr_connections 5
STAT total_connections 6
STAT connection_structures 6
STAT reserved_fds 20
STAT cmd_get 0
STAT cmd_set 0
STAT cmd_flush 0
STAT cmd_touch 0
STAT get_hits 0
STAT get_misses 0
STAT delete_misses 0
STAT delete_hits 0
STAT incr_misses 0
STAT incr_hits 0
STAT decr_misses 0
STAT decr_hits 0
STAT cas_misses 0
STAT cas_hits 0
STAT cas_badval 0
STAT touch_hits 0
STAT touch_misses 0
STAT auth_cmds 0
STAT auth_errors 0
STAT bytes_read 7
STAT bytes_written 0
STAT limit_maxbytes 67108864
STAT accepting_conns 1
STAT listen_disabled_num 0
STAT threads 4
STAT conn_yields 0
STAT hash_power_level 16
STAT hash_bytes 262144
STAT hash_is_expanding 0
STAT expired_unfetched 0
STAT evicted_unfetched 0
STAT bytes 0
STAT curr_items 0
STAT total_items 0
STAT evictions 0
STAT reclaimed 0
END

2
5
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
5