7
7

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

独自RPM Repositoryを作成するのが簡単すぎた件

Last updated at Posted at 2013-11-12
$ sudo yum -y install createrepo
$ createrepo -v .
1/7 - facter-1.7.3-1.el5.x86_64.rpm
2/7 - ruby-shadow-1.4.1-8.el5.x86_64.rpm
3/7 - augeas-libs-0.10.0-4.el5.x86_64.rpm
4/7 - ruby-1.8.7.374-1.el5.x86_64.rpm
5/7 - ruby-libs-1.8.7.374-1.el5.x86_64.rpm
6/7 - puppet-2.6.14-1.el5.noarch.rpm
7/7 - ruby-augeas-0.4.1-2.el5.x86_64.rpm

Saving Primary metadata
Saving file lists metadata
Saving other metadata
$ find .
.
./repodata
./repodata/other.xml.gz
./repodata/filelists.xml.gz
./repodata/repomd.xml
./repodata/primary.xml.gz
./facter-1.7.3-1.el5.x86_64.rpm
./ruby-shadow-1.4.1-8.el5.x86_64.rpm
./augeas-libs-0.10.0-4.el5.x86_64.rpm
./ruby-1.8.7.374-1.el5.x86_64.rpm
./ruby-libs-1.8.7.374-1.el5.x86_64.rpm
./puppet-2.6.14-1.el5.noarch.rpm
./ruby-augeas-0.4.1-2.el5.x86_64.rpm

あとはこのディレクトリをWebに公開すればよい。

rpmの追加を繰り返すとyum search パッケージ名で引っかからない場合がある。その時は、

$ sudo yum clean all
$ sudo yum search パッケージ名

をすればよい。

7
7
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
7
7

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?