1. enable repolocal
https://teguhth.blogspot.com/2026/02/enable-repo-local-using-cdrom-on-centos.html
2. download maxscale maxscale-24.02.7-1.rhel.9.x86_64.rpm
mariadb archive
https://archive.mariadb.org/mariadb-10.11/yum/almalinux9-amd64/rpms/
maxscale archive
https://dlm.mariadb.com/browse/mariadbmaxscale/24.02.7/yum/rhel/9/x86_64/
[root@teguhth data]# pwd
/data
[root@teguhth data]# ls | grep -i maxscale
maxscale-24.02.7-1.rhel.9.x86_64.rpm
[root@teguhth data]#
3. clean repo
dnf clean all
dnf repolist
4. Install maxscale
yum --disablerepo="*" --enablerepo=BaseOS,AppStream install -y maxscale-*.rpm
5. Star maxscale & enable booting
systemctl start maxscale
systemctl enable maxscale
root@teguhth data]# systemctl start maxscale
[root@teguhth data]#
6. cek list server
[root@teguhth data]# maxctrl list servers
+---------------------------------------------------------------------------+
¦ Server ¦ Address ¦ Port ¦ Connections ¦ State ¦ GTID ¦ Monitor ¦
+---------+-----------+------+-------------+-------+------+-----------------¦
¦ server1 ¦ 127.0.0.1 ¦ 3306 ¦ 0 ¦ Down ¦ ¦ MariaDB-Monitor ¦
+---------------------------------------------------------------------------+
[root@teguhth data]#




No comments:
Post a Comment