zoukankan      html  css  js  c++  java
  • 十四.自定义yum仓库、源码编译安装

    pc7:192.168.4.7

    1.自定义yum仓库
    1.1 源码仓库下:/root/tools/other
    ]# createrepo .
    ]# ls
    ntfs-3g-2014.2.15-6.el6.x86_64.rpm
    repodata
    1.2 写入
    ]# vim /etc/yum.repos.d/ceph.repo
    [myrpm]
    name=other
    baseurl=file:///root/tools/other
    enabled=1
    gpgcheck=0

    ######################

    2.源码编译安装 inotifywait inotifywatch
    2.1 源码 目录下:/root/tools/inotify-tools-3.13
    ]# ./configure --prefix=/opt/myrpm
    ]# make && make install
    2.2 查看生成的文件
    ]# ls /opt/myrpm/
    bin include lib share
    2.3 查看生成的程序
    ]# ls /opt/myrpm/bin/
    inotifywait inotifywatch

  • 相关阅读:
    Android开发环境
    安卓学习
    Shuffle'm Up POJ
    Duizi and Shunzi HDU
    Find a path HDU
    Cyclic Nacklace HDU
    Keywords Search HDU
    HDU 1495 非常可乐
    J
    Fire Game FZU
  • 原文地址:https://www.cnblogs.com/luwei0915/p/10482067.html
Copyright © 2011-2022 走看看