更新 运维监控系统部署:Nightingale

X
2025-04-29 02:40:18 +00:00
parent 9a952add3e
commit 193d56949b

@@ -5,11 +5,16 @@
apt -y install mariadb* apt -y install mariadb*
systemctl enable mariadb systemctl enable mariadb
systemctl restart mariadb systemctl restart mariadb
#设置mysql密码
mysql -e "SET PASSWORD FOR 'root'@'localhost' = PASSWORD('1234');" mysql -e "SET PASSWORD FOR 'root'@'localhost' = PASSWORD('1234');"
``` ```
- 部署缓存数据库Redis - 部署缓存数据库Redis
``` ```
apt install -y redis apt install -y redis
#修改redis密码
vi /etc/redis/redis.conf
添加requirepass 1234(密码字段)
systemctl enable redis systemctl enable redis
systemctl restart redis systemctl restart redis
``` ```