zoukankan      html  css  js  c++  java
  • CentOS7下解决yum install mysql-server没有可用包

    1. # wget http://repo.mysql.com/mysql-community-release-el7-5.noarch.rpm  


    --  http://repo.mysql.com/mysql-community-release-el7-5.noarch.rpm

    正在解析主机 repo.mysql.com (repo.mysql.com)... 23.4.241.142
    正在连接 repo.mysql.com (repo.mysql.com)|23.4.241.142|:80... 已连接。
    已发出 HTTP 请求,正在等待回应... 200 OK
    长度:6140 (6.0K) [application/x-redhat-package-manager]
    正在保存至: “mysql-community-release-el7-5.noarch.rpm”
    100%[======================================>] 6,140       --.-K/s 用时 0s      

    (467 MB/s) - 已保存 “mysql-community-release-el7-5.noarch.rpm” [6140/6140])

    [plain] view plaincopy在CODE上查看代码片派生到我的代码片
     
    1. # ls  

    mysql-community-release-el7-5.noarch.rpm

    [plain] view plaincopy在CODE上查看代码片派生到我的代码片
     
    1. # rpm -ivh mysql-community-release-el7-5.noarch.rpm  

    准备中...                          ################################# [100%]
    正在升级/安装...

    1:mysql-community-release-el7-5    ################################# [100%]

    [plain] view plaincopy在CODE上查看代码片派生到我的代码片
     
    1. # ls -1 /etc/yum.repos.d/mysql-community*  

    /etc/yum.repos.d/mysql-community.repo

    /etc/yum.repos.d/mysql-community-source.repo

    [plain] view plaincopy在CODE上查看代码片派生到我的代码片
     
      1. # yum install mysql-server  
  • 相关阅读:
    使用pipenv管理虚拟环境
    使用cookiecutter创建django项目
    Django中ModelViewSet的应用
    Redis添加历史浏览记录
    Django中配置用Redis做缓存和session
    点击即复制
    PostGreSQL数据库安装配置说明
    IntelliJ IDEA 2017.1.4 x64配置说明
    Struts2之2.5.10.1HelloWorld
    Apache Shiro系列(1)
  • 原文地址:https://www.cnblogs.com/jtlgb/p/5715520.html
Copyright © 2011-2022 走看看