TWiki
>
CF Web
>
STServiceStudentLabSofteng
(2022-10-26,
DanielAllen
)
(raw view)
E
dit
A
ttach
Roughly ordered Steps to setup a system: * Install an LTS Ubuntu using a standard ISO and then update the Apt Repository Sources using instructions at https://cs.uwaterloo.ca/cscf/infrastructure/setups/ubuntu/UW-CS-Server/ * Install the following meta-packages (*make sure to run an =apt-get update= and =apt-get upgrade= first!*): <verbatim> apt-get install -y uwcs-auth uwcs-bare-metal uwcs-shells uwcs-workstation </verbatim> * Update https://cs.uwaterloo.ca/cscf/internal/inventory/web/inventory/ and infoblox with *Hardware MAC address, desired IP, Hostname* and location details so that DHCP will pick station up properly. * Make sure =/etc/network/interfaces= contains : <verbatim> # The primary network interface auto eth1 iface eth1 inet dhcp </verbatim> * REMOVE and make sure "Network Manager" is not installed and running using following command <verbatim> sudo apt-get purge network-manager; ifup -a </verbatim> * Make sure =/etc/resolv.conf= contains the following (correct the search fields as needed for a domain) by modifying =/etc/resolvconf/resolv.conf.d/base=: <verbatim> search cs.uwaterloo.ca nameserver 172.19.32.5 nameserver 172.19.32.6 nameserver 172.19.47.6 options rotate attempts:1 timeout:1 </verbatim> * Execute the following command to create mount points for =student.cs= home directories : <verbatim> sudo mkdir -p /org/cs /u /u0 /u1 /u2 /u3 /u4 /u5 /u6 /u7 /u8 /u9 /u.truncated </verbatim> * Add following /etc/fstab : <verbatim> fs-homedirs.student.cs.uwaterloo.ca:/nethome/cs-quota /org/cs nfs sec=krb5,tcp,nodiratime,rsize=32768,wsize=32768,vers=3,nolock,noauto /org/cs/u /u none bind,noauto /org/cs/u0 /u0 none bind,noauto /org/cs/u1 /u1 none bind,noauto /org/cs/u2 /u2 none bind,noauto /org/cs/u3 /u3 none bind,noauto /org/cs/u4 /u4 none bind,noauto /org/cs/u5 /u5 none bind,noauto /org/cs/u6 /u6 none bind,noauto /org/cs/u7 /u7 none bind,noauto /org/cs/u8 /u8 none bind,noauto /org/cs/u9 /u9 none bind,noauto /org/cs/u.truncated /u.truncated none bind,noauto </verbatim> * Also, a note by ctucker for Ubuntu 14.04 systems : <verbatim> This is done however there is a persistent race condition in the Ubuntu 1404 operating system which is causing attempts to mount the NFS shares in /etc/fstab prior to the network service being ready. To overcome this problem I have inserted the following lines into the /etc/rc.local file to ensure the NFS mount is performed again at the end of the boot process. These lines must precede the exit 0 at the end of the rc.local file. sleep 10 mount /org/cs sleep 2 mount /u mount /u0 mount /u1 mount /u2 mount /u3 mount /u4 mount /u5 mount /u6 mount /u7 mount /u8 mount /u9 mount /u.truncated </verbatim> * Patch =/etc/lightdm/lightdm.conf= to consist of the below and then =sudo service lightdm restart=: <verbatim> [SeatDefaults] greeter-session=unity-greeter user-session=ubuntu greeter-show-manual-login=true greeter-hide-users=true allow-guest=false </verbatim> * Physically install system in lab and make sure networking works. * Contact infrastructure group to configure AD. * If the host is a server accessed from =linux.student.cs=, then update =ssh= config on =linux.student.cs= using =ssh-keygen -f "/etc/ssh/ssh_known_hosts2" -R IP_ADDRESS=. -- Main.OmNafees - 2014-05-22
E
dit
|
A
ttach
|
Watch
|
P
rint version
|
H
istory
: r19
<
r18
<
r17
<
r16
<
r15
|
B
acklinks
|
V
iew topic
|
WYSIWYG
|
M
ore topic actions
Topic revision: r19 - 2022-10-26
-
DanielAllen
CF
Information in this area is meant for use by CSCF staff and is not official documentation, but anybody who is interested is welcome to use it if they find it useful.
CF Web
CF Web Home
Changes
Index
Search
Administration
Communication
Email
Hardware
HelpDeskGuide
Infrastructure
InternalProjects
Linux
MachineNotes
Macintosh
Management
Networking
Printing
Research
Security
Software
Solaris
StaffStuff
TaskGroups
TermGoals
Teaching
UserSupport
Vendors
Windows
XHier
Other Webs
CSEveryBody
Main
Sandbox
TWiki
UW
My links
People
CERAS
WatForm
Tetherless lab
Ubuntu Main.HowTo
eDocs
RGG NE notes
RGG
CS infrastructure
Grad images
Edit
Copyright © 2008-2025 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki?
Send feedback