Thursday, May 30, 2013

Upgrade to Linux Mint 15

Steps to Upgrade to Linux Mint 15

This process assumes you have an existing Linux installation on a disk that has enough free space to create a new partition for version 15. In this way you can boot 15 and copy over items from the other Linux environment.
  1. While running Windows 7, Download the ISO image for Linux Mint 15, 64 bit, Cinnamon from here.
  2. Use UNetbootin to create a bootable USB Memory Stick with the ISO image just downloaded.
  3. Reboot off the USB Memory stick (F12 at boot to get a hardware boot menu)
  4. Run Install Linux Mint
    1. select installation type "Something Else" in order to manage which HD and partition Mint is installed to.
  5. Reboot Mint from Hard disk
  6. Activate recommended NVidia video drivers
    1. Menu -> Preferences-> Driver Manager
  7. Apply any pending updates
    1. $ sudo apt-get update
    2. $ sudo apt-get upgrade 
  8. Using Firefox, Install Google-Chrome
    1. Download and run the 64 bit Ubuntu-Debian DEB file
    2. Note: the Google install updates software sources so later runs of apt-get upgrade will get updated versions of chrome.
  9. Install MongoDB
    1. Instructions here.
  10. Install Pycharm
    1. su
    2. mkdir /opt/pycharm
    3. cd /opt/pycharm
    4. mv /home/gbiglow/Downloads/pycharm-2.7.2.tar.gz .
    5. tar xfz pycharm-*.tar.gz
    6. rm pycharm-2.7.2.tar.gz
    7. Run pycharm.sh from the bin subdirectory
      1. do this in a shell once to see if pycharm complains about the wrong JDK
      2. note: look in following log to see if pycharm is logging any start-up errors
        1. /home/gbiglow/.PyCharm20/system/log/idea.log
  11. 'Install' Oracle JDK (pycharm wants the official Oracle one - too bad)
    1. Background
      1. Some notes on installing Oracle JDK - here.
      2. Some other notes on JDK - here (note remove OpenJDK step!)
    2. I took the KISS approach which requires manual repeats to update Oracle Java but does not screw with the official Linux Mint installed OpenJDK
      1. download jdk-7u21-linux-x64.tar.gz from Oracle
      2. expand it into /opt/java
      3. add following to ~./bashrc
        1. export PATH=/opt/java/jdk1.7.0_21/bin:$PATH
  12. Install tools using $ sudo apt-get install <tool-name>
    1. Development tools:
      1. python-pip
      2. python-virtualenv
      3. git
      4. terminator
      5. meld
      6. ipython
    2. Sys Admin tools:
      1. gparted
      2. htop
      3. hardinfo (shows in start menu as "System Information")
  13. Install Heroku Toolbelt
    1. $ sudo wget -qO- https://toolbelt.heroku.com/install-ubuntu.sh | sh
    2. $ heroku login

Still Todo:
  1. Fully Copy home dir from old linux installation...
  2. Fix up GRUB and Windows boot menu

No comments:

Post a Comment