
Ubuntu 12.04 LTS (Precise Pangolin), source is from http://en.wikipedia.org/wiki/Ubuntu_%28operating_system%29
Some of you might have secure your Ubuntu 11.10’s /tmp directory by editing the /etc/fstab and having /tmp as noexec, but doing this will prevent some of you to upgrade Ubuntu 11.10 to 12.04. The solution is to remove noexec parameter from /tmp in /etc/fstab and remount /tmp. Afterward you can upgrade Ubuntu 11.10 to 12.04. Check out the exact process of how to remove noexec from /tmp inside /etc/fstab and upgrade Ubuntu 11.10 to 12.04 through command lines right after the break.
- sudo -i
- vim.tiny /etc/fstab
- hit letter i on your keyboard to have vim.tiny enters the editing mode
- scroll down till you see something like this [UUID=xxx-xxx-xxx… /tmp ext4 defaults,noexec,nosuid 0 2]
- remove noexec from the line you see above for /etc/fstab
- hit ESC key on your keyboard
- type in [:wq] without the square brackets (of course) to save /etc/fstab file
- type in this command [mount -o remount /tmp] without using the square brackets, when done you should see nothing spits out from the terminal (it means no error)
- let stick with the terminal and use command lines to upgrade your system, type in the two commands you see below, each on its own line, OK?
- apt-get install update-manager-core
- do-release-upgrade
- you might have to answer yes or no for few things during the upgrade process, so don’t close that terminal till upgrade is completely finished, OK? When done upgrade, secure your /tmp directory again by going back into the /etc/fstab, and re-entering the noexec into the line which specifies a configuration of /tmp (the line you see in step #4), hit ESC key to save /etc/fstab file, and type in [:wq] to exit and save /etc/fstab file, and finally remount your /tmp directory as how you had done in step #8
Related articles
- Latest Ubuntu Came Out Yesterday, Ubuntu 12.04 Came With Some New Features (essayboard.com)
- How To Install Minecraft Server Onto Ubuntu 11.10? (essayboard.com)
- Upgrading to Ubuntu 12.04 LTS (plavc.wordpress.com)
- Fstab (wiki.archlinux.org)
- Links 29/4/2012: Linux Steam Client, CISPA Backlash (techrights.org)
- Screwed again by Rackspace changing a published image (seeknuance.com)
- [How To] Make The Unity Dash Border Thinner (omgubuntu.co.uk)
- Ubuntu 12.04 – Precise Pangolin – Released Today (goinggnu.wordpress.com)