软件名称 版本号
序号 软件名称 版本 操作系统 下载地址 安装指导 其他参考
1 zookeeper 3.4.5 CentOS 7.5/7.6,EulerOS 2.8

安装前提:提前安装配置好了jdk及环境变量(yum install openjdk1.8.0),或者直接下载ARM版本的jdk包,解压之后配置JAVA环境变量。 单机配置zookeeper: 1、进入到配置目录,本文以root目录为例 cd root 2、下载安装包 wget https://obs-mirror-ftp4.obs.cn-north-4.myhuaweicloud.com:443/middleware/zookeeper-3.4.5.aarch64.tar.gz 3、解压安装包 tar -zxvf zookeeper-3.4.5.aarch64.tar.gz 4、进入到解压后的目录,并创建data和log目录 cd zookeeper-3.4.5 mkdir data log 5、在zookeeper的conf目录下生成和修改zoo.cfg配置文件 cd conf cp zoo_sample.cfg zoo.cfg vim zoo.cfg #文件内容如下 # The number of milliseconds of each tick tickTime=2000 # The number of ticks that the initial # synchronization phase can take initLimit=10 # The number of ticks that can pass between # sending a request and getting an acknowledgement syncLimit=5 # the directory where the snapshot is stored. # do not use /tmp for storage, /tmp here is just # example sakes. dataDir=../data dataLogDir=../logs # the port at which the clients will connect clientPort=2181 6、修改环境变量增加zookeeper配置 vim /root/.bash_profile #在文件最后增加zookeeper配置,其他保持不变 # zookeeper env export ZOOKEEPER_HOME=/root/zookeeper-3.4.5 export PATH=$ZOOKEEPER_HOME/bin:$PATH 7、启动和验证Zookeeper服务 source /root/.bash_profile cd /root/zookeeper-3.4.5/bin #启动zookeeper服务 ./zkServer.sh start #验证zookeeper状态 ./zkServer.sh status #通过curl命令验证2181端口是否通 curl 127.0.0.1:2181

打开指导

https://bbs.huaweicloud.com/forum/thread-20581-1-1.html

论坛链接

2 MySQL 5.7.30 CentOS7

1.下载压缩包 wget https://obs-mirror-ftp4.obs.cn-north-4.myhuaweicloud.com/database/mysql-5.7.30.tar.gz 2.安装依赖包 yum install -y perl openssl openssl-devel libaio perl-JSON autoconf 3.解压并安装 tar -xvf mysql-5.7.30.tar.gz cd aarch64 yum remove -y mariadb-libs yum install *.rpm 4.启动MySQL,查看状态 systemctl start mysqld systemctl status mysqld 5.登录数据库 密码生成在/var/log/mysqld.log中,通过/password查找 mysql -uroot -p进入 6.修改密码 mysql> ALTER USER 'root'@'localhost' IDENTIFIED BY '你的新密码'; mysql> use mysql; mysql> update user set host = '%' where user = 'root'; mysql> FLUSH PRIVILEGES;

打开指导

https://bbs.huaweicloud.com/forum/thread-56570-1-1.html

论坛链接

3 MySQL 5.7.28 CentOS7

1.下载压缩包 wget https://obs-mirror-ftp4.obs.cn-north-4.myhuaweicloud.com/database/mysql.5.7.28-rpm.tar 2.安装依赖包 yum install -y perl openssl openssl-devel libaio perl-JSON autoconf 3.解压并安装 tar -xvf mysql-5.7.28-rpm.tar cd aarch64 yum remove -y mariadb-libs yum install *.rpm 4.启动MySQL,查看状态 systemctl start mysqld systemctl status mysqld 5.登录数据库 密码生成在/var/log/mysqld.log中,通过/password查找 mysql -uroot -p进入 6.修改密码 mysql> ALTER USER 'root'@'localhost' IDENTIFIED BY '你的新密码'; mysql> use mysql; mysql> update user set host = '%' where user = 'root'; mysql> FLUSH PRIVILEGES;

打开指导

https://bbs.huaweicloud.com/forum/thread-56570-1-1.html

论坛链接

4 openssl 1.0.2k CentOS7.5

