Halloween Specials: Unmetered and Unlimited Web Hosting Space

Its Halloween and Holiday Specials!

I’m giving away two promotion codes for Dreamhost Web Hosting

The first promo-code is MYLINUX, that will get you

  • 1 Unique IP Address
  • 1 Free Domain with Hosting Account
  • 97-day money back guarantee
  • Unlimited Storage, Unmetered Bandwith
  • Shell account (SSH, SFTP, FTP) access
  • Up to $75 Google AdWords credit included!
  • Support PHP5/MySQL5,Ruby,Python
  • All this for only USD 90!

The second promo code is, HALLOWEVE, this one will get you :

  • 1 Free Domain with Hosting Account
  • 97-day money back guarantee
  • Unlimited Storage, Unmetered Bandwith
  • Shell account (SSH, SFTP, FTP) access
  • Up to $75 Google AdWords credit included!
  • Support PHP5/MySQL5,Ruby,Python
  • All this for only USD 75 for a year or 140 for two years registration!

You can redeem your promo codes now at Dreamhost Web Hosting!

p/s: Dreamhosts box runs Debian GNU/Linux operating systems

How to use SCP on Linux or other UNIX-based Environment

SCP is used to copy files securely over network. In order to use SCP, the remote host must be configured to use SSH server (OpenSSH on Linux system, including Ubuntu) and the user must have an account on remote server.

scp syntax is easy,


local:~$ scp <source> <username>@<remote_host>:<destination>

Example for copying local file to the users home directory on remote host, you can replace mypapit with your own username

local:~$ scp id_rsa_.pub mypapit@remote.host:~/

id_rsa.pub 100% 392 0.9KB/s 00:00

local:~$

To list the file on the remote directory, just run

local:~$ ssh mypapit@remote.host ls

temp_file.txt id_rsa.pub

and the content of remote directory will be displayed.

Copying file recursively
To copy file recursively, you only need to add “-r” switch. Add -v for verbose output.

Example:

local:~$ scp -rv ~/* username@remote.host:~/backup

Conclusion
SCP is easy to use especially when you want to copy or upload files from client to server without the use of FTP server. Additionally, the content of the files transfered is encrypted over SSH communication and you get the benefit of simplicity while working on the console.

Ubuntu 10.10 (Maverick) installation: 3rd Party Software and Codecs automatic download feature

Ubuntu 10.10 (Maverick Meerkat) has been released! Hopefully some of you have already downloaded the ISO file and installed it on your computer. I’ve yet to install Ubuntu Maverick Meerkat in my computer because I prefer to use the 10.04 Long term support (LTS) release on my file server.

However, I manage to test out the Maverick Meerkat installation on my virtual machine, where I found two things of note. First is that the installer and installation step has been simplified with fewer dialogs and secondly, the installer presents a choice dialog, which enable users to download 3rd party software and codecs to enhance their experience while using Ubuntu. In my opinion, this is probably one of the best decision made by Canonical, which enables new users to download proprietary codecs without distributing it on the installation CD.

ubuntu maverick installation cd

As long as the users are connected to a high speed internet connection, the installer is able to download 3rd party codecs to enable users to enjoy it.

Speed up internet access and browsing in Ubuntu by disabling IPV6

This post is related to “Solving Slow Firefox Web Browsing and Internet app problem“.

This problem is very noticeable in Ubuntu 9.10 (Lucid) onwards and it affects Ubuntu 10.04 (Karmic) too at a certain degree. Even my friend, piju the Ubuntu members also experienced this problem.

To remedy this, another suggested solution (from Brian Yang) is to disable IPV6 completely from Ubuntu.

To do that, you need to add the following lines to /etc/sysctl.conf file


#disable IPv6
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
net.ipv6.conf.lo.disable_ipv6 = 1

Then you have to reboot, and you can check whether IPv6 has been disabled by running this command:
cat /proc/sys/net/ipv6/conf/all/disable_ipv6

It should display : 1

Note that this “bug” cause internet experience on Ubuntu seems to be perceived as “slower” than the windows machine as it causes delay on DNS lookup.

p/s: I know we should migrate to IPv6 by now, and Ubuntu did a good job, but for the sake of productivity and some users are complaining about the comparison between the internet surfing speed between Ubuntu and other operating system, I felt that something need to done, hence the posts.