maxscale|开启GUI管理

生成tls证书

mkdir /certs
openssl req -x509 -nodes -newkey rsa:2048 -keyout /certs/server-key.pem -out /certs/server-cert.pem -days 365 -subj "/CN=test.maxscale.com" && openssl req -new -x509 -key /certs/server-key.pem -out /certs/ca-cert.pem -days 365 -subj "/CN=test.maxscale.com"
chown -R maxscale:maxscale /certs

更改配置文件

vim /etc/maxscale.cnf
[maxscale]
admin_host=0.0.0.0
admin_ssl_key=/certs/server-key.pem
admin_ssl_cert=/certs/server-cert.pem
admin_ssl_ca_cert=/certs/ca-cert.pem

重启服务

systemctl restart maxscale

访问8989端口,默认账户:密码

admin:mariadb

删除默认账户,增添新账户

maxctrl create user wakamizu wakamizu --type=admin
maxctrl destroy user admin

接下来就可以进行各种可视化管理啦

暂无评论

发送评论 编辑评论


				
|´・ω・)ノ
ヾ(≧∇≦*)ゝ
(☆ω☆)
(╯‵□′)╯︵┴─┴
 ̄﹃ ̄
(/ω\)
∠( ᐛ 」∠)_
(๑•̀ㅁ•́ฅ)
→_→
୧(๑•̀⌄•́๑)૭
٩(ˊᗜˋ*)و
(ノ°ο°)ノ
(´இ皿இ`)
⌇●﹏●⌇
(ฅ´ω`ฅ)
(╯°A°)╯︵○○○
φ( ̄∇ ̄o)
ヾ(´・ ・`。)ノ"
( ง ᵒ̌皿ᵒ̌)ง⁼³₌₃
(ó﹏ò。)
Σ(っ °Д °;)っ
( ,,´・ω・)ノ"(´っω・`。)
╮(╯▽╰)╭
o(*////▽////*)q
>﹏<
( ๑´•ω•) "(ㆆᴗㆆ)
😂
😀
😅
😊
🙂
🙃
😌
😍
😘
😜
😝
😏
😒
🙄
😳
😡
😔
😫
😱
😭
💩
👻
🙌
🖕
👍
👫
👬
👭
🌚
🌝
🙈
💊
😶
🙏
🍦
🍉
😣
Source: github.com/k4yt3x/flowerhd
颜文字
Emoji
小恐龙
花!