-
Notifications
You must be signed in to change notification settings - Fork 0
Course Errata and Notes
Ricky Ng-Adam edited this page Aug 25, 2016
·
8 revisions
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
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
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)
Most useful here seems to be:
service --status-all
- /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
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.