Thursday, January 5, 2012

Creating own repository

I am interested in creating an own repository.

On the web-server i need in the simplest way 3 files:

Packages.gz
Release
Release.gpg

Create a directory, and store the .deb file there.
Then i run apt-ftparchive:
apt-ftparchive packages . > Packages

and compress it with gzip:
gzip -9 Packages

Then creating release file with:
apt-ftparchive release . > Release

Now i sign the Release file with gpg:
gpg -u mail@domain.com --output Release.gpg -ba Release

The three files i store at a webserver and now i can add this line to:
deb http://yourserver.de ./


German tutorial is here: http://bit.ly/ACUJR5

No comments:

Post a Comment