Install & Configure Clean Ubuntu

Pre-Requirments


Installing the image

  • Click on the New… Icon
    • Type in the desired name for the image
    • In the Type choose Linux
    • In the version choose Ubuntu (64 Bit)

  • Click Next and set the Memory Size to 4096 MB

  • Click Next and choose Create a virtaul hard disk now

  • Click Next and choose VDI (VirtualBox Disk iamge)

  • Click Next and choose Dynamically allocated

  • Click Next and Set the name and the size of the desired Image
         The optimal size should be set to 100GB

  • Click on the Create button.

Configuration

  • Under the menu open Settigns

  • General | Advanced - Set the bidectional values

  • System | Base Memory to atleast 4096 MB

  • Display | Video Memroy to 128MB && Check the Enable 3D Acceleration

  • Shared Folders - Add your desired shared folder and mount them

Installing the Image

  • Mark the New create machine on the left side and click Start on the menu
  • In the Select start-up disk browse and choose the image you downloaded before.

  • Click Start and follow the instructions on screen to install the image









If the first run is not responding continue with CTRL+C on this screen




Configuration

Now once that all is set up lets start to work on the content of the image

  • Start the image in VirtualBox
  • On the login screen use your name and password
  • Install virtual box guest addition     - In the Virtual machine under the Device menu

  • Restart the machine before processding to te next section

Setting up the environment

  • From this point on we are going to work inside the terminal window to install all reuired pieces.
  • Open the terminal and lets start work.

  • Add users to the shared folder group
Set up shared folders
1
sudo usermod -G vboxsf -a <username>
  • Logout and login with the new username

  • Fix the vi not to print letters instead of moving with the kyes in

Fix vi
1
echo 'set nocompatible' | sudo tee --append $HOME/.vimrc
  • Set the vi as default editor
Set vi as default editor
1
set alias vi=vim
  • Add proxy configuration to: /etc/environment
configure proxy
1
2
3
sudo gedit /etc/profile
export http_proxy=http://web-proxy.bbn.hp.com:8080
export ftp_proxy=http://web-proxy.bbn.hp.com:8080
  • Add this line to /etc/apt/apt.conf
Configure proxy
1
2
sudo touch /etc/apt/apt.conf
Acquire::http::proxy "http://web-proxy.bbn.hp.com:8080";
  • Add the following repositories & keys to apt-get
add repositories
1
2
3
sudo add-apt-repository ppa:git-core/ppa -y
echo 'add-apt-repository ppa:git-core/ppa;' | sudo tee --append /etc/apt/apt.conf
echo 'add-apt-repository ppa:webupd8team/java;' | sudo tee --append /etc/apt/apt.conf
  • Uninstall unrequired applications and install all the reuired ones
update and upgrade
1
2
3
4
5
6
7
8
9
10
11
12
13
14
sudo apt-get remove --purge unity-webapps-common
sudo apt-get remove --purge libreoffice*
sudo apt-get autoremove

# update and upgrade the system
sudo apt-get update
sudo apt-get upgrade

# Install all required packages (Should be run on a single line)
sudo apt-get install tree git git-doc gitk git-email git-gui gitweb git-notifier grokmirror
<br/>terminator npm default-jre python-software-properties vim unity-tweak-tool zsh firefox
<br/>xfe python-software-properties compizconfig-settings-manager ruby-full

- Install <kbd>oh my zsh</kbd>

bash install Oh my zsh git clone git://github.com/robbyrussell/oh-my-zsh.git ~/.oh-my-zsh cp ~/.oh-my-zsh/templates/zshrc.zsh-template ~/.zshrc chsh -s /bin/zsh

update and upgrade
1
- Install git LFS - not mandatory

bash Install GIT lFS curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | sudo bash sudo apt-get install git-lfs sudo git lfs install

update and upgrade
1
2
- Speed up the display and stop the flickering<br/>
Disable effects, such as fading windows, animations and window decoration

bash Disable animations and fades ccsm ```

  • Install google chrome
    From the Software Center install the GDebi Package Installer Open firefox and go to this url
    https://www.google.com/intl/en-US/chrome/browser/thankyou.html?platform=linux