You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

20 May 2019

This page attempts to capture the process of installling ubuntu on a SLAC desktop machine.

News

6/14/2019 - the 'old' comet (rhel6-64) is replaced with ubuntu 18.04.2

References relating to the building and configuration of a Ubuntu desktop machine at SLAC.

https://confluence.slac.stanford.edu/display/SUITOCIO/Ubuntu+Desktop+How-To (protected, but here's a snapshot)
https://confluence.slac.stanford.edu/pages/viewpage.action?pageId=223229364
https://confluence.slac.stanford.edu/display/SCSPub/Installing+YFS+on+Ubuntu+Desktop
https://confluence.slac.stanford.edu/display/SCSPub/Ubuntu+System+Administration

Downloading ubuntu and creating a bootable dvd

These instructions assume one is running on an existing rhel6-64 machine.

  1. At https://ubuntu.com, select "Ubuntu Desktop" LTS (Long-term support) which is currently v18.04.2
  2. Download.  The file should be ubuntu-18.04.2-desktop-amd64.iso and is about 1.9 GB in size
  3. Insert a fresh DVD (4.7 GB) into the drive
  4. $ cdrecord -v -dev='/dev/scd0' ubuntu-18.04.2-desktop-amd64.iso
    If you are uncertain as to the proper device name, you may use the command "cdrecord --devices" to find out.

 

Install ubuntu

  1. Boot from installation disc created above
  2. Select "Normal Install" (rather than "Minimal")
  3. Follow your nose...
  4. At some point, the installation script will assess the contents of your system disk.  There are several choices: automatic install (empty disk or overwrite anything that is already there); install along side whatever is already there; create your own partitions.  Select this last option.
  5. Now you will see a list of all the hard drives on the computer (typically only one).  Select "New Partition Table", and then manually add partitions from the table below.

    Mount pointSize (GB)Notes
    /boot2 
    /30 
    /home30 
    swap24(I selected 3x RAM, but need not be this large)
    /opt40 
    /tmp10 
    /var10 
    /scswork10 
    /usr/vice/cache5 
    /scratchall remaining 
  6. Define your local account.  NOTE: this should NOT be the same as your SLAC unix account userid.

  7. Allow the installation to proceed.  (~10 min)
  8. Reboot, remove the installation dvd, and log in!
  9. One of the first items will be the OS will want to download and install a hefty number of updates.  (~10 min)
  10. Begin the process of installing various packages (see next section)

Installed software

In addition to the "Normal Installation" of ubuntu, the following packages have been installed.

PackageProcedureDescription 
curlsudo apt install curlfile transfer command 
go-chefcurl http://yum.slac.stanford.edu/go-chef | sudo /bin/sh

This integrates a freshly installed OS into the SLAC family

Note: if you need to re-install the OS, then one must first "reset" chef with the following

curl yum/ungo-chef | sudo /bin/sh

 
chromehttps://www.google.com/chromeFollow the download instructions for the debian/ubuntu build, which should automatically trigger the "Ubuntu Software" installer 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
  • No labels