dwit566's blog

I am a big fun of Chrome browser, and can not live without its powerful extensions and applications when I surf the Internet. Several months ago, I tried to apply a CR-48 Chrome notebook, but got no luck. For my final project, I am interested in installing Chrome OS on my laptop.

According to this Tutorial : How to run Chrome OS in Virtual Box, there are two components need to be downloaded:

I installed Virtual Box OSE from Ubuntu software center.

Thanks for Dan’s Blog about the Chorme OS project, I found the hexxeh website to download the latest available Chrome OS image for Virtual Box.

Then, I set up the Chrome OS in Virtual Box by following the steps in Chrome-OS blog.

Here are some screenshots of my Chrome OS project:

Login interface:

Chrome OS running in Virtual Box:

Samba installed

Samba is a good choice for sharing files between Ubuntu and Windows computers. I installed Samba by following a tutorial in  Create,Modify,Delete samba shares with system-config-samba(GUI) in Ubuntu Linux.

1. Install Samba server

sudo apt-get install samba smbfs

2. Make configuration ( I followed the guides in How to install Samba server on Ubuntu )

3. Install system-config-samba

sudo apt-get install system-config-samba

4. Create new share

For a test, I created a share of my Downloads folder.

5. Get access to the share folder from Windows PCs

I went to Computer ——> Map network drive, and type:

\\IP address\Downloads

Then, I connected to my server successfully!


Drush Installed

Updated on 3/31/2011

As I mentioned in Install Drupal7 on my server, I didn’t configure Apache2 for Drupal. I think that’s the reason why I couldn’t manage modules by Drush, though I have installed it successfully. In addition, I missed the last pargraph on the tutorial from which I borrowed the command lines to install Drush in my first attampt:

Some machines might not have the right folders created, so either update the paths above to match your environment, or use touch to create them:
sudo mkdir /usr/local/share/sudo mkdir /usr/local/bin/

According to Drupal Documentation,

If you are working from the command line on a Linux, Unix or OSX server you can create a symbolic link using the following command:$ ln -s /path/to/actual/file/or/directory name_of_shortcut

So I updated the path to match my environment, and downloaded Corolla theme and some modules such as “tweetbutton”, “addtoany” and “Administration menu”.

Above is the screenshot of installing “Corolla” theme. I couldn’t download it by typing “drush dl corolla” in the command line. However,  it works when I tried “sudo drush dl corolla”. I installed other modules in this way.

Then I encountered the second problem. The “tweetbutton” shows only if I logged into my Drupal site. In order to fix it, I clicked the “modules” on the menu bar, and set the “permission” to anonymous and authorized users.

Thus, the tweetbutton shows in my post, and everyone can tweet it.

Here is my drupal with new theme “Corolla”:



First try on 3/28/2011:

According to the introduction on its offical site:

Drush is a command line shell and scripting interface for Drupal, a veritable Swiss Army knife designed to make life easier for those of us who spend some of our working hours hacking away at the command prompt.

” How fast can you install modules?” The video below shows you “Drush takes what normally is a tedious task and turns it into a delightful experience.”

Here is a very concise article: How to install Drush server-wide in less than one minute. I checked the latest version of drush and downloaded it by typing the following commands in the Ubuntu Terminal window:

cd /usr/local/share/

sudo wget http://ftp.drupal.org/files/projects/drush-7.x-4.4.tar.gz

sudo tar zxvf drush-7.x-4.4.tar.gz

sudo rm drush-7.x-4.4.tar.gz

sudo ln -s /usr/local/share/drush/drush  /usr/local/bin/drush

sudo drush

I have been trying to install modules such as cck or tweetbutton by using Drush, but had no luck. I am confused about how to “add drush to my path”, even though I searched a lot of articles. I will ask for help in our IT566 twitter group.

Updated on 3/31/2011

My reflection on the first failed attempt:

1. I didn’t configure Apache2 for Drupal. I think that’s the reason why I couldn’t download modules by Drush. There was no “Drupal” file under the /var/www/. Even though my drupal6 site  http://dwangit566.dyndns.org/drupal6/ is accessible, it hasn’t been downloaded on my server!

2. The IP Address hosted on DDNS changed after I installed drupal6! I have already fixed this problem. Thanks to Jason (jbIT566) and Julie (clem0613) for giving me feedback about the unaccessibility of my drupal site.

This time I installed Drupal7 on my server. I followed the steps indicated in this article: How to install drupal 7 on ubuntu.

Then, I navigated  to Apache’s host name and follow drupal 7 installer to complete drupal installation.

Here is the screen shot of my drupal7 site:

URL: http://dwangit566.dyndns-server.com/drupal/


First try on 3/28/2011


1. Install Drupal by using Ubuntu Terminal window:

sudo apt-get install drupal6

After the installation, you will:

a.  Choose mysql as database type

b.  Set up administrative account password

c.  Login Mysql application password for drupal6

2. Restart the web server

sudo /etc/init.d/apache2 restart

3. Configure database for drupal6

According to this article: How to install drupal6 at Ubuntu, you need to open this link: http://localhost/drupal6/install.php to see the Drupal install pages.

3.Configure your Drupal site


4. Check Drupal site in your web browser:

Here is mine: http://dwangit566.dyndns.org/drupal6/

Create an Mp3

Here are steps for creating an mp3:

  1. Download Audacity & libmp3lame0 from software center
  2. Open a CD by clicking the right button and browse folders
  3. Copy one of the music files in .wav format and paste it on the desktop
  4. Open  Audacity and click “File – Import – Audio – Open” to import the file
  5. Click “File – Export” and choose the file type: mp3

Here is the screenshot of the mp3:

Since WordPress does not allow uploading mp3 without storage upgrade, I just found this Supload site which provides free audio hosting service. You can upload a music file, then copy and paste the html code to your blog or web pages.

Click the link below and enjoy.
Eagles – Take It Easy

Make a LAMP

LAMP stands for Linux, Apache, MySQL, PHP.  After installed everything required by phpMyAdmin, I just did the configuration step by step.

According to a tutorial of phpMyAdmin, you can access your MySQL account with phpMyAdmin using the link like this:


In my case, the link is:


Open the address in a web browser, then log into the interface of phpMyAdmin.

The username and password have been set up when you configure MySQL server. You were asked to set up a new passwaord for the MySQL “root” user. Therefore, the username is “root”.

All right, it’s done. Here is the screenshot:

Set up DDNS

I searched DDNS and navigated to http://www.dyndns.com. It is really nice that they provide free hostnames that work with the dynamic IP address.

So I filled out the form to get a free dynamic DNS service. It is very convenient,  just like filling the order form on Amazon.

After activating my account, I opened the default IP address of my router (Http:// Since the dd-wrt have already been installed, I just filled out the username, password and the hostname.

Here is the screenshot of my site:

The URL:  http://dwangit566.dyndns.org


Get every new post delivered to your Inbox.