I’m just in the middle of setting up a new server for testing and thought I would go with Webmin to act as the manager just to make things nice and simple.
Following the guide here as I have done multiple times in the past I came up with an error.
[root@ftp ~]# rpm --import http://www.webmin.com/jcameron-key.asc
error: http://www.webmin.com/jcameron-key.asc: import read failed(0).
I have to admit not having seen this before but did find a work around I thought I would share.
- Open up http://www.webmin.com/jcameron-key.asc in your browser and copy the output
- Login to your server and go to a temp location for me it was /tmp
- Create a new file (I use nano, but use whatever you normally do, pico, vi etc)
$ nano public.gpg.key
and then paste in the key you copied form the browser. Save the file and exit.
- From the CLI then enter
$ rpm --import public.gpg.key
- Voila GPG key installed and you can now use yum to install webmin!