更新 运维监控系统部署:Nightingale
parent
9a952add3e
commit
193d56949b
@ -5,11 +5,16 @@
|
||||
apt -y install mariadb*
|
||||
systemctl enable mariadb
|
||||
systemctl restart mariadb
|
||||
#设置mysql密码
|
||||
mysql -e "SET PASSWORD FOR 'root'@'localhost' = PASSWORD('1234');"
|
||||
```
|
||||
- 部署缓存数据库Redis
|
||||
```
|
||||
apt install -y redis
|
||||
#修改redis密码
|
||||
vi /etc/redis/redis.conf
|
||||
添加requirepass 1234(密码字段)
|
||||
|
||||
systemctl enable redis
|
||||
systemctl restart redis
|
||||
```
|
||||
|
Loading…
x
Reference in New Issue
Block a user