Ubuntu 5.10 (breezy badger) Guide

Source: Internet
Author: User
Tags mozilla thunderbird adobe acrobat reader gparted

Ubuntu 5.10 (breezy badger) Guide
  • Install
  • Attach and detach media devices
  • Create and play an ISO Device
  • Create and check MD5 verification Codes
  • Configure SSH for CUCs and remote desktop for office computers
  • Related Links
Install
  1. Install Ubuntu
  2. Set Home Directory
  3. Update and upgrade Ubuntu
  4. Install the NVIDIA driver
  5. Enable 5-Key mouse
  6. Enable DMA
  7. Sound device repair
  8. Customize personalized configurations and Fonts
  9. Add additional software libraries
  10. Installation:
    • Partition tool-gparted
    • Email client-Thunderbird
    • Version Control-CVS
    • Latex
    • Font
    • Java-Sun Java
    • Editor-jedit, gvim
    • PDF viewing software-Adobe Acrobat Reader
    • Flash Player
    • Multimedia file Decoder
    • Media Player-Totem-xine, gxine, mplayer, VLC
    • MIDI player-timidity
    • CD recording software-gnome Baker
    • CD Extraction Tool-sound Juicer
    • Game-scummvm
    • Development Tools
Set Home Directory
  1. sudo mkdir /mnt/newdrivesudo mount -t ext3 /dev/hdb1 /mnt/newdrive/sudo mkdir /mnt/newdrive/home.newsudo cp -R -p /home/[user] /mnt/newdrive/home.new/sudo chown [user]:[user] /mnt/newdrive/home.new/[user]sudo umount /mnt/newdrive/
  2. At the same time, press [CTRL] + [alt] + [F1] And then log on.
    sudo pico /etc/fstab

    Add the following lines after the primary partition and swap partition entries:

    /dev/hdb1 /home ext3 defaults,errors=remount-ro 0 1

    Press [CTRL] + [O] To save the file. Press [CTRL] + [x] to exit the pico program.

    sudo mv /home /home.oldsudo mkdir /homesudo mount -a
Update and upgrade Ubuntu
  1. sudo apt-get updatesudo apt-get upgrade
Install the NVIDIA driver
  1. sudo apt-get install nvidia-glx nvidia-settingssudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf.nvidia-driver.backupsudo nvidia-glx-config enable
  2. sudo gedit /usr/share/applications/NVIDIA-Settings.desktop

    Add the following lines to the file:

    [Desktop Entry]Name=NVIDIA SettingsComment=NVIDIA SettingsExec=nvidia-settingsIcon=Terminal=falseType=ApplicationCategories=Application;System;
  3. The following settings are used to disable the NVIDIA startup window.
    sudo gedit /etc/X11/xorg.conf

    Edit the Xorg. conf file and find the following items:

    ...Section "Device" Identifier "NVIDIA Corporation NV11 [GeForce2 MX/MX 400]" Driver  "nvidia" BusID  "PCI:1:0:0"...

    Add the following line below:

     Option  "NoLogo"
  4. Press [CTRL] + [alt] + [backspace] to restart the gnome window management system.
Enable 5-Key mouse
  1. sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf.5-button-mouse.backup
  2. sudo gedit /etc/X11/xorg.conf

    Replace the following items:

    Section "InputDevice"Identifier "mouse.usb"Driver "mouse"Option "CorePointer"Option "Device" "/dev/input/mice"Option "Protocol" "IMPS/2"Option "Emulate3Buttons" "YES"Option "ZAxisMapping" "4 5"EndSection

    Is:

    Section "InputDevice"Identifier "mouse.usb"Driver "mouse"Option "CorePointer"Option "Device" "/dev/input/mice"Option "Protocol" "ExplorerPS/2"Option "Buttons" "7"Option "ZAxisMapping" "4 5"EndSection
Enable DMA

