September 16th Meeting Notes

Another good meeting.  Clint, started out with short demonstration on Ubuntu 14.04 password recovery and then went through his prepared demonstration on the ins and outs of using VirtualBox starting with installation and configuration tasks. Below is his step-by-step notes that he used for the meeting.
 
Grub Customizer
http://www.enqlu.com/2014/04/how-to-install-grub-customizer-4-0-in-ubuntu-14-04-or-linux-mint-17.htm
sudo add-apt-repository ppa:danielrichter2007/grub-customizer
sudo apt-get update
sudo apt-get install grub-customizer
open GUI grub customizer from Dash
General settings tab
select "show menu"
Click on Save | Close Application
Enable beep on Boot:
sudo vim /etc/default/grub
uncomment line:
#GRUB_INIT_TUNE="480 440 1"
Save updated grub file
sudo update-grub2
reboot.
Use grub menu as follows to change your password:
Select Advanced options for Ubuntu <enter>
Select first (recovery mode) entry in list (current kernel) <enter>
Select root from menu <enter>
drops to root@[machine_name]:~#
type mount -o remount,rw / (mounts volume as read/writeable, necessary!)
passwd <userID>
example: passwd tinslecl
if successful, passwd: password updated successfully.
reboot
login with new password
 
Basic Ubuntu 14.04 Build (Post Installation)   
    1  apt-get update
    2  apt-get upgrade
    3  apt-get dist-upgrade
    6  wget http://archive.getdeb.net/install_deb/getdeb-repository_0.1-1~getdeb1_all.deb http://archive.getdeb.net/install_deb/playdeb_0.3-1~getdeb1_all.deb
    8  dpkg -i getdeb-repository_0.1-1~getdeb1_all.deb
    9  dpkg -i playdeb_0.3-1~getdeb1_all.deb
   10  apt-get update
   11  apt-get upgrade
   12  apt-get dist-upgrade
   14  apt-get install synaptic flashplugin-installer unace unrar zip unzip p7zip-full p7zip-rar sharutils rar uudeview mpack arj cabextract file-roller vim ubuntu-restricted-extras ubuntu-wallpapers* vim-doc vim-scripts
   16  add-apt-repository -y ppa:webupd8team/java
   18  apt-get update
   19  apt-get install openjdk-7-jre oracle-java8-installer
   23  apt-get install default-jre equivs libbonobo2-bin desktop-base libgnomevfs2-bin libgnomevfs2-extra icedtea-7-plugin
   24  apt-get install apparmor-easyprof g++-multilib g++-4.8-multilib gcc-4.8-doc libstdc++6-4.8-dbg libstdc++-4.8-doc libmail-box-perl
   25  wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
   26  dpkg -i google-chrome-stable_current_amd64.deb
 
=======================================================
End of Installation steps
=======================================================
 
Install VirtualBox:
http://www.n00bsonubuntu.net/content/install-virtualbox-ubuntu-14-04
http://ubuntuhandbook.org/index.php/2014/09/virtualbox-4-3-16-released/
Clint's modified set-by-step:: 
Do this first and the additional update will not be needed after adding the deb source: 
wget -q https://www.virtualbox.org/download/oracle_vbox.asc -O- | sudo apt-key add -
Open Settings |  Software & Updates |  Other Software tab
Click on the Add… button
Copy + paste the following line to the APT line box:
deb http://download.virtualbox.org/virtualbox/debian trusty contrib
authenticate as needed
Then Close and Reload
sudo apt-get install virtualbox-4.3 -y
cd Downloads
wget http://download.virtualbox.org/virtualbox/4.3.16/Oracle_VM_VirtualBox_Extension_Pack-4.3.16-95972.vbox-extpack
sudo usermod -aG vboxusers [your_userid]
reboot system
add virtualbox application to dock
open virtualbox appliction
File | Preferences | Extensions
browse to extension pack downloaded above
install and close
 
======================================================
End of VirtualBox Installation
======================================================
 
Demo setup of KDE Installation from DVD (Cancel and delete)
new | kde | 1024 | Create | vdi | Fixed | 12.00 GB |
Fixed disk creation takes a couple of minutes.
Insert Installation media (DVD) while waiting.
Or Maybe you should wait since mounting takes resources...
Click on Start
Browse to media location if necessary, Click on start.
Follow apppropriate steps to install your virtual machine...
(kde demo:  Click Install Kubuntu ... follow the bouncing ball.)
cancel and eject cd.
 
At this point, installation was cancelled in the interest of time and he imported a KDE machine virtual machine which he applied updates.
 
KDE Post Installation prep for Guest Installation:
    sudo -i | history <=shows current state of commands ran on KDE virtual machine. 
    1  apt-get update  (Done already)
    2  apt-get upgrade (Done already)
    3  apt-get dist-upgrade    <= installs header files for build
       downloads 62 MB. Lot less than the upgrade at 331 MB!
    4  reboot
    5. From Menu:
Devices | Insert Guest Additions CD image
Close Dolpin (FM) | Open terminal window |sudo -i
        cd /media/[userid]/VBOXADDITIONS_4.3.16_95972/
This may vary depending on your operating system
and version of VirtualBox Extension pack.
    6  ./VBoxLinuxAdditions.run <= fails missing gcc
    7  apt-get install linux-headers-$(uname -r) <=if missing
    8  apt-get install gcc (12 MB download)
    9 apt-get install vim ctags vim-doc vim-scripts -y (optional)
    10./VBoxLinuxAdditions.run <= success (takes sometime)
 
Create shared folder in the VirutalBox Machine Settings, select Shared Folders  
       create folder in home directory (KDEShare)
       Click add icon, browse to folder created and check both auto-mount, permanent options.
 Back on virtual machine in a terminal window:
    11.sudo usermod -aG vboxsf [your_userid]
    12.logout/login
    12.cd /media/sf_KDEShare/
 
Extra GCC Stuff you might want to load if developer:
gcc-multilib autoconf automake1.9 libtool flex bison gcc-doc gcc-4.8-multilib gcc-4.8-doc gcc-4.8-locales libgcc1-dbg libgomp1-dbg libitm1-dbg libatomic1-dbg libasan0-dbg libtsan0-dbg libbacktrace1-dbg libquadmath0-dbg glibc-doc
 
Other features demonstrated:
Networking
USB Devices
Screen Modes (Windows XP)
Import/Export
ova Single file
ovf multiple files
vdi imports (virtual machines aka appliances on the net for download)
 
Early on we had a side discussion on the LVM disk management. Link provided this link for using LVM with VirtualBox: 
https://unix.stackexchange.com/questions/16299/using-a-lvm-partition-as-a-virtualbox-drive
 
Our next meeting on October 21st will be an open meeting (those always seem to work best), as there were no suggestions for a topic or program but suggestions are always welcome for something you would like to see and learn about in Linux or even better, something you would like to know.  Let us know at C_tinsley@msn.com