10_ custom yum repository, source code compiler installation

1. Custom yum warehouse

at 1.1 source repository: / the root / Tools / OTHER
.] The createrepo #
] # LS
NTFS-3G-2014.2.15-6.el6.x86_64.rpm
the repodata

1.2 writes
] # vim / etc / yum .repos.d / ceph.repo
[myrpm]
name = OTHER
BaseURL = File: /// the root / Tools / OTHER
Enabled. 1 =
gpgcheck = 0

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

2. source compiler installation inotifywait inotifywatch

2.1 source directory: /root/tools/inotify-tools-3.13
] # ./configure --prefix = / opt / myrpm
] the make install # the make &&

2.2 to view the generated files
] LS # / opt / myrpm /
bin lib Share the include

2.3 to view program generates
] LS # / opt / myrpm / bin /
the inotifywait inotifywatch

Guess you like

Origin www.cnblogs.com/luwei0915/p/12131067.html