2019/02/24

Install Redis-stat on CentOS 7



# Install Ruby
yum install -y ruby
# Install RubyGems
yum install -y rubygems
# Install Ruby devel/gcc/gcc-c++
yum install -y ruby-devel gcc gcc-c++
# Install Redis stat
gem install redis-stat

# Start Web Server
# Default port 63790
redis-stat --server

不是在本機上要看網頁需將防火牆加上
ex:

# 開啟63790 port並永久保存
firewall-cmd --add-port=63790/tcp --permanent