Skip to main content

【安卓服务器】相关服务安装

安卓服务器安卓termuxzookeeperLess than 1 minute

zookeeper

# 安装
apt install zookeeper

# 查找安装位置
whereis zookeeper
## 输出为:zookeeper: /etc/zookeeper /usr/share/zookeeper

# 启动
cd /usr/share/zookeeper
./zkServer.sh --config /etc/zookeeper/conf/zoo.cfg restart

redis

# 安装 版本 >= 7
apt install redis

# 修改配置,允许远程连接
protected-mode no

# 启动
redis-server /etc/redis/redis.conf

# 本地登录 设置用户及密码
acl setuser root on >1234 +@all
# 持久化
config rewrite
What do you think?
  • 0
  • 0
  • 0
  • 0
  • 0
  • 0
Comments
  • Latest
  • Oldest
  • Hottest
Powered by Waline v3.0.0-alpha.10