How to Install a Desktop on Cluster 2

From DISI
Revision as of 19:02, 30 June 2016 by Benrwong (talk | contribs) (Created page based on "HOW TO INSTALL A DESKTOP CLUSTER 2" from Lab Manual)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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