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.
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.
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!
Have you heard of defects per Lines of Code (Defects/KLOC). My company was asked to evaluate third party software application development. One of my measurements is to use Defects/KLOC.
You may argue that Defects/KLOC doesn’t supply enough information about Product Quality. But one thing for sure is if the rate of Defects/KLOC for the similar products is high, there is certainly something wrong with development process or developer skills.
I noticed that if development follows well defined architecture might help reduce such Defects/KLOC rate. This is what I noticed from evaluating one of Ruby on Rails projects.