Blog for IT technical details

April 14, 2009

install Ubuntu Server Edition

Filed under: Application Development Improvement — Tags: , — admin @ 12:52 pm

The basic steps to install Ubuntu Server Edition are the same for installing any operating system from. You may need to get used to a console menu based process.

* First, After you download and burn the appropriate ISO file from the Ubuntu web site.
* Boot the system from the CD-ROM drive.
* At the boot prompt you will be asked to select the language. Then the installation process begins by asking for your keyboard layout. You can say “No”. The installer then discovers your hardware configuration, and configures the network settings using DHCP or configure the network manually.
* Next, the installer asks for the system’s hostname and Time Zone.
* You can then choose from several options to configure the hard drive layout. Please remember that you should not install LAMP package at this initial set up.
* After Ubuntu base system is then installed, a new user is setup, this user will have root access through the sudo utility. After the user is setup, you will be asked to encrypt your home directory.
* The next step in the installation process is to decide how you want to update the system.
* Finally, the last step before rebooting is to set the clock to UTC.

[Note]

At some point during the installation process you may want to read the help screen provided by the installation system. To do this, press F1.

Simple Rails production server setup in Ubuntu Part 1

Filed under: Application Development Improvement — Tags: — admin @ 12:29 pm

I did some but little work on Ruby on Rails and I have no experience to deploy ruby on rails application in production envirnment. But I just follow the the steps I listed and I can successfully deploy ROR application without any problems. Beside the steps I us, I will show you how to solve the common problems you will encounter.

For the software used, please refer toSimple Rails production server setup in Ubuntu post.

First you need to set up Ubuntu server. You can get Ubuntu server edition. There is an excellent post showing you how to set up Ubuntu server. I will show you very simple way late when I have time.

Install the following packages.
MySQL database software; server application, client application, and client libraries
Apache web server v 2.0 or later
Ruby language interpreter v 1.8.6 or later, with mySQL support, Ruby on Rails libraries, and the Mongrel application server
Mail Transport Agent, such as Postfix or Sendmail
Cron scheduling daemon
SSHd server application for secure management.

Then put up the following third party plugins.
The ruby on rails application contains the following third party plugins.

sql_session_store
quickbooks_integration
BlueCloth-1.0.0
activeresource
uuidtools-1.0.3

Final set up production.

Stay tuned.

April 8, 2009

Simple Rails production server setup in Ubuntu

Filed under: Application Development Improvement — Tags: , , — admin @ 8:52 pm

My boss asked me to set up environment for a ruby on rails application in the following environment.

MySQL database software; server application, client application, and client libraries
Apache web server v 2.0 or later
Ruby language interpreter v 1.8.6 or later, with mySQL support, Ruby on Rails libraries, and the Mongrel application server
Mail Transport Agent, such as Postfix or Sendmail
Cron scheduling daemon
SSHd server application for secure management.

The ruby on rails application contains the following third party plugins.

sql_session_store
quickbooks_integration
BlueCloth-1.0.0
activeresource
uuidtools-1.0.3

I will show you how to set upĀ  step by step.

Stay tune!

April 7, 2009

When booting up to Win XP you may get a error that reads “Unmountable Boot Volume”.

Filed under: Computer Tips — Tags: , — admin @ 9:39 pm

One day my computer which runs Windows XP home edition got the following error When booting up to Win XP , the errorĀ  reads “Unmountable Boot Volume”.

Please do not panic.

You may try the following steps to boot your PC.
1.Insert the Windows XP CD-ROM into the CD-ROM drive, and then restart the computer.

Click to select any options that are required to start the computer from the CD-ROM drive if you are prompted.

2.When the “Welcome to Setup” screen appears, press R to start the Recovery Console.

3.If you have a dual-boot or multiple-boot computer, select the installation that you must access from the Recovery Console.

4.When you are prompted, type the Administrator password. If the administrator password is blank, just press ENTER.

5.At the command prompt, type chkdsk /r , and then press ENTER. It took about 2 hours to finish.

6.At the command prompt, type exit , and then press ENTER to restart your computer.

This takes a bit longer, but the system should boot back into Windows.

Older Posts »

Powered by WordPress