Apache Mod_Rewrite-WP Permalinks

Setup WordPress Permalinks (Pretty / Clean URLS) on Apache under Linux (Ubuntu):

Check for Apache Mod_ReWrite – Following lists all the loaded modules

sudo apache2ctl -M

Enable Mod_Rewrite

sudo ln -s /etc/apache2/mods-available/rewrite.load /etc/apache2/mods-enabled/rewrite.load

Restart Apache

sudo /etc/init.d/apache2 restart

Setup Permalinks in WordPress

/%monthnum%/%postname%

Setup VNC in Ubuntu 10.10

Install VNC4Server

sudo apt-get install vnc4server
nano /home/yourusername/.vnc/xstartup
#!/bin/sh

# Uncomment the following two lines for normal desktop:
# unset SESSION_MANAGER
# exec /etc/X11/xinit/xinitrc

#[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
#[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
#xsetroot -solid grey
#vncconfig -iconic &
#xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &

unset SESSION_MANAGER
sh /etc/X11/xinit/xinitrc

Start VNC Server

vncserver :1

Kill VNC Server

vncserver  -kill  :1

Got the Idea of setting up the $HOME/.vnc/xstartup file from TechTopia

Ubuntu 10.10 – Slow Internet

Fresh install of Ubuntu 10.10 (Maverick Meerkat), internet browsing, apt-get was very slow in Firefox, Chrome, I had to disable IPV6 at boot level and now browsing and apt-get update has improved, follow the steps below :

gksu gedit /etc/default/grub

Change the following line :

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"

TO the following (Disabling IPV6)

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash ipv6.disable=1"

On a Terminal, update grub by :

sudo update-grub

Ubuntu 10.0.4 | Slow Internet Browsing

Just installed Ubuntu 10.0.4 on a new Dell System and was experiencing slow browsing speeds with firefox on a 10Mb cable connection, a google search revealed the following (Have yet to try though – I have disabled ipv6 in firefox as per the article, will see if that helps after a restart of firefox).

Article Source | SAZEIT | UbuntuTweaks

In some cases disabling IPv6 can make a big difference in Firefox’s performance.
The Simplest way to turn off IPv6 protocols is to type: about:config in Firefox’s url address bar, then, in the filter type:IPv6.
The first line will read:network.dns.disableIPv6...default...boolean....false
Double-click the line to toggle it to true instead of false

Doing the above and restarting Firefox has definitely improved the browsing experience and sites are loading as normal, I will have a look on how to disable IPV6 System wide and will report back on that too, but so far I think just disabling in Firefox has done the trick – Thanks Sazeit

To disable IPv6 for the entire system, open a terminal and type:

sudo gedit /etc/default/grub

Now find the line that reads:

GRUB_CMDLINE_LINUX=""

and change it to:

GRUB_CMDLINE_LINUX="ipv6.disable=1"

Save, exit and restart.
You might want to time the loading of a couple of different sites before making the changes so you can gauge the effectiveness of the tweak.
In my case Firefox beat Google Chrome hands down with this tweak, but results will vary depending on your hardware.

%d bloggers like this: