zoukankan      html  css  js  c++  java
  • centos 安装LAMP环境后装phpmyadmin

    首先在CentOS 上安装EPEL

    要想安装EPEL,我们先要下载EPEL的rpm安装包。

    1. 确认你的CentOS 的版本

    首先通过以下命令确认你的CentOS 版本

    $ cat /etc/RedHat-release 
    CentOS release 6.6 
    

    2. 下载EPEL 的rpm 安装包

    现在从上面的地址下载CentOS 版本所对应的EPEL 的版本

    $ wget http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm
    

    3. 安装EPEL

    通过以下命令安装EPEL 软件包

    $ sudo rpm -ivh epel-release-6-8.noarch.rpm

    5. 检查EPEL 源

    安装好EPEL 源后,用yum 命令来检查是否添加到源列表

    # yum repolist
    Loaded plugins: fastestmirror
    Loading mirror speeds from cached hostfile
     * base: mirrors.vonline.vn
     * epel: buaya.klas.or.id
     * extras: centos-hn.viettelidc.com.vn
     * updates: mirrors.fibo.vn
    repo id        repo name                                              status
    base           CentOS-6 - Base                                         6,381
    epel           Extra Packages for Enterprise Linux 6 - x86_64         10,023
    extras         CentOS-6 - Extras                                          13
    nginx          nginx repo                                                 47
    updates        CentOS-6 - Updates                                      1,555
    repolist: 18,019
    

    EPEL已经在repo 后列出,并且显示提供了上万个软件包,所以EPEL 已经安装到你的CentOS了。

    EPEL源的配置安装到了 /etc/yum.repos.d/epel.repo 文件。

    6. 安装phpmyadmin

    现在来试一下从EPEL 获取软件包

    $ sudo yum install phpmyadmin

    每天一小步,人生一大步!Good luck~
  • 相关阅读:
    VS工作目录,输出目录
    Google的C++开源代码项
    C++文件读写
    深拷贝浅拷贝
    Efficient Graph-Based Image Segmentation
    Graph Cut 简介
    Graph Cut
    "GrabCut" - Interactive Foreground Extraction using Iter
    EM算法
    Python图像处理库(2)
  • 原文地址:https://www.cnblogs.com/jkmiao/p/4710426.html
Copyright © 2011-2022 走看看