Centos-7
mysql-5.7.44
yum install -y https://dev.mysql.com/get/mysql80-community-release-el7-3.noarch.rpm
yum list installed | grep mysql
yum repolist all | grep -E "mysql[0-9]+-community/x86"
yum-config-manager --disable mysql80-community
yum-config-manager --enable mysql57-community
rpm --import https://repo.mysql.com/RPM-GPG-KEY-mysql-2022
yum install -y mysql-community-server
systemctl start mysqld
systemctl status mysqld.service
grep 'temporary password' /var/log/mysqld.log
mysql -u root -p
SET PASSWORD = PASSWORD('your_new_password');
UPDATE mysql.user SET host = '%' WHERE user = 'root'; #允许 root 远程登录
FLUSH PRIVILEGES; #刷新权限
apache-zookeeper
wget https://archive.apache.org/dist/zookeeper/zookeeper-3.5.7/apache-zookeeper-3.5.7-bin.tar.gz
/opt/apache-zookeeper-3.5.7-bin #安装路径
bin/zkServer.sh start #启动
bin/zkServer.sh stop #停止
apache-activemq
wget https://archive.apache.org/dist/activemq/5.15.16/apache-activemq-5.15.16-bin.tar.gz
/opt/apache-activemq-5.15.16 #安装路径
bin/activemq start #启动
bin/activemq status #查看状态
http://10.0.0.70:8161/admin/ #后台
admin admin
redis
yum install -y redis
systemctl start redis.service
vim /etc/redis.conf
...
bind 0.0.0.0
...