User Tools

Site Tools


spacewalk_centos6

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
spacewalk_centos6 [2015/03/05 09:54] herwarthspacewalk_centos6 [2015/03/05 10:05] (current) herwarth
Line 1: Line 1:
-======Spacewalk server with own default organization======+======Spacewalk server with own default organization on CentOS 6======
 =====Installation===== =====Installation=====
 ====Repositories==== ====Repositories====
Line 70: Line 70:
   vi /usr/share/spacewalk/setup/spacewalk-public.cert   vi /usr/share/spacewalk/setup/spacewalk-public.cert
  
-spacewalk-setup --disconnected+====First setup run==== 
 +  spacewalk-setup --disconnected 
 +You will get the following error: 
 +<code>
 . .
 . .
 There was a problem activating the satellite: Could not parse certificate file. There was a problem activating the satellite: Could not parse certificate file.
-#+</code>  
  
-gpg --list-keys+====Create a new certificate signed by our own key==== 
 +  gpg --list-keys 
 +<code>
 /root/.gnupg/pubring.gpg /root/.gnupg/pubring.gpg
 ------------------------ ------------------------
Line 85: Line 90:
 pub   1024D/F24F1B08 2002-04-23 [expired: 2004-04-22] pub   1024D/F24F1B08 2002-04-23 [expired: 2004-04-22]
 uid                  Red Hat, Inc (Red Hat Network) <rhn-feedback@redhat.com> uid                  Red Hat, Inc (Red Hat Network) <rhn-feedback@redhat.com>
 +</code>
  
-#+Download the magic script {{:gen-oss-sat-cert.pl.gz|}}. Unpack it.
  
-./gen-oss-sat-cert.pl --signer B06EB1AF --resign /usr/share/spacewalk/setup/spacewalk-public.cert+  ./gen-oss-sat-cert.pl --signer B06EB1AF --resign /usr/share/spacewalk/setup/spacewalk-public.cert
  
-spacewalk-setup --disconnected --skip-db-install+====Second setup run==== 
 +  spacewalk-setup --disconnected --skip-db-install
  
-# vi /etc/pam.d/rhn-satellite+====PAM authentication==== 
 +<code - /etc/pam.d/rhn-satellite>
 #%PAM-1.0 #%PAM-1.0
 auth required /lib64/security/pam_env.so auth required /lib64/security/pam_env.so
Line 98: Line 106:
 auth required /lib64/security/pam_deny.so auth required /lib64/security/pam_deny.so
 account required /lib64/security/pam_ldap.so no_user_check account required /lib64/security/pam_ldap.so no_user_check
- +</code> 
-# vi /etc/rhn/rhn.conf+<code - /etc/rhn/rhn.conf>
 pam_auth_service = rhn-satellite pam_auth_service = rhn-satellite
 +</code>
  
-cobbler get-loaders +====Cobbler/TFTP==== 
-cd /var/lib/cobbler/loaders +  cobbler get-loaders 
-cp * /var/lib/tftpboot/ +  cd /var/lib/cobbler/loaders 
- +  cp * /var/lib/tftpboot/
-done!+
  
  
spacewalk_centos6.1425549249.txt.gz · Last modified: by herwarth