ReferencePlatforms/repoman1

From MozillaWiki
Jump to: navigation, search

Repoman 1

Start by asking for RHEL 6.0 to be installed on machine and be networked. Make sure that this machine is registered on RHN so that the needed packages can be installed.

Packages

Install the following packages:

yum install createrepo rsync make 

User Account

Create a user account for the user that will create the repo

useradd fedora
passwd fedora #used current root password

Generate SSH Key

Create an empty passphrase key to use for uploading to stage

su - fedora
mkdir .ssh
chmod 700 .ssh
cd .ssh
ssh-keygen -t dsa -f fedorarepo-dsa -N ""
# add any pubkeys needed now to ~/.ssh/authorized_keys
chmod 600 *

Install Scripts

<tbd>