How to Install a Desktop on Cluster 2: Difference between revisions
(Created page based on "HOW TO INSTALL A DESKTOP CLUSTER 2" from Lab Manual) |
No edit summary |
||
Line 24: | Line 24: | ||
You should see the cert get signed | You should see the cert get signed | ||
If you add a repo or something to the machine in foreman it will update automatically (eventually) but if you need it done right away, on the desktop type puppet agent -t | If you add a repo or something to the machine in foreman it will update automatically (eventually) but if you need it done right away, on the desktop type puppet agent -t | ||
Important Note: | |||
The desktop.sh script has a deprecated path regarding the repodata. The script causes the scl.repo to have a PYCURL error because of its path. To fix it, go to /etc/yum.repos.d/scl.repo with vim and change the baseurl line to: | |||
baseurl=http://yum/centos/6/sclo/$basearch/sclo/ | |||
[[Category:Sysadmin]] | [[Category:Sysadmin]] | ||
[[Category:Tutorials]] | [[Category:Tutorials]] |
Revision as of 22:08, 22 November 2016
Installation
Install centos Check and see if there is an eth listed
ls /etc/sysconfig/network-scripts/
If none exists:
ifconfig >> /etc/sysconfig/network-scripts/ifcfg-eth0 vim /etc/sysconfig/network-scripts/ifcfg-eth0
Delete everything except the mac address Have the following lines:
HWADDR=”XXX” BOOTPROTO=”dhcp” ONBOOT=”yes” NM_CONTROLLED=”yes” DEVICE=”eth0” TYPE=”ethernet” wget http://yum.ucsf.bkslab.org/SETUP/desktop.sh sh desktop.sh
Once it’s done, DON’T HIT ENTER Enter the information into foreman (new machine, etc) Then click on Infrastructure -> Smart Proxies Then click on certificates -> autosign entries -> new Enter in the host (ie mia.desktop.ucsf.bkslab.org) Then on the desktop hit enter You should see the cert get signed If you add a repo or something to the machine in foreman it will update automatically (eventually) but if you need it done right away, on the desktop type puppet agent -t
Important Note:
The desktop.sh script has a deprecated path regarding the repodata. The script causes the scl.repo to have a PYCURL error because of its path. To fix it, go to /etc/yum.repos.d/scl.repo with vim and change the baseurl line to:
baseurl=http://yum/centos/6/sclo/$basearch/sclo/