在基于Arm架构的华为鲲鹏服务器上,针对openEuler 20.03 LTS操作系统, 安装Ansible 和MySQL
vim /etc/yum.repos.d/mysql-community.repo(把gpgcheck全部改为0)
目录
在基于Arm架构的华为鲲鹏服务器上,针对openEuler 20.03 LTS操作系统, 安装Ansible 和MySQL
arm架构上面安装一些基础的软件需要特殊的yum源 我正好需要在鲲鹏服务器上安装配置MySQL和ansible两个源,所以做个分享。
-
安装mysql
【mysql】
yum install -y wget vim
wget https://dev.mysql.com/get/mysql80-community-release-el8-1.noarch.rpm
rpm -ivh mysql80-community-release-el8-1.noarch.rpm
vim /etc/yum.repos.d/mysql-community.repo (把gpgcheck全部改为0)
yum clean all
yum makecache
yum install -y mysql-server
systemctl start mysqld
mysql -u root -p进入数据库做下一步配置
安装ansible
【ansible】
yum install --skip-broken epel-release
cd /etc/yum.repos.d/
vim openEuler.repo
[everything]
name=everything
baseurl=http://repo.openeuler.org/openEuler-20.03-LTS-SP4/everything/aarch64/
enabled=1
gpgcheck=0
gpgkey=http://repo.openeuler.org/openEuler-20.03-LTS-SP4/everything/aarch64/RPM-GPG-KEY-openEuler
[EPOL]
name=epol
baseurl=http://repo.openeuler.org/openEuler-20.03-LTS-SP4/EPOL/main/aarch64/
enabled=1
gpgcheck=0
[update]
name=update
baseurl=http://repo.openeuler.org/openEuler-20.03-LTS-SP4/update/aarch64/
enabled=1
gpgcheck=0
把所有的gpgcheck都改为0
yum clean all
yum makecache
yum install ansible
ansible --version
鲲鹏昇腾开发者社区是面向全社会开放的“联接全球计算开发者,聚合华为+生态”的社区,内容涵盖鲲鹏、昇腾资源,帮助开发者快速获取所需的知识、经验、软件、工具、算力,支撑开发者易学、好用、成功,成为核心开发者。
更多推荐


所有评论(0)