Kubuntu distro notes

Blogged by webmilhouse as Linux — webmilhouse Thu 14 Jul 2005 2:17 pm

I have started to use kubuntu as my primary Linux desktop distribution and it is great. It has the power of Debian’s apt-get at its heart and but is only 1 CD to install. Only those

Here are my notes on my install:

For OpenOffice2 beta install, add backports to /etc/apt/sources.list:
deb http://ubuntu-backports.mirrormax.net/
hoary-backports main universe multiverse restricted
deb http://ubuntu-backports.mirrormax.net/
hoary-extras main universe multiverse restricted

Add packages: gnupg, kleopatra, eclipse (manual), j2sdk (manual), emacs

Firefox plugins/themes:
del.icio.us post 0.4
adblock v.5
pdf download
tabbrowser preferences
live http headers
wikipedia
user agent switcher
theme: plastikfox crystal svg

Icons:
Umicons: http://www.kde-look.org/content/show.php?content=7214

Green tea: http://kde-look.org/content/show.php?content=7746

Background: http://www.deviantart.com/deviation/13073889/

kvpnc (try it):
http://www.kde-apps.org/content/show.php?content=12570

Tux cards: http://www.tuxcards.de/

IM w/ AIM Gateway:
apt-get install psi
-- bloodyxml.com - Jabber
-- aim.chote.com -- AIM Transport

Eclipse:
To get shortcut/kmenu to work:
/home/webmilhouse/eclipse31/eclipse -vm /usr/local/j2sdk1.4.2_08/jre/bin/java

Nvidia drivers:
apt-get install nvidia-glx nvidia-kernel-headers nvidia-setting

Mod_rewrite recipes

Blogged by webmilhouse as Linux, Web Development — webmilhouse Wed 13 Jul 2005 9:21 pm

Apache’s mod_rewrite module has some extremely powerful features. It is one of the best modules ever. Here are some common rewrite rules:

1. Rewrite requests for one domain to another:

RewriteCond %{HTTP_HOST} ^www.domain1.(com|net|org|us|aero) [NC]
RewriteRule ^/(.*) http://www.domain2.net/ [R]
RewriteCond %{HTTP_HOST} ^(www|foo).domain1.us [NC]
RewriteRule ^/(.*) http://direct.domain2.net/ [R]

2. Rewrite all HTTP requests for a directory to HTTPS:

RewriteCond %{HTTPS}             !=on
RewriteCond %{REQUEST_URI}        ^.*/dir/.*
RewriteRule ^/(.*) https://%{SERVER_NAME}/$1  [L,R]

3. Simple directory rewrite for same domain:

RewriteRule ^/dir1 /go/dir2/index.html [L,R]
Proudly powered by wordpress 2.7 - Theme based on Back in Black 2 by neuro, modded by me.