可以直接通过yum源安装,指令为: yum install openssl-1.0.2k

打开指导

/

暂无链接

5 Kibana 6.2.3 Centos7.5

直接解压使用 tar -xzvf kibana-6.2.3-linux-aarch64.tar.gz cd kibana-6.2.3-linux-aarch64/bin ./kibana

打开指导

暂无链接

6 MySQL 5.7.27 CentOS7.5

1. 添加mysql用户组和mysql用户,用于隔离mysql进程 [root@arm ~]# groupadd -r mysql && useradd -r -g mysql -s /sbin/nologin -M mysql 2.安装依赖库 [root@arm ~]# yum install -y libaio* 3. 下载解压Mysql [root@arm ~]# wget https://obs-mirror-ftp4.obs.cn-north-4.myhuaweicloud.com/database/mysql-5.7.27-aarch64.tar.gz [root@arm ~]# tar xvf mysql-5.7.27-aarch64.tar.gz -C /usr/local/ 4.配置Mysql [root@arm ~]# mv /usr/local/mysql-5.7.27-aarch64 /usr/local/mysql [root@arm ~]# mkdir -p /usr/local/mysql/logs [root@arm ~]# chown -R mysql:mysql /usr/local/mysql [root@arm ~]# chown -R mysql:mysql /dev/shm [root@arm ~]# ln -sf /usr/local/mysql/my.cnf /etc/my.cnf [root@arm ~]# cp -rf /usr/local/mysql/extra/lib* /usr/lib64/ [root@arm ~]# mv /usr/lib64/libstdc++.so.6 /usr/lib64/libstdc++.so.6.old [root@arm ~]# ln -s /usr/lib64/libstdc++.so.6.0.24 /usr/lib64/libstdc++.so.6 # 设置开机启动 [root@arm ~]# cp -rf /usr/local/mysql/support-files/mysql.server /etc/init.d/mysqld [root@arm ~]# chmod +x /etc/init.d/mysqld [root@arm ~]# systemctl enable mysqld 5. 添加环境变量 [root@ecs-arm ~]# vi /etc/profile export MYSQL_HOME=/usr/local/mysql export PATH=$PATH:$MYSQL_HOME/bin [root@ecs-arm ~]# source /etc/profile 5. 初始化启动mysql 方式一:无密码初始化登录 ------------------------------- [root@ecs-arm ~]# mysqld --initialize-insecure --user=mysql --basedir=/usr/local/mysql --datadir=/usr/local/mysql/data [root@ecs-arm ~]# systemctl start mysqld [root@ecs-arm ~]# systemctl status mysqld # 设置数据库root的密码 [root@ecs-arm ~]# mysql_secure_installation 方式二:随机密码初始化登录 # "–initialize"生成随机密码,在这里存储在/usr/local/mysql/logs/mysql-error.log [root@ecs-arm ~]# mysqld --initialize --user=mysql --basedir=/usr/local/mysql --datadir=/usr/local/mysql/data [root@ecs-arm ~]# systemctl start mysqld [root@ecs-arm ~]# systemctl status mysqld # 查看随机密码 [root@ecs-arm ~]# cat /usr/local/mysql/logs/mysql-error.log | grep password

打开指导

https://bbs.huaweicloud.com/forum/forum.php?mod=viewthread&tid=21069&page=1&extra=#pid67053

论坛链接

7 MySQL 5.6.44 CentOS7.5/Ubuntu18.04

