- Korean: 이 페이지는 아직 한글로 번역되지 않았습니다.
os-redis.plugin.bash¤
redis server install configurations.
group:postnet | runtype:systemd | deps: - | port: LO:6379
Usage
os-redis help|install|uninstall|download|disable|configgen|configapply|check|run
$ os-redis install - install Redis server
$ os-redis uninstall - uninstall Redis server
$ os-redis download - download Redis package files to pkg dir
$ os-redis disable - disable Redis plugin
$ os-redis configgen - generate Redis configuration files
$ os-redis configapply - apply Redis configuration files
$ os-redis check - check Redis plugin status
$ os-redis run - run Redis service
$ os-redis help - show this help message
Description
Redis is an in-memory data structure store used as a database, cache, and message broker.
Jangbi Configs¤
/opt/jangbi/.config
RUN_OS_REDIS=1 # enable redis server
REDIS_PORTS="LO:6379" # ports to listen, LO - localhost, 6379 - Redis port
Check if running¤
bash command
$ ss -nltup|grep redis
tcp LISTEN 0 128 127.0.0.1:6379 0.0.0.0:* users:(("redis-server",pid=12345,fd=6))
$ redis-cli ping
PONG
Current Configuration¤
Current configuration is stored in /etc/redis/
. it is generated by os-redis configgen
command on install.
You can edit it manually and not run install or configapply commands to keep current configurations.
/etc/redis/redis.conf