(Reference http://ubuntuguide.org/#speedupcddvdrom .)

  1. sudo hdparm -d1 /dev/cdromsudo cp /etc/hdparm.conf /etc/hdparm.conf_backupsudo gedit /etc/hdparm.conf
  2. Add the following line/etc/hdparm. conf
    /dev/cdrom {       dma = on}
  3. Repeat the preceding steps to set/dev/cdrom1
Sound System Repair

(Reference http://ubuntuguide.org/#configuresoundproperly .)

Customize personalized configurations and Fonts
  1. gnome-theme-manager

    Click "theme details" and set "set controls = glider, window border = mist, icons = gnome ".

  2. gnome-font-properties

    Set "APP = sans 8, desktop = sans 8, window title = sans 8, terminal = freemono 10 ".

Always use the browser in Nautilus
  1. gconf-editor

    Select "apps/Nautilus/Preferences" and select "always use Browser ".

Add additional software libraries
  1. sudo cp /etc/apt/sources.list /etc/apt/sources.list.backup
  2. sudo gedit /etc/apt/sources.list

    Add the following line (Note: Because the settings in China are different, please refer to the configuration published on ubuntu.com.cn ):

    # deb cdrom:[Ubuntu 5.10 _Breezy Badger_ - Release i386 (20051012)]/ breezy main restricted# Example sources.list for Ubuntu 5.10 "The Breezy Badger" release## All officially supported packages, including security- and other updatesdeb http://us.archive.ubuntu.com/ubuntu breezy main restricteddeb-src http://us.archive.ubuntu.com/ubuntu breezy main restricteddeb http://security.ubuntu.com/ubuntu breezy-security main restricteddeb-src http://security.ubuntu.com/ubuntu breezy-security main restricteddeb http://us.archive.ubuntu.com/ubuntu breezy-updates main restricteddeb-src http://us.archive.ubuntu.com/ubuntu breezy-updates main restricted## All community supported packages, including security- and other updatesdeb http://us.archive.ubuntu.com/ubuntu breezy universe multiversedeb-src http://us.archive.ubuntu.com/ubuntu breezy universe multiversedeb http://security.ubuntu.com/ubuntu breezy-security universe multiversedeb-src http://security.ubuntu.com/ubuntu breezy-security universe multiversedeb http://us.archive.ubuntu.com/ubuntu breezy-updates universe multiversedeb-src http://us.archive.ubuntu.com/ubuntu breezy-updates universe multiverse## libdvdcss2, w32codecs# deb ftp://ftp.nerim.net/debian-marillat/ etch main# deb http://ubuntu-backports.mirrormax.net/ breezy-extras-staging main restricted universe multiverse## jedit# deb http://dl.sourceforge.net/sourceforge/jedit ./# deb-src http://dl.sourceforge.net/sourceforge/jedit ./## hoary-extras - the most widely used source for packages not includded in Ubuntu## no guarantees on working - not enabled by default# deb http://public.planetmirror.com/pub/ubuntu-backports/ hoary-extras main universe multiverse restricted
  3. sudo apt-get update
Installation font (Microsoft Font)
  1. sudo apt-get install msttcorefonts
Install a multimedia file Decoder

(See http://ubuntuguide.org/#codecs .)

  1. Add additional software libraries.
  2. sudo gedit /etc/apt/sources.list

    Add the following lines at the end:

    deb ftp://ftp.nerim.net/debian-marillat/ etch main

    Save the file.

    sudo apt-get updatesudo apt-get install w32codecssudo apt-get install libdvdcss2
    sudo gedit /etc/apt/sources.list

    Cancel the annotator before the following line:

    deb ftp://ftp.nerim.net/debian-marillat/ etch main

    Save the file.

    sudo apt-get update
  3. If the above steps do not work, you need to manually install w32codecs and decss2 package: Download The w32codecs_20050412-0.0_i386.deb from the Internet to the home directory.
    cd ~/sudo dpkg -i w32codecs_*.debsudo /usr/share/doc/libdvdread3/examples/install-css.sh
  4. sudo apt-get install libmad0 libdvdread3
  5. sudo apt-get install lame sox ffmpeg mjpegtools vorbis-tools
  6. sudo apt-get install gstreamer0.8-misc gstreamer0.8-plugins gstreamer0.8-plugins-multiverse gstreamer0.8-ffmpeg gst-register-0.8
Install the Media Player (totem-xine, gxine, mplayer, VLC)
  1. Totem-xine (See Instructions for post-installation setup ):

    sudo apt-get install totem-xine gedit ~/.xine/config

    Modify the following line:

    video.driver:xv
  2. Gxine (See Instructions for post-installation setup ):
    sudo apt-get install gxinegedit ~/.gxine/config

    Modify the following line:

    video.driver:xv
  3. Mplayer:
    sudo apt-get install mplayer-386 mozilla-mplayersudo cp /etc/mplayer/mplayer.conf /etc/mplayer/mplayer.conf_backupsudo gedit /etc/mplayer/mplayer.conf

    Search:

    vo=x11,

    Replace:

    vo=xv,
  4. VLC:
    sudo apt-get install vlc
Set xine/gxine
  1. xine-check
  2. Perform the following steps to fix the WMV playback problem (if this problem occurs ):
    cp ~/.xine/catalog.cache ~/.xine/catalog.cache.backupgedit ~/.xine/catalog.cache

    Find the following section:

    [/usr/lib/xine/plugins/1.0.0/xineplug_decode_w32dll.so]size=173768mtime=1112804124type=131api=15id=win32aversion=10000supported_types=50593792 52428800 52822016 ... (long line truncated)decoder_priority=1

    Replace with one row:

    decoder_priority=1

    Is:

    decoder_priority=7
  3. Specify gxine as the default Media Player (not recommended because totem-xine is better ):
    sudo cp /usr/share/applications/defaults.list /usr/share/applications/defaults.list_backupsudo sed -e 's/totem.desktop/gxine.desktop/g' /usr/share/applications/defaults.list_backup > /tmp/defaults.listsudo mv /tmp/defaults.list /usr/share/applications/defaults.listkillall gnome-panelkillall nautilus
  4. Specify gxine as the default DVD player (not recommended because totem-xine is better ):
    gconftool-2 --type string --set /desktop/gnome/volume_manager/autoplay_dvd_command "gxine dvd://"
  5. Install the gxine plug-in for Firefox (not recommended because totem-xine is better ):
    sudo ln -fs /usr/lib/gxine/gxineplugin.a /usr/lib/mozilla-firefox/plugins/sudo ln -fs /usr/lib/gxine/gxineplugin.la /usr/lib/mozilla-firefox/plugins/sudo ln -fs /usr/lib/gxine/gxineplugin.so /usr/lib/mozilla-firefox/plugins/
Install the Midi player (timidity)
  1. sudo apt-get install timidity timidity-interfaces-extra freepats
Play MIDI
  1. Start with GTK:

    timidity -ig 
Install the partition tool (gparted)
  1. sudo apt-get install gparted
Install the e-mail client (Mozilla Thunderbird)
  1. sudo apt-get install mozilla-thunderbird
Install the menu editing program (smeg)
  1. sudo apt-get install smeg
Install CD recorder (gnomebaker)
  1. sudo apt-get install gnomebaker
Install PDF read)
  1. sudo apt-get install acroread mozilla-acroread
  2. sudo gedit /usr/share/applications/defaults.list

    Set:

    application/pdf=evince.desktop

    Replace:

    application/pdf=AdobeReader.desktop
Install Flash Player
  1. sudo apt-get install flashplayer-mozilla
Mount
  1. Ext3 format partition:

    sudo mount /dev/hdb1 [mount_point_dir] -t ext3 
  2. NTFS format partition:
    sudo mount /dev/hda1 [mount_point_dir] -t ntfs -o nls=utf8,umask=0222
  3. Partitions in FAT32 format:
    sudo mount /dev/hda1 [mount_point_dir] -t vfat -o iocharset=utf8,umask=000
  4. CD/DVD:
    sudo mount /media/cdrom0/ -o unhide
  5. ISO:
    sudo modprobe loopsudo mount file.iso /media/iso/ -t iso9660 -o loop -r
Uninstall
  1. sudo umount [mount_point_dir]
  2. Force uninstall (if the first step fails ):
    sudo umount [mount_point_dir] -l
Create an ISO Image File
  1. Create from CD/DVD (Replace [device] in the following line with DVD, CDROM, or cdrom1 ):

    dd if=/dev/[device] of=file.iso bs=1024
  2. Create from the specified directory:
    mkisofs -o file.iso [dir]
Playing ISO
  1. Install, configure, and run gxine.
  2. Select "file/preferences.../Media (Tab)/DVD (Tab )".
  3. Change the DVD location to "/.../file. ISO ".
MD5 Verification
  1. Create an MD5 verification code:

    md5sum file.iso > file.iso.md5
  2. Verify the MD5 verification code:
    md5sum -c file.iso.md5
Install Latex
  1. sudo apt-get install tetex-base tetex-bin tetex-extra
Install development tools
  1. Basic compilers and tools:

    sudo apt-get install build-essentialsudo apt-get install manpages-dev autoconf automake libtoolsudo apt-get install flex bison gcc-doc g++
  2. OpenGL and SDL development:
    sudo apt-get install libxxf86vm-dev nvidia-glx-dev sudo apt-get install libsdl1.2-dev libsdl-ttf2.0-dev libsdl-image1.2-dev libsdl-mixer1.2-devsudo apt-get install libsdl-sound1.2-dev libsdl-net1.2-dev
  3. Compile the mplayer environment:
    sudo apt-get install x-window-system-dev libgtk1.2-dev libpng-dev libxxf86vm-dev 
Install the CVS version control software
  1. sudo apt-get install cvs
Install gvim
  1. sudo apt-get install vim-gnome
  2. gedit ~/.vimrc

    Add the following line:

    set rulerset showcmdset incsearchset history=500set expandtabset tabstop=4set autoindentset shiftwidth=4colorscheme desertif has("vms")  set nobackupelse  set backupendifif &t_Co > 2 || has("gui_running")  syntax on  set hlsearchendif
  3. sudo gedit /usr/share/applications/gvim.desktop

    Add the following line:

    [Desktop Entry]Encoding=UTF-8Name=gvimComment=Edit text filesExec=gvim --remote-silent %UTryExec=gvimTerminal=falseType=ApplicationStartupNotify=falseMimeType=text/plain;Icon=text-editorCategories=GNOME;Application;Utility;TextEditor;

    Save the file.

  4. Specify gvim as the default file editor (optional ).
    sudo gedit /usr/share/applications/defaults.list

    Replace this row:

    text/plain=gedit.desktop

    Is:

    text/plain=gvim.desktop
Install the Java environment (Sun Java)

(Reference https://wiki.ubuntu.com/JavaPackageBuildNewVersions .)

  1. sudo apt-get install java-package java-commonsudo apt-get install build-essential
  2. Download JRE Linux self-extracting file (jre-1_5_0_06-linux-i586.bin, non-RPM file) from http://java.sun.com ).
    sudo apt-get install fakerootfakeroot make-jpkg jre-1_5_0_06-linux-i586.binsudo dpkg -i sun-j2re1.5_1.5.0+update06_i386.deb
  3. sudo update-alternatives --config java

    Select the Sun Java option.

Install the Editor (jedit)
  1. Install Java.
  2. sudo gedit /etc/apt/sources.list

    Add the following lines:

    deb http://dl.sourceforge.net/sourceforge/jedit ./deb-src http://dl.sourceforge.net/sourceforge/jedit ./

    Save the file.

  3. sudo apt-get updatesudo apt-get install jedit
  4. sudo gedit /usr/bin/jedit

    Replace:

    ... ${JEDIT} -jar "/usr/share/jedit/jedit.jar" $@

    Is:

    ... ${JEDIT} -jar "/usr/share/jedit/jedit.jar" -reuseview $@
Install the game (scummvm)
  1. sudo apt-get install scummvmsudo apt-get install beneath-a-steel-sky flight-of-the-amazon-queen
Configure SSH for Cornell CS

(See http://www.cs.cornell.edu/support .)

  1. pico ~/.ssh/config

    Add the following line:

    host herakleshostname herakles.cs.cornell.eduuser djmForwardAgent yesLocalForward 2001 lion.cs.cornell.edu:22IdentityFile ~/.ssh/herakles/id_dsahost lionhostname localhostuser djmForwardX11 yesport 2001LocalForward 2002 smtp.cs.cornell.edu:25LocalForward 2003 popsrv.cs.cornell.edu:110LocalForward 2004 blather.cs.cornell.edu:515LocalForward 2005 falcon.cs.cornell.edu:139LocalForward 2006 cucsfs1.cs.cornell.edu:139LocalForward 2007 [office_computer_name].u.cs.cornell.edu:3389IdentityFile ~/.ssh/id_dsa
Configure Remote Desktop for the office computer
  1. Configure SSH for CCS, and then confirm that localhost: 2007 is redirected to [office_computer_name] .u.cs.cornell.edu: 3389.
  2. ssh -N -f heraklesssh -N -f lion
  3. rdesktop -r disk:sync=/home/[local_dir] localhost:2007

    Note Disk: Set sync to an absolute path.

Access cucsfs1

(See http://www.cs.cornell.edu/support/Linux/smbmount.htm .)

  1. Configure SSH for CCS.
  2. ssh -N -f heraklesssh -N -f -L2006:cucsfs1.cs.cornell.edu:139 lion
  3. smbclient //cucsfs1.cs.cornell.edu/a -U [user_name] -W CUCS -I localhost -p 2006

    Or

    smbmount //localhost/a [local_dir] -o port=2006,username=[user_name],workgroup=CUCSsmbumount [local_dir]
Recursively Delete objects
  1. For example, to delete all *. Atom file under the [dir] directory:

    cd [dir]find . -name "*.afm" -exec rm {} /;
Add/modify default applications
  1. sudo cp /usr/share/applications/defaults.list /usr/share/applications/defaults.list.backup
  2. sudo gedit /usr/share/applications/defaults.list

    Add/modify similar items:

    [mime-type]=[new-app].desktop

    Find the installed software:

    ls /usr/share/applications/*.desktop

    Find the MIME type installed:

    ls /usr/share/applications/mime/[text|image|...]
      
  3. killall gnome-panelkillall nautilus
Reference

Most of the information in this article comes from:

  • The unofficial Ubuntu 5.04 Starter Guide
  • The Ubuntu forums
  • The Ubuntu restricted formats Wiki

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.