Set Up Repositories
Add Canonical Commercial Repository
Enable the Commercial Partners repo:
System -> Administration -> Software Sources -> Third Party -> select the partner repo
Update after modifying sources.list:
Click Reload
Medibuntu Repository (Multimedia, Acrobat Reader, RealPlayer)
sudo wget http://www.medibuntu.org/sources.list.d/jaunty.list --output-document=/etc/apt/sources.list.d/medibuntu.list sudo apt-get update && sudo apt-get install medibuntu-keyring && sudo apt-get update
Uninstall
sudo apt-get remove vim-tiny
Install
sudo apt-get install vim-full thunderbird keepassx xtightvncviewer ubuntu-restricted-extras acroread w32codecs ntp ntfs-config alsa-oss faac faad flashplugin-nonfree non-free-codecs sun-java6-fonts sun-java6-jre sun-java6-plugin unrar openoffice.org-java-common gnomebaker
Install Options
- xinetd (super daemon - used for VMware Server and TFTP server)
- build-essential (compilers and tools)
- linux-headers-`uname -r` (kernel headers)
- lightning-extension (calendar add-on for Thunderbird)
- k3b (CD/DVD burning tool) (adds KDE libs)
- k9copy (CD/DVD copy tool) (adds KDE libs)
- lshw (hardware inventory)
- wireshark (network diagnostic tool)
- nessusd, nessus (network diagnostics and scanning)
- kompozer (HTML editor)
- libdvdcss2 (DVD playback)
- grip, lame, easytag, audacity (rip CDs, process music files, encode .mp3's)
RealPlayer
wget -c http://www.debian-multimedia.org/pool/main/r/realplay/realplayer_11.0.0-0.2_i386.deb sudo dpkg -i realplayer_11.0.0-0.2_i386.deb
Firefox Addons
- Foxmarks
- FireFTP
- FlashBlock
- Firebug
Configuration
Printers
Most directly connected printers are plug n' play and just work automatically.
Our Linksys 3-port print server supports the LPR/LPD protocol, as do most print servers. Use LPR/LPD instead of SMB protocol as there have been 'issues' using SMB in the past. You need to know the LPD queue names used by your print server. Linksys often uses 'L1', 'L2' and 'L3' (case sensitive).
System -> Administration -> Printing -> New
For LPD print servers, if you don't see an option for LPD printers, select "Other" under Devices and enter the URI in the form of:
lpd://ps/L1
Internal note: The Lexmark C510 is on print server 'ps' on queue (port) 'L1' using the PPD (printer description) file from the Support folder. The Pan KX-2023 is on 'L2'. The Oki 520 is on 'L3'.
The PDF printer is via SMB using a generic postscript driver.
PDF Printer
The default configuration in 8.10 is simpler than in the past. Just select Print -> To File -> PDF.
You can also install cups-pdf and do it the previous way if you wish. If you do, there will be a PDF Printer detected. Select the Generic -> PDF Printer driver. The output files will be in your home folder, under the PDF folder. If you have any trouble with this, try creating the ~/PDF folder manually.
NVidia Graphics Drivers
First, try System -> Administration -> Hardware Drivers.
Try both nVidia driver versions if the newest one doesn't work properly.
Otherwise, and only as a last resort, you may need to download and install the drivers from nVidia. You probably shouldn't use this procedure unless you really have to:
Download the latest driver from the NVidia web site then switch to a text-mode virtual console by hitting ctrl-alt-F1. Then enter the following commands:
sudo /etc/init.d/gdm stop sudo sh ./NVIDIA-Linux-xxxx.run
Edit the /etc/default/linux-restricted-modules-common file and add nv:
DISABLED_MODULES="nv"
Reboot.
Desktop
System -> Preferences -> Appearance -> Fonts (Sub-Pixel Smoothing) -> Details (96dpi, Light Hinting)(try actual dpi of your monitor)
Gnome Terminal window placement
gnome-terminal --geometry=120x50+450+150
Panels (right-click, Properties) - 28 pixels
Startup Applications - Add Tomboy, Pidgin and Firefox to start up automatically Preferred Applications - Thunderbird, F-Spot
Screensaver - Lock screen
Nautilus Options
Launch nautilus - Select Edit -> Preferences.
Media - Set your preferences for what happens when you plug in external media, cameras, etc. here.
f-spot-import %h ln -s /home/extra/Photos /home/gcooper/Photos # optionally link your existing photos library
Delete Context Option - Click on the behavior tab. Under the "Trash" section, select the option that reads "Include a Delete command that bypasses Trash"
Floppy Drive
If you still have a floppy drive, you may want to format floppies once in a while. You can add the gfloppy tool to the menu to make it easier to use:
System -> Preferences -> Main Menu -> Accessories
Then select the Floppy Formatter option and close.
Faxing
Viewer
If you have any trouble viewing fax files in the .tif format, try using the Evince viewer.
Network Faxing
See this page.
F-Spot Photo Manager
If you want to move your F-Spot photo database to a new computer or user home directory, you will normally only have to move the Photos folder plus the ~/.gnome2/f-spot folder to the same locations in the new home directory.
VMware
Installing VMwareTools
sudo apt-get install open-vm-tools
Installing VMware Server
If you are upgrading from VMware Server 1.x, uninstall it first with:
sudo vmware-uninstall.pl
Download the free VMware Server software from here as a binary (.tar.gz) file.
sudo apt-get install build-essential xinetd linux-headers-`uname -r` tar -xzvf VMware-server-2.0.0-122956.i386.tar.gz cd vmware-server-distrib/ sudo ./vmware-install.pl
Then after a successful installation:
cd .. sudo rm -rf vmware-server-distrib/
You will want to add a valid (your) username as the VMware Administrator.
I don't enable NAT, and I sometimes keep my VMs in my Home Directory, but otherwise I use the defaults presented.
Patching
You may find that you get an error when configuring VMware:
Unable to make a vsock module...
Create a text file named vmware-config.pl.patch with these contents:
--- /usr/bin/vmware-config.pl.orig 2008-11-28 12:06:35.641054086 +0100 +++ /usr/bin/vmware-config.pl 2008-11-28 12:30:38.593304082 +0100 @@ -4121,6 +4121,11 @@ return 'no'; } + if ($name eq 'vsock') { + print wrap("VMWare config patch VSOCK!n"); + system(shell_string($gHelper{'mv'}) . ' -vi ' . shell_string($build_dir . '/../Module.symvers') . ' ' . shell_string($build_dir . '/vsock-only/' )); + } + print wrap('Building the ' . $name . ' module.' . "nn", 0); if (system(shell_string($gHelper{'make'}) . ' -C ' . shell_string($build_dir . '/' . $name . '-only') @@ -4143,6 +4148,10 @@ if (try_module($name, $build_dir . '/' . $name . '.o', 0, 1)) { print wrap('The ' . $name . ' module loads perfectly into the running kernel.' . "nn", 0); + if ($name eq 'vmci') { + print wrap("VMWare config patch VMCI!n"); + system(shell_string($gHelper{'cp'}) . ' -vi ' . shell_string($build_dir.'/vmci-only/Module.symvers') . ' ' . shell_string($build_dir . '/../')); + } remove_tmp_dir($build_dir); return 'yes'; }
Apply the patch to the vmware-config.pl file like this:
sudo patch /usr/bin/vmware-config.pl /path/to/vmware-config.pl.patch
Then run vmware-config.pl as you would after any kernel upgrade.
Using
VMware Server 2.0 no longer includes the VMware Console...it uses web browser management instead.
http://localhost:8222 or https://localhost:8333
If you have keyboard problems installating a VM, you need to create ~/.vmware/config and add xkeymap.nokeycodeMap = TRUE to the file. Save it, restart your browser and it should work fine.
Text Terminal
Here is a sample configuration file for BASH:
# .bashrc # Source global definitions [ -f /etc/bashrc ] && . /etc/bashrc
alias ll='ls -l' alias la='ls -A' alias l='ls -CF' alias ls="BLOCK_SIZE='1 ls --color=auto" export GREP_OPTIONS='--color=auto' PS1='${debian_chroot:+($debian_chroot)}[�33[00;36m]u[�33[00m]@h:[�33[05;33m]w[�33[00m] $ ' export HISTCONTROL=ignoredups
Remote Access
SSH
sudo apt-get install openssh-server
RFB (VNC)
System -> Preferences -> Remote Desktop (enable and enter password)
Accessing Network (SMB) Shares
If the 'smbfs' package is not already installed, install it like this:
sudo apt-get install smbfs
Create a script that mounts your SMB shares at the mount point you specify in the script. I named mine 'mymounts' and I keep it in a ~/bin folder with the rest of my scripts. You could also just keep it on your desktop and forego the automatic execution below.
#!/bin/bash # ~/bin/mymounts # Store this file in your home directory with 700 perms as it contains SMB password # Set variables here: SMBSERVER=mysmbserver SHARENAME1=myshare1 SHARENAME2=myshare2 SMBUSER=mysmbusername SMBPASS=mysmbpassword # End of variables mkdir -p ~/mnt/$SHARENAME1 mkdir -p ~/mnt/$SHARENAME2 smbumount ~/mnt/$SHARENAME1 > /dev/null 2>&1 smbmount //$SMBSERVER/$SHARENAME1 ~/mnt/$SHARENAME1 -o username=$SMBUSER,password=$SMBPASS smbumount ~/mnt/$SHARENAME2 > /dev/null 2>&1 smbmount //$SMBSERVER/$SHARENAME2 ~/mnt/$SHARENAME2 -o username=$SMBUSER,password=$SMBPASS
Make it executeable:
chmod +x ~/bin/mymounts
To make it run automatically when you log in:
System->Preferences->Sessions->Startup->Add
~/bin/mymounts
Bijlagen: http://www.sonoracomm.com/support/18-support/214-how-to-get-up-and-productive-quickly-with-ubuntu-804
15-07-2009 om 15:21
geschreven door Glenn Vermoortel 
|