Difference between revisions of "Ubuntu"

From Bashlinux
Jump to: navigation, search
Line 1: Line 1:
==== How to install Ubuntu ====
+
== How to install Ubuntu ===
 
* Use the default DVI/VGA port to run the installation
 
* Use the default DVI/VGA port to run the installation
   
ISSUE: Corrupted install screen
+
'''ISSUE:''' Corrupted install screen
 
* If a nVidia video card is already in place, you can also add "nomodeset" to the boot loader.
 
* 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
+
'''ISSUE:''' Grub is unable to boot the recently installed system
 
* Boot in "Try Ubuntu" mode with the install disk
 
* Boot in "Try Ubuntu" mode with the install disk
 
* Mount the filesystem where Ubuntu is installed
 
* Mount the filesystem where Ubuntu is installed
 
* Install grub2
 
* Install grub2
   
ISSUE: Screen is freezing on dual-screen setup with nVidia video card
+
'''ISSUE:''' Screen is freezing on dual-screen setup with nVidia video card
 
* Install nVidia drivers from repository
 
* Install nVidia drivers from repository
** Precise 12.10 to Quantal 13.10
+
:* Precise 12.10 to Quantal 13.10
# apt-add-repository ppa:xorg-edgers/ppa
+
# apt-add-repository ppa:xorg-edgers/ppa
** Lucid 10.04 to Precise 12.04
+
:* Lucid 10.04 to Precise 12.04
# apt-add-repository ppa:ubuntu-x-swat/x-updates
+
# apt-add-repository ppa:ubuntu-x-swat/x-updates
 
* Update the repos
 
* Update the repos
# apt-get update
+
# apt-get update
 
* Install nvidia drivers
 
* Install nvidia drivers
# apt-get install nvidia-current nvidia-settings
+
# apt-get install nvidia-current nvidia-settings
   
==== How to upgrade Ubuntu ====
+
== How to upgrade Ubuntu ==
 
* Install the update manager
 
* Install the update manager
 
# apt-get install update-manager-core
 
# apt-get install update-manager-core
Line 37: Line 37:
 
NEW
 
NEW
 
Mutex file:${APACHE_LOCK_DIR} default
 
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
+
:* 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
 
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.
+
:* 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.

Revision as of 01:28, 6 June 2015

How to install Ubuntu =

  • Use the default DVI/VGA port to run the installation

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
  • 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.