云计算百科
云计算领域专业知识百科平台

在基于Arm架构的华为鲲鹏服务器上,针对openEuler 20.03 LTS操作系统, 安装Ansible 和MySQL

目录

安装mysql 

安装ansible


在基于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)
    未经允许不得转载:网硕互联帮助中心 » 在基于Arm架构的华为鲲鹏服务器上,针对openEuler 20.03 LTS操作系统, 安装Ansible 和MySQL
    分享到: 更多 (0)

    评论 抢沙发

    评论前必须登录!