dwit566's blog

Archive for February, 2011

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

Making my machine accessible (Done)

I posted a blog last week about how to overcome this challenge, but when I tried to access my site at other places, it did not work. I think it’s a big mistake that I was trying to configure my router on campus. My apartment provides free wireless Internet  networks so that I don’t need to use Comcast service. Thus, I was trying  to set up the server at my friend’s lab. However, according to the policy of the wireless network, routers not approved by University POA are not allowed on the network at UTK. (http://oit.utk.edu/helpdesk/kb/entry/118/)

OK, I have to find a new place and do it again……

I decided to set up my server in my friend’s home. He has been using a Motorola SURF board Wireless Cable Modem gateway. It combines a modem and a wireless access point.

In my first attempt, I have already installed Apache on my server. Thus, I just configured Apache and fixed the error about server’s fully qualified domain name. Then, I edited the index.html by following the tutorial mentioned in Clem0613’s blog.

Then, I tried to configure the routers. I connected them in this way:

I logged into the Motolora modem/router by using the default IP from another laptop, and found the IP address of ASUS router( In the configuration interface of Motorola router, I also got the IP address of WAN: After that, I set up the port forward from Motolora modem/ router to ASUS one.

Afterward, I typed “ifconfig” in Ubuntu Terminal window and got the IP address of my server: Http:// Then, I opened ASUS router IP address (Http://, and set up port forward from ASUS router to my server.

Well, it is a little bit complicated because of two routers. However, it really works.

Check this out:

Installed dd-wrt on my new router

Here is my new router ASUS WL-520GC bought from Amazon. Since my old router is not compatible with dd-wrt, I just purchased a new one. Before I made the order, I checked the review of this router and made sure that someone had installed dd-wrt on it successfully.

After I got it, I went to http://www.dd-wrt.com and searched my router on the database. It’s supported!

Then, I searched my router’s IP address in google, and got, as well as the default user name and password.

After that, I searched the key words “install asus wl520gc dd-wrt ”  and got a useful link: http://www.dd-wrt.com/wiki/index.php/ASUS_WL-520GC. I just followed the clear and concise guidance  to install dd-wrt on my router.

Here is another article about the installation with screenshots. http://www.sillychicken.co.nz/General/asus-wl-520gc-dd-wrt-firmware.html

Installed LibreOffice

First, I searched LibreOffice in Google and downloaded it on my Ubuntu. When you visit their official site, they will detect your computer system and offer you the right download.

Then, I also searched “install LibreOffice in Ubuntu 10.10” and got a very useful article http://www.muktware.com/news/21/2010/392. I opened Ubuntu Terminal window and installed LibreOffice just by following the tutorial. When the installation was done, I checked Applications- Office, and found that it has been installed on my machine successfully!

How to make it the default for double-clicking a .odt/.doc file? Well, I  right-clicked an existing .doc file and opened Properties. Under the “Open with” tab, I changed the application to open files of type “Word Document” from OpenOffice to LibreOffice.

When I double-click the document, it works!

Installing software 3+1 ways

1. Installing software in Ubuntu Software Center (Application – Ubuntu Software Center) is the most direct way.
You can install software from departments such as education, developer tools and Office. I used the search bar on the top right corner and installed Chrome which is my favorite web browser.
2. You can also install software in Synaptic Package Manager (System – Administration – Synaptic Package Manager). I searched and installed “XPDF” which is a light-weight PDF viewer. When you check the “Mark for Installation”, a window may pop out and ask  if you would like to mark additional required changes, because some other packages are affected during installation. You can just click “Mark” and “Apply” to install them all.
Here is the screen shot of XPDF:
3. Many developers or “Geeks” prefer to install software by using the Ubuntu Terminal (Applications- Accessories – Terminal), because they are familiar with Linux commands. Here is an introduction to  Using the Terminal in Ubuntu Documentation.  I installed Abiword which is a free word-processing program similar to Microsoft Word.
4. Sometimes, you can just go to the official site of software and check if it is available for Linux. I downloaded Dropbox on Ubuntu so that I can sync some folders from another Laptop.