Development Stuff for hardware and software configurations
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

82 lines
1.8 KiB

  1. # cosi build
  2. Installation instructions for the COSI lab build.
  3. ## Install Ubuntu 18.10 server edition
  4. Install the Ubuntu 18.10 server edition. No special MAAS or any other stuff, English language, etc.
  5. ### Networking
  6. Set DHCP on all interfaces. The DHCP server will automaticall hand out very specific IP addresses to the lab machines, based on their MAC address.
  7. ### Disks
  8. When configuring the disks, be sure to use the common smallest denomination so that you don't need to shrink the operating system image when you are cloning the operating system later.
  9. A good size is somewhere between 32GiB and 64GiB. Generally, we do MBR installs since they are relatively easy to maintain.
  10. ### Computer Naming Scheme
  11. Machines are named using the following convention (as required by Kerberos later):
  12. `cosi-xx`
  13. where `xx` is 01-08.
  14. For example, `cosi-01`.
  15. ### Usernames
  16. Use the default `csguest` username with the well-known password.
  17. ## Install Base Packages
  18. Ubuntu tends to puke a bunch of stuff at you when you are booting up, so you're going to want to wait for it to generate SSH keys and all that jazz.
  19. ### Update system
  20. Update the system once it boots up.
  21. ```bash
  22. sudo apt update && sudo apt upgrade
  23. ```
  24. ### Install Graphical User Interface and tools
  25. Install required packages
  26. ```bash
  27. sudo apt install htop vim git
  28. sudo apt install gnome-session gdm3 gnome-terminal
  29. sudo apt install firefox
  30. ```
  31. Configure GDM to start on bootup.
  32. ```bash
  33. #sudo systemctl enable gdm3
  34. sudo systemctl disable NetworkManager
  35. sudo systemctl disable systemd-resolved
  36. sudo systemctl disable swap.img.swap
  37. ```
  38. Other software
  39. ```bash
  40. sudo apt install pavucontrol nautilus
  41. ```
  42. Write out new configs
  43. ```bash
  44. # important, removes symlink to /run
  45. rm /etc/resolv.conf
  46. vim /etc/resolv.conf
  47. ```
  48. ```
  49. nameserver 128.153.145.3
  50. nameserver 8.8.8.8
  51. search cslabs.clarkson.edu
  52. ```