Ubuntu Cheat Sheet

Some Random Ubuntu Configuration Tips

Packages to Install

    • gparted - GNOME partition editor.

    • qtparted - KDE partition editor.

    • startupmanager

    • samba, samba-tools, system-config-samba

    • firestarter - Firewall.

    • nessus - Vulnerability detector instructions

    • p7zip-full - Additional archive formats.

    • gnome-bluetooth - Manipulate bluetooth devices from the desktop.

    • gstreamer0.10-plugins-ugly

    • gstreamer0.10-ffmpeg

    • grsync

    • partimage - NOT AVAILABLE?

    • gsynaptics - Synaptics touchpad - then configure it.

Development Packages

    • checkinstall - instructions

    • dia

    • kivio

    • gimp

    • gimp-data-extras

    • inkscape

    • scribus

A/V

  • EasyCam2

    • luvcview - USB webcam viewer

    • viking - GPS program

Ubuntu Fonts

sudo aptitude install xfonts-intl-arabic

sudo aptitude install xfonts-intl-asian

sudo aptitude install xfonts-intl-chinese

sudo aptitude install xfonts-intl-chinese-big

sudo aptitude install xfonts-intl-european

sudo aptitude install xfonts-intl-japanese

sudo aptitude install xfonts-intl-japanese-big

sudo aptitude install xfonts-intl-phonetic

sudo aptitude install gsfonts-x11

sudo aptitude install msttcorefonts

sudo fc-cache -f -v

Ubuntu Fonts

sudo aptitude install xfonts-intl-arabic

sudo aptitude install xfonts-intl-asian

sudo aptitude install xfonts-intl-chinese

sudo aptitude install xfonts-intl-chinese-big

sudo aptitude install xfonts-intl-european

sudo aptitude install xfonts-intl-japanese

sudo aptitude install xfonts-intl-japanese-big

sudo aptitude install xfonts-intl-phonetic

sudo aptitude install gsfonts-x11

sudo aptitude install msttcorefonts

sudo fc-cache

NFS

- Make sure nfs-common and nfs-kernel-server packages are installed.

# mount g7u:/common /local/common

- Add to fstab:

g7u:/common //local/common nfs rsize=8192,wsize=8192,timeo=14,intr

- Add remote hosts to server's firewall ("allow connections from host").

- Add Sambe (SMB) ports (137-139, 445) to server's firewall.

- /etc/exports

Networking (DHCP, etc.)

- Add to /etc/dhcp3/dhclient.conf so that the computer will send its domain name to the DNS server:

send host-name "g7u";

send fqdn.fqdn "g7u.prancin.com.";

send fqdn.encoded off;

send fqdn.server-update off;

Then release the DHCP lease and acquire a new one (see below).

- Restart the network:

# /etc/init.d/networking restart

# /etc/init.d/network restart

# ifdown eth0

# ifup eth0

# ifdown eth0 && ifup eth0

# ifdown wlan0

# ifup wlan0

- Explicitly release DHCP lease:

# dhclient -r

- Get a new lease:

# dhclient

Restart GNOME (gdm)

Ctrl+Alt+F1, then:

sudo killall gdm

sudo startx