1. 依赖安装 --Centos执行 yum install gcc gcc-c++ libaio* --Ubuntu执行 apt-get install gcc g++ libaio* 2. 添加mysql用户组和mysql用户,用于隔离mysql进程 groupadd -r mysql && useradd -r -g mysql -s /sbin/nologin -M mysql 3. 下载解压Mysql安装包 [root@arm ~]# wget https://obs-mirror-ftp4.obs.cn-north-4.myhuaweicloud.com/database/mysql-5.6.44-aarch64.tar.gz [root@arm ~]# tar xzvf mysql-5.6.44-aarch64.tar.gz -C /usr/local/ [root@arm ~]# rm -rf xzvf mysql-5.6.44-aarch64.tar.gz 4. 配置Mysql [root@arm ~]# mv /usr/local/mysql-5.6.44-aarch64 /usr/local/mysql [root@arm ~]# chown -R mysql:mysql /usr/local/mysql [root@arm ~]# rm –rf /etc/my.cnf [root@arm ~]# cp /usr/local/mysql/support-files/my-default.cnf /etc/my.cnf [root@arm ~]# vi /etc/my.cnf [mysqld] ... basedir = /usr/local/mysql datadir = /usr/local/mysql/data port = 3306 ... # 设置开机启动 [root@arm ~]# cp -rf /usr/local/mysql/support-files/mysql.server /etc/init.d/mysqld [root@arm ~]# chmod +x /etc/init.d/mysqld [root@arm ~]# systemctl enable mysqld 5. 添加Mysql环境变量 [root@ecs-arm ~]# vi /etc/profile export MYSQL_HOME=/usr/local/mysql export PATH=$PATH:$MYSQL_HOME/bin [root@ecs-arm ~]# source /etc/profile 6. 初始化Mysql [root@arm ~]# cd /usr/local/mysql [root@arm mysql]# scripts/mysql_install_db --user=mysql --basedir=/usr/local/mysql --datadir=/usr/local/mysql/data 7. 启动登录mysql [root@arm mysql]# systemctl start mysqld # 查看状态 [root@arm mysql]# systemctl status mysqld # 默认密码为空 [root@arm mysql]# mysql -uroot -p # 修改密码 [root@arm mysql]# /usr/local/mysql/bin/mysqladmin -u root password 'new-password'

打开指导

暂无链接

8 MongoDB 4.0.3 Centos7.5

1. 下载解压 [root@arm ~]# tar -xvf mongo-4.0.3-aarch64.tar.gz -C /usr/local/ [root@arm ~]# rm -rf mongo-4.0.3-aarch64.tar.gz 2. 配置MongoDB # 配置mongo启动需要的库函数 [root@arm ~]# cp -rf /usr/local/mongo/extra/lib* /usr/lib64/ [root@arm ~]# mv -f /usr/lib64/libstdc++.so.6 /usr/lib64/libstdc++.so.6.old [root@arm ~]# ln -s /usr/lib64/libstdc++.so.6.0.24 /usr/lib64/libstdc++.so.6 3. 添加Mongo环境变量 # 将/etc/profile文件尾部加入 export PATH=$PATH:/usr/local/mysql/bin [root@ecs-arm ~]# vi /etc/profile export MONGO_HOME=/usr/local/mongo export PATH=$PATH:$MONGO_HOME #环境变量生效 [root@ecs-arm ~]# source /etc/profile #验证环境变量 [root@ecs-arm ~]# echo $PATH 4. 初始化启动MongoDB #执行前请确保/data/db存在或者使用—dbpath指定位置 [root@ecs-arm ~]# mkdir -p /data/db [root@ecs-arm ~]# mongod --dbpath /data/db [root@ecs-arm ~]# mongo > use mongodatabase switched to db mongodatabase > show dbs admin 0.000GB config 0.000GB local 0.000GB

打开指导

https://bbs.huaweicloud.com/forum/thread-21048-1-1.html

论坛链接

9 MongoDB 3.6.3 Centos7.5

1. 下载解压 [root@arm ~]# tar xzvf mongo-3.6.3-aarch64.tar.gz -C /usr/local/ [root@arm ~]# rm -rf xzvf mongo-3.6.3-aarch64.tar.gz 2. 配置MongoDB # 将安装目录移动到/usr/local/mongo下 [root@arm ~]# mv /usr/local/mongo-3.6.3-aarch64 /usr/local/mongo # 配置mongo启动需要的库函数 [root@arm ~]# cp -rf /usr/local/mongo/extra/lib* /usr/lib64/ [root@arm ~]# mv -f /usr/lib64/libstdc++.so.6 /usr/lib64/libstdc++.so.6.old [root@arm ~]# ln -s /usr/lib64/libstdc++.so.6.0.24 /usr/lib64/libstdc++.so.6 3. 添加Mongo环境变量 [root@ecs-arm ~]# vi /etc/profile export MONGO_HOME=/usr/local/mongo export PATH=$PATH:$MONGO_HOME #环境变量生效 [root@ecs-arm ~]# source /etc/profile #验证环境变量 [root@ecs-arm ~]# echo $PATH 4. 初始化启动MongoDB #执行前请确保/data/db存在或者使用—dbpath指定位置 [root@ecs-arm ~]# mkdir -p /data/db [root@ecs-arm ~]# mongod --dbpath /data/db [root@ecs-arm ~]# mongo > use mongodatabase switched to db mongodatabase > show dbs admin 0.000GB config 0.000GB local 0.000GB

