Ubuntu

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
Advertisements
CentOS

Install Firefox4 – Ubuntu 10.10

Firefox 4 has been released and downloaded by Millions on its debut – as reported by BBC, to download the latest Fox and update it via apt-get update, type the following command in your ubuntu terminal :

sudo add-apt-repository ppa:mozillateam/firefox-stable && sudo apt-get update && sudo apt-get install firefox

Read the full story of download stats @ BBC

Apache, Ubuntu, WordPress

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%
CentOS

VirtualBox Guest Additions on CentOS 5.5

Install VirtualBox Additions in CentOS 5.5 x86

In your CentOS Terminal, do a “su” and then follow the steps :
1. Attach the Gues Additions ISO to your CentOS 5.5 X86 VM
2. Install the required packages to install VBOX Additions
3. After Installation, change to the directory where you mounted VBOX Additions.iso
4. Execute the Script VBoxLinuxAdditions-x86.run (for 32BIT Virtual Machines)

mount -r /dev/cdrom /media/
yum install gcc kernel-devel kernel-headers
cd /media/
./VBoxLinuxAdditions-x86.run

For X64 (64BIT) Systems, run

./VBoxLinuxAdditions-x64.run
Ubuntu

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

Putty

Putty | Export Settings to different computers

Putty settings can be exported as a registry file – which can then be imported onto other windows based computers, saving you time for re-entering access details, your preferences for different terminal sessions etc.Putty Settings Export

Here’s how to export the settings :

  • Open Regedit
  • Start > Run > regedit
  • Navigate / browse to “HKEY_CURRENT_USER\Software\SimonTatham”
  • Right-click SimonTatham and choose Export
  • Copy the file to a new machine and then right-click and “Merge”