Lecture 6 --------- * notes * openstack * kernel building How to setup from stock 16.04 server ------------------------------------ apt-get install build-essential kernel-package libssl-dev apt-get install emacs-nox libncurses5-dev linux-source maybe apt-get install openssh-server (to allow remote access) to become root sudo su - to add an account adduser to give that acount access similar to ubuntu (as root) shadowconfig off emacs /etc/group - add your name to the groups that have ubuntu shadowconfig on to enable remote logins with passwords (not just keys) emacs /etc/ssh/sshd_config change PasswordAuthentication to yes (from no) service sshd restart To reboot a VM shutdown -r now To configure a linux kernel make menuconfig <== to set options with an interface make localmodconfig <== to create a configuration based on modules loaded make oldconfig <== to use a previously generated .config DON'T RECONFIGURE THE KERNEL ON THE VMs UNLESS YOU WANT TO BUILD FROM SCRATCH To build a configured kernel from source make make modules To install a built kernel sudo make install sudo make modules_install update-grub Reboot to run the new kernel