打开指导

https://bbs.huaweicloud.com/forum/thread-21048-1-1.html

论坛链接

10 keepalived 1.4.2 CentOS7.5

1.下载解压 wget https://obs-mirror-ftp4.obs.cn-north-4.myhuaweicloud.com:443/middleware/keepalived-1.4.2.tar.gz tar -zxvf keepalived-1.4.2.tar.gz 2.安装相关依赖 yum install -y openssl openssl-devel 3.配置keepalived cd keepalived-1.4.2 ./configure make make install 4.修改配置文件 vim /usr/local/etc/sysconfig/keepalived 注释掉 #KEEPALIVED_OPTIONS=-D 新增 KEEPALIVED_OPTIONS=”-f /usr/local/etc/keepalived/keepalived.conf -D -S 0” 5.启动服务 systemctl daemon-reload systemctl restart keepalived

打开指导

https://bbs.huaweicloud.com/forum/thread-20581-1-1.html

论坛链接

11 RabbitMQ 3.7.4 CentOS7.5

1.安装依赖软件 yum install socat 2.下载安装erlang20.1.7 wget https://obs-mirror-ftp4.obs.cn-north-4.myhuaweicloud.com:443/middleware/erlang-20.1.7.1-1.el7.centos.a.aarch64.rpm rpm -ivh erlang-20.1.7.1-1.el7.centos.a.aarch64.rpm 3.下载安装RabbitMQ3.7.4 wget https://obs-mirror-ftp4.obs.cn-north-4.myhuaweicloud.com:443/middleware/rabbitmq-server-3.7.4-1.el7.noarch.rpm rpm -ivh rabbitmq-server-3.7.4-1.el7.noarch.rpm 4.测试 设置RabbitMQ服务: systemctl enable rabbitmq-server #设置服务自动启动 systemctl start rabbitmq-server #启动rabbitmq服务 rabbitmq-plugins enable rabbitmq_management #启用RabbitMQ的管理插件 rabbitmqctl add_user admin admin #设置用户名和密码 rabbitmqctl set_user_tags admin administrator #设置用户角色 rabbitmqctl set_permissions -p / admin ".*" ".*" ".*" #为admin分配权限 systemctl restart rabbitmq-server #重启rabbitmq服务 访问http://ip:15672,输入admin,admin,可以看到图形操作界面

打开指导

https://bbs.huaweicloud.com/forum/thread-19145-1-1.html

论坛链接

12 go 1.8.5 CentOS7.5

1.下载解压文件 wget https://obs-mirror-ftp4.obs.cn-north-4.myhuaweicloud.com:443/go1.8.5.linux-arm64.tar.gz tar -C /opt –xzf go1.8.5.linux-arm64.tar.gz 2.配置环境变量 vim /etc/profile 在文件最后加入 export GOROOT=/opt/go export PATH=$PATH:$GOROOT/bin 使环境变量生效 source /etc/profile 3.查看版本信息 go version

打开指导

https://bbs.huaweicloud.com/forum/thread-18977-1-1.html

论坛链接

13 Java 1.8.0 CentOS7.5

