Ubuntu

From Bashlinux
Jump to: navigation, search

How to install Ubuntu

  • Use the default DVI/VGA port to run the installation.
  • Once the installation is done, install any proprietary driver for the video card, if necessary.

Troubleshooting installation issues

ISSUE: Corrupted install screen

  • If a nVidia video card is already in place, you can also add "nomodeset" to the boot loader.

ISSUE: Grub is unable to boot the recently installed system

  • Boot in "Try Ubuntu" mode with the install disk
  • Mount the filesystem where Ubuntu is installed
  • Install grub2

ISSUE: Screen is freezing on dual-screen setup with nVidia video card

  • Install nVidia drivers from repository
  • Precise 12.10 to Quantal 13.10
 # apt-add-repository ppa:xorg-edgers/ppa
  • Lucid 10.04 to Precise 12.04
 # apt-add-repository ppa:ubuntu-x-swat/x-updates
  • Update the repos
 # apt-get update
  • Install nvidia drivers
 # apt-get install nvidia-current nvidia-settings

How to upgrade Ubuntu

  • Install the update manager
# apt-get install update-manager-core
  • Do the ubuntu ritual
# apt-get update
# apt-get upgrade
# apt-get autoremove
  • Start the upgrade process
# do-release-upgrade

Troubleshooting upgrade issues

  • Fixes on Ubuntu 14.04
    • All Apache configuration files, including sites, must end with ".conf"
    • Apache 2.4 sets the lock file with a different statement
DEPRECATED (Ubuntu 12/ Apache 2.2): 
LockFile ${APACHE_LOCK_DIR}/accept.lock
NEW
Mutex file:${APACHE_LOCK_DIR} default
  • If running with non-graphical interface, ie. server mode, then remove consolekit to avoid the following "annoying" warnings being displayed on the terminal
GLib-CRITICAL: Source ID 123 was not found when attempting to remove it
  • If syslog-ng's configuration file is preserved instead to use the distro configuration, then update the format of the configuration file. Warning/Errors are dropped in the terminal when syslog-ng is restarted.