Ubuntu 10: Difference between revisions

From CSLLabWiki
Jump to navigation Jump to search
No edit summary
(Undo revision 612 by Admin (Talk))
 
(28 intermediate revisions by the same user not shown)
Line 1: Line 1:
= Installation =
= Installation =
IMPORTANT NOTE: When booting the computer you are running, make sure to write down the graphics card that is displayed. This will be needed for a later step.


== Installation i386 (32-bit) ==
== Installation i386 (32-bit) ==
Line 19: Line 21:
# !!! It will now attempt to use DHCP.. cancel this or select "Go Back" on the following screen
# !!! It will now attempt to use DHCP.. cancel this or select "Go Back" on the following screen
# Select "Configure network manually"
# Select "Configure network manually"
## Enter the IP address of the workstation. Ex: 10.20.3.15
## Enter the IP address of the workstation. Ex: 10.20.3.15 (If unsure, use NSlookup)
## Enter the Netmask of "255.255.255.0"
## Enter the Netmask of "255.255.255.0"
## Enter the Gateway of "10.20.3.1"
## Enter the Gateway of "10.20.3.1"
Line 46: Line 48:
* Make RAID 0 bootable
* Make RAID 0 bootable
* Check to make sure the small RAID disk is set to swap.
* Check to make sure the small RAID disk is set to swap.
 
* When partitioning, the manager will ask about booting if a RAID becomes degraded. Hit yes.


==For New Systems==
==For New Systems==
Line 72: Line 74:


=== Finish Up ===
=== Finish Up ===
* Select "No configuration" for th email server.
* Do not encrypt Home.
* Select "No configuration" for the mail server.
* Full name for new user: lab
* Full name for new user: lab
* Username for your account: lab
* Username for your account: lab
Line 82: Line 85:
* Select "No Automatic Updates" when prompted about updates.
* Select "No Automatic Updates" when prompted about updates.
* Software to install: Select "OpenSSH server" and select "Continue"
* Software to install: Select "OpenSSH server" and select "Continue"
* The system will finish configuring and ask you to "Continue" before it reboots.
* The system will finish configurlpadmin -d watson ing and ask you to "Continue" before it reboots.


= Configuration =
= Configuration =
Line 100: Line 103:
* userdel lab
* userdel lab
* rm -rf /home/lab
* rm -rf /home/lab
* Add the following to /etc/apt/sources.list:
* 64-bit:
<code><pre>
deb http://babbage.cs.transy.edu/ubuntu-amd64/ lucid main restricted universe multiverse
deb http://babbage.cs.transy.edu/ubuntu-amd64/ lucid-updates main restricted universe multiverse
deb http://babbage.cs.transy.edu/ubuntu-amd64/ lucid-security main restricted universe multiverse
#deb http://babbage.cs.transy.edu/ubuntu-amd64/ lucid-backports main restricted universe multiverse
#deb http://babbage.cs.transy.edu/ubuntu-amd64/ lucid-proposed main restricted universe multiverse
</pre></code>
* apt-get update
* apt-get update
* apt-get upgrade
* apt-get upgrade
Line 183: Line 196:
* mkdir /labdata
* mkdir /labdata
* Edit /etc/fstab
* Edit /etc/fstab
==== Single Disk ====
Add:  
* Replace entire file with:
<code><pre>
<code><pre>
# /etc/fstab: static file system information.
#
# <file system> <mount point>  <type>  <options>      <dump>  <pass>
proc            /proc          proc    defaults        0      0
/dev/sda1      /              ext3    relatime,errors=remount-ro 0      1
/dev/sda5      none            swap    sw              0      0
/dev/scd0      /media/cdrom0  udf,iso9660 user,noauto,exec,utf8 0      0
/dev/fd0        /media/floppy0  auto    rw,user,noauto,exec,utf8 0      0


# NFS Filesystems
# NFS Filesystems
Line 201: Line 205:
</pre></code>
</pre></code>


*exit
*Log-in to Babbage
*Log-in to Babbage
* edit /etc/exports
* edit /etc/exports
* exportfs -a
* exportfs -a
*exit
* exit
* ssh root@IP
* ssh root@IP
*mount -a
==== RAID 1 ====
<code><pre>
# /etc/fstab: static file system information.
#
# <file system> <mount point>  <type>  <options>      <dump>  <pass>
proc            /proc          proc    defaults        0      0
/dev/md0      /              ext3    relatime,errors=remount-ro 0      1
/dev/md1      none            swap    sw              0      0
/dev/scd0      /media/cdrom0  udf,iso9660 user,noauto,exec,utf8 0      0
/dev/fd0        /media/floppy0  auto    rw,user,noauto,exec,utf8 0      0
# NFS Filesystems
10.20.3.8:/data/exportfs/home          /home          nfs    defaults,rw
10.20.3.8:/data/exportfs/classes        /classes        nfs    defaults,rw
10.20.3.8:/data/exportfs/labdata        /labdata        nfs    defaults,rw
</pre></code>
* mount -a
* mount -a
* Ensure the NFS filesystems loaded with "ls /home" "ls /classes" "ls /labdata"
* Ensure the NFS filesystems loaded with "ls /home" "ls /classes" "ls /labdata"
Line 233: Line 217:
* scp 10.20.3.8:/root/keep/jdk* .
* scp 10.20.3.8:/root/keep/jdk* .
<code>
<code>
apt-get install amarok mplayer firefox thunderbird blackbox fluxbox gimp blender vim emacs xemacs21 nano gedit nedit jedit gcc php5 perl ruby python audacity pidgin gdb xfce4 vlc openoffice.org hpijs cupsys swi-prolog htop screen kdm mutt eclipse libglui-dev libglui2c2 libxi-dev libxmu-dev libglut3-dev libglut3 spim tk make ant xorg k3b kubuntu-desktop ubuntu-desktop mesa-utils nfs-common ffmpeg flashplugin-nonfree mozilla-plugin-vlc alsa-utils lbreakout2 subversion subversion-tools patch libsvn-perl libsvn-ruby python-subversion g++ gcc build-essential libglui-dev libglui2c2 libxi-dev libxmu-dev mysql-client lynx kompozer kompozer-dev lbreakout2
apt-get install amarok mplayer firefox thunderbird blackbox fluxbox gimp blender vim emacs xemacs21 nano gedit nedit jedit gcc php5 perl ruby python audacity pidgin gdb xfce4 vlc openoffice.org hpijs cupsys swi-prolog htop screen kdm mutt eclipse libglui-dev libglui2c2 libxi-dev libxmu-dev libglut3-dev libglut3 spim tk make ant xorg k3b kubuntu-desktop ubuntu-desktop mesa-utils nfs-common ffmpeg flashplugin-nonfree mozilla-plugin-vlc alsa-utils lbreakout2 subversion subversion-tools patch libsvn-perl libsvn-ruby python-subversion g++ gcc build-essential libglui-dev libglui2c2 libxi-dev libxmu-dev mysql-client lynx kompozer kompozer-dev lbreakout2 csh xlockmore mesa-utils dia-common
</code>
</code>


Line 242: Line 226:
=== Install Java ===
=== Install Java ===


* add-apt-repository "deb http://archive.canonical.com/ubuntu lucid partner"
* add-apt-repository ppa:webupd8team/java
* apt-get update
* apt-get update
* apt-get install sun-java6-jre sun-java6-plugin sun-java6-fonts
* apt-get install oracle-java7-installer
 