1.可直接通过yum安装: yum install java-1.8.0-openjdk java-1.8.0-openjdk-devel -y 2.下载OpenJDK wget https://obs-mirror-ftp4.obs.cn-north-4.myhuaweicloud.com/systemreliable/OpenJDK8U-jdk_aarch64_linux_hotspot_8u191b12.tar.gz 解压安装包: tar -zxvf OpenJDK8U-jdk_aarch64_linux_hotspot_8u191b12.tar.gz 创建指定文件夹: mkdir -p /opt/tools/installed 将JDK移动到相应位置: mv jdk8u191-b12 /opt/tools/installed/ 配置环境变量 vim /etc/profile 在文件末尾加上: JAVA_HOME=/opt/tools/installed/jdk8u191-b12 PATH=$MAVEN_HOME/bin:$JAVA_HOME/bin:$PATH 使环境变量生效: source /etc/profile 测试: 输入java -version 查看结果

打开指导

https://bbs.huaweicloud.com/forum/thread-51952-1-1.html

论坛链接

14 redis 4.0.3 CentOS7.5

-------------------------------------------------------------redis---------------------------------------------------------- redis: 下载地址:https://obs-mirror-ftp4.obs.cn-north-4.myhuaweicloud.com:443/database/redis-4.0.3-aarch64.tar.gz 安装前提:提前安装配置好了jemalloc组件。 配置redis: 下载依赖组件: yum install -y jemalloc jemalloc-devel 1、进入到配置目录,本文以root目录为例 cd /root 2、下载安装包 wget https://obs-mirror-ftp4.obs.cn-north-4.myhuaweicloud.com:443/database/redis-4.0.3-aarch64.tar.gz 3、解压安装包 tar -xvf redis-4.0.3-aarch64.tar.gz 4、进入到解压后的目录 cd redis-4.0.3 make 5、修改redis.conf 配置文件 (选配) vi redis.conf 6、修改环境变量 增加redis配置 vim /root/.bash_profile #在文件最后增加redis配置,其他保持不变 ---------------------.bash_profile ------------------- # redis env export REDIS_HOME=/root/redis-4.0.3 export PATH=$REDIS_HOME/bin:$PATH --------------------------------------------------- source /root/.bash_profile 7、启动和验证 cd /root/redis-4.0.3/bin 启动redis服务端: redis-server redis-server ../redis.conf (可选,指定配置文件启动服务) 客户端连接: redis-cli -h 127.0.0.1 -p 6379

打开指导

https://bbs.huaweicloud.com/forum/thread-18773-1-1.html

论坛链接

15 haproxy 1.8.20 CentOS7.5

-------------------------------------------------------------haproxy---------------------------------------------------------- 下载地址:https://obs-mirror-ftp4.obs.cn-north-4.myhuaweicloud.com:443/middleware/haproxy-1.8.20-aarch64.tar.gz 1、进入到配置目录,本文以root目录为例 cd /root 2、下载安装包 wget https://obs-mirror-ftp4.obs.cn-north-4.myhuaweicloud.com:443/middleware/haproxy-1.8.20-aarch64.tar.gz 3、解压安装包 tar -xvf haproxy-1.8.20-aarch64.tar.gz 4、将安装目录移动到/usr/local/ mv ./haproxy /usr/local 5、创建配置文件目录,Haproxy默认不创建配置文件,需要复制软件包的模板配置文件,并进行编辑,修改haproxy.cfg 配置文件 cd /usr/local/haproxy mkdir conf cp ./examples/option-http_proxy.cfg /usr/local/haproxy/conf/haproxy.cfg 6、修改环境变量(可选) 增加haproxy配置 vim /root/.bash_profile #在文件最后增加haproxy配置,其他保持不变 ---------------------.bash_profile ------------------- # haproxy env export HAPROXY_HOME= /usr/local/haproxy export PATH=$HAPROXY_HOME/sbin:$PATH ---------------------------------------------------- source /root/.bash_profile 7、启动和验证 adduser haproxy vi /etc/passwd ---------------- passwd -------------------------- haproxy:x:1000:1000::/var/lib/haproxy:/sbin/nologin # make user cannot login ---------------- passwd -------------------------- 启动haproxy服务: /usr/local/haproxy/sbin/haproxy -f /usr/local/haproxy/conf/haproxy.cfg 访问: http://ip_adress:1080/stats

打开指导

https://bbs.huaweicloud.com/forum/thread-18780-1-1.html

论坛链接

安装指导

下载地址为: