Skip to content

Course Errata and Notes

Ricky Ng-Adam edited this page Aug 25, 2016 · 8 revisions

Lab 3.1

Getting access to GRUB console at the boot:

  • Change GRUB /etc/default/grub config as follows:
GRUB_DEFAULT=0
GRUB_HIDDEN_TIMEOUT=5
GRUB_HIDDEN_TIMEOUT_QUIET=false
GRUB_TIMEOUT=5
  • Run sudo update-grub
  • Run VirtualBox GUI to get access to the console
  • Reset VM
  • Press shift or ESC to interrupt
  • GRUB menu should be displayed

Chapter 4.1

There was some confusion because typically runlevel 3 is the default, but in Ubuntu apparently this is 2.

Reference: http://www.debianadmin.com/debian-and-ubuntu-linux-run-levels.html

Chapter 4.6

chkconfig does not exist anymore in Ubuntu... install sysv-rc-conf to get equivalent functionality

Reference: http://askubuntu.com/questions/221293/why-is-chkconfig-no-longer-available-in-ubuntu

(Actually explained later in 4.8)

Chapter 4.7.a

Most useful here seems to be:

service --status-all

Chapter 4.14 Lab

  • /etc/sysconfig needs to be replaced by /etc/default
  • . /etc/default/fake_service meaning of the dot is: run this shell script and import the environment variable created in this memory space

Lab 6.1

By default, in a NAT setup of Vagrant machine, cannot ping the virtual machine.

To get around this, create a hostonly IP by editing Vagrantfile and uncommenting:

config.vm.network "private_network", ip: "192.168.33.10"

Execute:

vagrant reload

should now be able to ping 192.168.33.10 and proceed with the lab.

Clone this wiki locally