The following example uses /var/www/html/repository
as the location of the primary package repository.
Presumably there are sufficient privileges to create this new directory:
gpg --init primary /var/www/html/repository pgpkeys.txt
pgpkeys.txt
is the output file from
gpg --export --armor.
The directory /var/www/html/repository
is presumably published by a web server as
http://www.example.com/repository
.
A relatively modern HTTP 1.1 server, such as the current
version of Apache, gives
the best results.