=== Graphics Drivers ===
WARNING: Instructions for installing the graphics drivers has NOT been tested.
*glxinfo
* Write down graphics card as found from the glxinfo command. It may take some scrolling to find.
==== Nvidia ====
* mkdir /root/video_driver
* cd /root/video_driver
* Download the appropriate installer from [http://www.nvidia.com] (based on GPU and architecture)
** Be sure to place (and keep it in case of kernel upgrade) in /root/video_driver
* /etc/init.d/gdm stop
* chmod +x NVIDIA-Linux-x86-185.18.36-pkg1.run
* ./NVIDIA-Linux-x86-185.18.36-pkg1.run
* Accept the license
* Attempt to download a module, but you will most likely have to have it compile one.
* At the end of installation, allow the installer to run "nvidia-xconfig"
* echo "nvidia" >> /etc/modules
* modprobe nvidia
* /etc/init.d/gdm start
Northbridge (A)
<code><pre>
Which series NVidia driver???
GeForce2 MX 100/200 -> 96 series
GeForce4 MX -> 96 series
GeForce FX -> latest
GeForce 6000/7000/8000 -> latest
</pre></code>
 
==== ATI ====
* mkdir /root/video_driver
* cd /root/video_driver
* wget appropriate binary driver from ATI.com
* apt-get install dpkg-dev debhelper dkms build-essential cdbs fakeroot
* Temporary Workaround: libstc++5 no longer exists in terminal. Instead, go to http://packages.debian.org/stable/base/libstdc++5 and download what you need through the GUI.
* chmod +x ./ati*
* ./ati-driver-installer-8.443.1-x86.x86_64.run --buildpkg Ubuntu/<version>
** You can replace <version> in the above with the codename for the version of Ubuntu you are running (gutsy, hardy, intrepid).
 
* dpkg -i fglrx-kernel-source_<version>.deb
* dpkg -i xorg-driver-fglrx_<version>.deb
 
* aticonfig --initial=dual-head --screen-layout=left
* echo "fglrx" >> /etc/modules
 
* reboot


==== CMUCL (Lisp) ====
==== CMUCL (Lisp) ====
Line 252: Line 281:
* scp 10.20.3.8:/root/keep/cmucl* .
* scp 10.20.3.8:/root/keep/cmucl* .
* dpkg --force-architecture -i ./cmucl*
* dpkg --force-architecture -i ./cmucl*
===== SBCL =====
* Currently, CMUCL isn't compatible. Use SBCL instead.
=== Remove Compiz ===
=== Remove Compiz ===
* apt-get remove --purge compiz compiz-core compiz-fusion-plugins-extra compiz-fusion-plugins-main compiz-gnome compiz-plugins compizconfig-backend-gconf libcompizconfig0 libdecoration0 libx11-xcb1 mesa-utils
* apt-get remove --purge compiz compiz-core compiz-fusion-plugins-extra compiz-fusion-plugins-main compiz-gnome compiz-plugins compizconfig-backend-gconf libcompizconfig0 libdecoration0 libx11-xcb1 mesa-utils
Line 275: Line 309:


* apt-get install hplip libcupsys2-dev cupsys-bsd openssl libjpeg62-dev libsnmp-dev libtool libusb-dev libsane-dev sane-utils  
* apt-get install hplip libcupsys2-dev cupsys-bsd openssl libjpeg62-dev libsnmp-dev libtool libusb-dev libsane-dev sane-utils  
* Log-in ON COMPUTER as root.
* hp-setup -i 10.20.3.6  
* Go to System -> Administration -> Printing
*Print Queue Name: starkweather
* Select "Add"
*Yes
* Network Printer-> HP JetDirect
Location: BSC 106
* Enter S10.20.3.6 and Port 9100
Additional Information: HP Color Laserjet 4500N
* Forward
*Memory: 128 MB - 159 MB
* Name: starkweather
* Human-readable Name: HP Color LaserJet 4500
* Location: BSC 106


==== watson ====
==== watson ====


* scp 10.20.3.8:/root/keep/Lexmark*
* scp 10.20.3.8:/root/keep/Lexmark* .
* lpadmin -p watson -v socket://10.20.3.7:9100 -L "BSC 106" -D "Lexmark T642" -P ./Lexmark-T642-Postscript.ppd -E
* lpadmin -p watson -v socket://10.20.3.7:9100 -L "BSC 106" -D "Lexmark T642" -P ./Lexmark-T642-Postscript.ppd -E
* Set watson as default printer
* Set watson as default printer
Line 338: Line 367:
* update-rc.d -f apache2 remove
* update-rc.d -f apache2 remove
* update-rc.d -f apparmor remove
* update-rc.d -f apparmor remove
* Edit /etc/rc.local - add echo "2147483648" > /proc/sys/kernel/shmmax


=== Remove Shutdown ===
=== Remove Shutdown ===
Line 347: Line 377:
=== Log-in Customization ===
=== Log-in Customization ===


* add-apt-repository ppa:gdm2setup/gdm2setup
* apt-get update
* apt-get install python-gdm2setup
* The log-in screen can then be customized by logging in on the GUI and going to System -> Administrative -> Login.
Alternatively:
* add-apt-repository ppa:tualatrix/ppa
* add-apt-repository ppa:tualatrix/ppa
* apt-get update
* apt-get update
* apt-get install ubuntu-tweak
* apt-get install ubuntu-tweak
* Through the GUI, Applications -> System Tools -> Ubuntu Tweak.
* Once the program opens, Go to Login Settings on the left hand scroll bar.
* Scroll to the bottom of the right window pane and unlock settings, then add picture. Tweak accepts 64x64 pixel PNGs and SVG images.
==Final Step==
* Remember to reboot once you're finished.
* Also remember to do /etc/.random, set up passwordless SSH and set up the old gFortran libraries. Instructions can be found in Babbage at /root/keep and its subdirectories (./FastLab and ./OldFortranLibs)

Latest revision as of 19:24, 17 July 2015

Installation[edit]

IMPORTANT NOTE: When booting the computer you are running, make sure to write down the graphics card that is displayed. This will be needed for a later step.

Installation i386 (32-bit)[edit]

  • Download and burn the latest Ubuntu Server-Edition LTS ISO for i386 (8.04.3 used for these instructions)
  • Boot from CD

Installation x86_64 (64-bit)[edit]

  • Download and burn the latest Ubuntu Server-Edition LTS ISO for x86_64 (amd64) (10.04 used for these instructions)
  • Boot from CD

Installation (both 32 and 64 bit)[edit]

  1. Select "English"
  2. Select "Install Ubuntu Server"
  3. Select "English"
  4. Select "United States"
  5. Detect keyboard layout -> NO
  6. Select "USA"
  7. Select "USA"
  8. !!! It will now attempt to use DHCP.. cancel this or select "Go Back" on the following screen
  9. Select "Configure network manually"
    1. Enter the IP address of the workstation. Ex: 10.20.3.15 (If unsure, use NSlookup)
    2. Enter the Netmask of "255.255.255.0"
    3. Enter the Gateway of "10.20.3.1"
    4. Enter the Nameservers "10.20.70.16 10.20.70.17"
  10. Hostname: Set the FQDN of the machine as the hostname. Ex: clarke.cs.transy.edu
  11. Select "Eastern" time zone

Partitioning (Single Disk)[edit]

  • Select the "Manual" method
  • Use the arrow keys to highlight the disk (usually sda) and press enter
  • Confirm the dialog to create a new empty partition table.
  • Select the "FREE SPACE" and press enter.
  • Create the following partitions:
    • (All of the computer's space except 2 GB), primary, mountpoint: /, use as: ext3, options: bootable
    • 2 GB, logical, use as: swap
  • Select "Finish Partitioning" and write the changes to disk

Partitioning (Software RAID 1)[edit]

For Systems where RAID has been set up[edit]

  • Select the "Manual" method
  • Use the arrow keys to highlight the large RAID disk
  • Change type to Ext3
  • Mount Point is /
  • Format the drive.
  • Make RAID 0 bootable
  • Check to make sure the small RAID disk is set to swap.
  • When partitioning, the manager will ask about booting if a RAID becomes degraded. Hit yes.

For New Systems[edit]

  • Select the "Manual" method
  • Use the arrow keys to highlight each disk and press enter
  • Confirm the dialog to create a new empty partition table on both drives.
  • Select the "FREE SPACE" on each drive and create a (TotalSize - 2gb) primary partition (at the Beginning)
  • Select Use as: Physical volume for RAID
  • Select "Done setting up partition"
  • Select the "FREE SPACE" below the partition you just created
  • Use the remaining space on that first drive for another primary partition (at the Beginning)
  • Select Use as: Physical volume for RAID
  • REPEAT for second drive
  • Select "Configure software RAID" at the top
  • Confirm the changes (which have to be committed before configuring RAID)
  • Select "Create MD Device"
  • Select "RAID1"
  • Number of active devices: 2
  • Number of spare devices: 0
  • Select /dev/sda1 and /dev/sdb1 then continue
  • Create a second MD Device with /dev/sda2 and /dev/sdb2 just as the previous 5 steps
  • Select "Finish"
  • In the partitioner, select the first RAID device and Use as: ext3, Mount point: /
  • Lastly, select the second RAID device and Use as: swap area then select "Finish partitioning and write changes" to disk at the bottom.

Finish Up[edit]

  • Do not encrypt Home.
  • Select "No configuration" for the mail server.
  • Full name for new user: lab
  • Username for your account: lab
  • Password: qazzaq (this user will be deleted later)
  • Verify Password
  • Leave the HTTP proxy box empty and select "Continue"
  • Note: If it freezes "Scanning the mirror" unplug and replug the ethernet cable once.
  • Select "No" when prompted about encryption
  • Select "No Automatic Updates" when prompted about updates.
  • Software to install: Select "OpenSSH server" and select "Continue"
  • The system will finish configurlpadmin -d watson ing and ask you to "Continue" before it reboots.

Configuration[edit]

  • This section is done via SSH as a convenience for installing multiple systems.. but can be done from the keyboard. Note that if the system has been SSHed before the install of the new system, the SSH will report that there is a risk of a man in the middle attack. If this happens:
  • Edit /root/.ssh/known_hosts
  • Delete the line that SSH is complaining about (listed in the error message).


  • ssh lab@ipaddress
  • sudo su -
  • passwd root (set the current root password)
  • exit
  • exit
  • ssh root@ipaddress
  • userdel lab
  • rm -rf /home/lab
  • Add the following to /etc/apt/sources.list:
  • 64-bit:
deb http://babbage.cs.transy.edu/ubuntu-amd64/ lucid main restricted universe multiverse
deb http://babbage.cs.transy.edu/ubuntu-amd64/ lucid-updates main restricted universe multiverse
deb http://babbage.cs.transy.edu/ubuntu-amd64/ lucid-security main restricted universe multiverse

#deb http://babbage.cs.transy.edu/ubuntu-amd64/ lucid-backports main restricted universe multiverse
#deb http://babbage.cs.transy.edu/ubuntu-amd64/ lucid-proposed main restricted universe multiverse
  • apt-get update
  • apt-get upgrade
  • apt-get dist-upgrade

Switch to Generic Kernel[edit]

  • Since the Ubuntu kernels have virtualization built in which is not compatible with nvidia drivers. Even after this is resolved, it is still nice to run the official kernel.org generic sources. Very compatible.
  • ls /boot
  • apt-get install linux-image-generic linux-doc linux-source-2.6.XX (replace XX with the LATEST kernel sub-version output from ls /boot)
  • apt-get remove linux-image-2.6.XX-YY-server --purge (again XX from ls /boot)
  • REBOOT!
  • ssh root@HOST.cs.transy.edu

Configuring LDAP Authentication[edit]

  • First we need to get GDM (the graphical login) and its dependencies installed so..
  • apt-get install gdm
  • apt-get install auth-client-config libpam-ldap libnss-ldap ldap-auth-client ldap-auth-config
    • LDAP server Uniform Resource Identifier: ldap://10.20.3.8
    • Distinguished name of the search base: dc=cs,dc=transy,dc=edu
    • LDAP version to use: 3
    • Make local root Database admin: NO
    • Does the LDAP database require login?: NO
  • Edit /etc/ldap.conf and change the following values:
    • host 10.20.3.8
    • base dc=cs,dc=transy,dc=edu
    • uri ldap://10.20.3.8
    • bind_policy soft
  • Edit /etc/ldap/ldap.conf
    • BASE dc=cs,dc=transy,dc=edu
    • URI ldap://10.20.3.8
  • Edit /etc/auth-client-config/profile.d/transy
[transy]
nss_passwd=passwd: ldap files
nss_group=group: ldap files
nss_shadow=shadow: ldap files
nss_netgroup=netgroup: ldap files
pam_auth=auth       required     pam_env.so
        auth       sufficient   pam_unix.so likeauth nullok
        auth       sufficient   pam_ldap.so use_first_pass
        auth       required     pam_deny.so
pam_account=account    sufficient   pam_unix.so
        account    sufficient   pam_ldap.so
        account    required     pam_deny.so
pam_password=password   sufficient   pam_unix.so nullok md5 shadow use_authtok
        password   sufficient   pam_ldap.so use_first_pass
        password   required     pam_deny.so
pam_session=session    required     pam_limits.so
        session    required     pam_unix.so
        session    optional     pam_ldap.so

  • auth-client-config -a -p transy
  • Add the following line near the very top of /etc/pam.d/gdm AND /etc/pam.d/login
auth    optional        pam_group.so
  • Add the following to the BOTTOM of /etc/security/group.conf:
# This will force all users that logon into these groups
login;*;*;Al0000-2400;cdrom,floppy,plugdev,audio,dip
kdm;*;*;Al0000-2400;cdrom,floppy,plugdev,audio,dip,video
gdm;*;*;Al0000-2400;cdrom,floppy,plugdev,audio,dip,video
  • Test LDAP authentication - if "id USERNAME" returns with info about the user... all is good.
root@clarke:~# id kmoorman
uid=1129(kmoorman) gid=110(faculty) groups=110(faculty),800(camp),2100(linux)

Filesystems[edit]

  • apt-get install nfs-common
  • mkdir /classes
  • mkdir /labdata
  • Edit /etc/fstab

Add:


# NFS Filesystems
10.20.3.8:/data/exportfs/home           /home           nfs     defaults,rw
10.20.3.8:/data/exportfs/classes        /classes        nfs     defaults,rw
10.20.3.8:/data/exportfs/labdata        /labdata        nfs     defaults,rw
  • Log-in to Babbage
  • edit /etc/exports
  • exportfs -a
  • exit
  • ssh root@IP
  • mount -a
  • Ensure the NFS filesystems loaded with "ls /home" "ls /classes" "ls /labdata"

Install Software[edit]

  • scp 10.20.3.8:/root/keep/jdk* .

apt-get install amarok mplayer firefox thunderbird blackbox fluxbox gimp blender vim emacs xemacs21 nano gedit nedit jedit gcc php5 perl ruby python audacity pidgin gdb xfce4 vlc openoffice.org hpijs cupsys swi-prolog htop screen kdm mutt eclipse libglui-dev libglui2c2 libxi-dev libxmu-dev libglut3-dev libglut3 spim tk make ant xorg k3b kubuntu-desktop ubuntu-desktop mesa-utils nfs-common ffmpeg flashplugin-nonfree mozilla-plugin-vlc alsa-utils lbreakout2 subversion subversion-tools patch libsvn-perl libsvn-ruby python-subversion g++ gcc build-essential libglui-dev libglui2c2 libxi-dev libxmu-dev mysql-client lynx kompozer kompozer-dev lbreakout2 csh xlockmore mesa-utils dia-common

  • Dialog from above command:
    • Default display manager: choose "gdm"
    • No configuration.

Install Java[edit]

  • add-apt-repository ppa:webupd8team/java
  • apt-get update
  • apt-get install oracle-java7-installer

Graphics Drivers[edit]

WARNING: Instructions for installing the graphics drivers has NOT been tested.

  • glxinfo
  • Write down graphics card as found from the glxinfo command. It may take some scrolling to find.

Nvidia[edit]

  • mkdir /root/video_driver
  • cd /root/video_driver
  • Download the appropriate installer from [1] (based on GPU and architecture)
    • Be sure to place (and keep it in case of kernel upgrade) in /root/video_driver
  • /etc/init.d/gdm stop
  • chmod +x NVIDIA-Linux-x86-185.18.36-pkg1.run
  • ./NVIDIA-Linux-x86-185.18.36-pkg1.run
  • Accept the license
  • Attempt to download a module, but you will most likely have to have it compile one.
  • At the end of installation, allow the installer to run "nvidia-xconfig"
  • echo "nvidia" >> /etc/modules
  • modprobe nvidia
  • /etc/init.d/gdm start

Northbridge (A)

Which series NVidia driver???
GeForce2 MX 100/200 -> 96 series
GeForce4 MX -> 96 series
GeForce FX -> latest
GeForce 6000/7000/8000 -> latest

ATI[edit]

  • mkdir /root/video_driver
  • cd /root/video_driver
  • wget appropriate binary driver from ATI.com
  • apt-get install dpkg-dev debhelper dkms build-essential cdbs fakeroot
  • Temporary Workaround: libstc++5 no longer exists in terminal. Instead, go to http://packages.debian.org/stable/base/libstdc++5 and download what you need through the GUI.
  • chmod +x ./ati*
  • ./ati-driver-installer-8.443.1-x86.x86_64.run --buildpkg Ubuntu/<version>
    • You can replace <version> in the above with the codename for the version of Ubuntu you are running (gutsy, hardy, intrepid).
  • dpkg -i fglrx-kernel-source_<version>.deb
  • dpkg -i xorg-driver-fglrx_<version>.deb
  • aticonfig --initial=dual-head --screen-layout=left
  • echo "fglrx" >> /etc/modules
  • reboot

CMUCL (Lisp)[edit]

64-bit Arch[edit]
  • apt-get install common-lisp-controller
  • scp 10.20.3.8:/root/keep/cmucl* .
  • dpkg --force-architecture -i ./cmucl*
SBCL[edit]
  • Currently, CMUCL isn't compatible. Use SBCL instead.

Remove Compiz[edit]

  • apt-get remove --purge compiz compiz-core compiz-fusion-plugins-extra compiz-fusion-plugins-main compiz-gnome compiz-plugins compizconfig-backend-gconf libcompizconfig0 libdecoration0 libx11-xcb1 mesa-utils

Printing (CUPS)[edit]

Printer Info:

Name: Starkweather
Host: starkweather.cs.transy.edu
IP: 10.20.3.6
Model: HP Color Laserjet 4500N
Trays: 1

Name: Watson
Host: watson.cs.transy.edu
IP: 10.20.3.7
Model: Lexmark T642 (B&W)
Trays: 1

starkweather[edit]

  • apt-get install hplip libcupsys2-dev cupsys-bsd openssl libjpeg62-dev libsnmp-dev libtool libusb-dev libsane-dev sane-utils
  • hp-setup -i 10.20.3.6
  • Print Queue Name: starkweather
  • Yes

Location: BSC 106 Additional Information: HP Color Laserjet 4500N

watson[edit]

  • scp 10.20.3.8:/root/keep/Lexmark* .
  • lpadmin -p watson -v socket://10.20.3.7:9100 -L "BSC 106" -D "Lexmark T642" -P ./Lexmark-T642-Postscript.ppd -E
  • Set watson as default printer
    • lpadmin -d watson

Hosts[edit]

  • Add these entries to /etc/hosts
    • Be sure to remove the original line in /etc/hosts for that host (no duplicates, please)
# Servers
10.20.3.4       hollerith.cs.transy.edu hollerith
10.20.3.9       kay.cs.transy.edu       kay
10.20.3.8       babbage.cs.transy.edu   babbage

# Workstations
## SGI
10.20.3.3       calvin.cs.transy.edu    calvin
10.20.3.13      holberton.cs.transy.edu holberton
10.20.3.5       sammett.cs.transy.edu   sammett
10.20.3.30      morello.cs.transy.edu   morello
10.20.3.19      hoover.cs.transy.edu    hoover
10.20.3.26      forsythe.cs.transy.edu  forsythe

## Linux
10.20.3.29      bartik.cs.transy.edu    bartik
10.20.3.15      burks.cs.transy.edu     burks
10.20.3.14      clarke.cs.transy.edu    clarke
10.20.3.25      fox.cs.transy.edu       fox
10.20.3.23      garrett.cs.transy.edu   garrett
10.20.3.21      granville.cs.transy.edu granville
10.20.3.11      hopper.cs.transy.edu    hopper
10.20.3.12      lovelace.cs.transy.edu  lovelace
10.20.3.28      winters.cs.transy.edu   winters

## Mac
10.20.3.31      wozniak.cs.transy.edu   wozniak

# Color HP Laser Printer
10.20.3.6       starkweather.cs.transy.edu starkweather

# B&W Lexmark Laser Printer
10.20.3.7       watson.cs.transy.edu watson

At Boot[edit]

  • update-rc.d -f apache2 remove
  • update-rc.d -f apparmor remove
  • Edit /etc/rc.local - add echo "2147483648" > /proc/sys/kernel/shmmax

Remove Shutdown[edit]

  • While logged in as root:
  • mv /sbin/shutdown /sbin/shutoff
  • The computer will now be unable to shut down except for the power button and calling the shutoff file like this:
  • shutoff -h now

Log-in Customization[edit]

  • add-apt-repository ppa:tualatrix/ppa
  • apt-get update
  • apt-get install ubuntu-tweak
  • Through the GUI, Applications -> System Tools -> Ubuntu Tweak.
  • Once the program opens, Go to Login Settings on the left hand scroll bar.
  • Scroll to the bottom of the right window pane and unlock settings, then add picture. Tweak accepts 64x64 pixel PNGs and SVG images.

Final Step[edit]

  • Remember to reboot once you're finished.
  • Also remember to do /etc/.random, set up passwordless SSH and set up the old gFortran libraries. Instructions can be found in Babbage at /root/keep and its subdirectories (./FastLab and ./OldFortranLibs)