Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
# rootユーザへ切り替え
sudo su -
# wgetインストール
yum -y install wget
# repository取得
wget -r --no-parent -A 'epel-release-*.rpm'
# repository設定
rpm -Uvh*.rpm
# redisインストール
yum -y install redis
ls -al /etc/redis*
# redis起動
systemctl start redis.service
# redisステータス表示
systemctl status redis.service
#---- redis status 表示 start ----
redis.service - Redis persistent key-value database
Loaded: loaded (/usr/lib/systemd/system/redis.service; disabled)
Drop-In: /etc/systemd/system/redis.service.d
Active: active (running) since 水 2015-04-08 02:52:27 EDT; 1min 58s ago
Main PID: 5266 (redis-server)
CGroup: /system.slice/redis.service
└─5266 /usr/bin/redis-server
4月 08 02:52:27 localhost.localdomain systemd[1]: Starting Redis persistent key-value .....
4月 08 02:52:27 localhost.localdomain systemd[1]: Started Redis persistent key-value d...e.
Hint: Some lines were ellipsized, use -l to show in full.
#---- redis status 表示 end ----
# redis通信確認
redis-cli ping
# ↑ PONGと返ってくると成功
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.