It works

I’ve installed Ubuntu Server 10.4.1 LTS 32 bit on VBox.  I couldn’t get it to work before since it doesn’t allow me to use bridge networking since I don’t have LAN setup with me.  There’s no other choice as of the moment but to use NAT (Network Address Translation) so that services in the guest OS will be accessed by the host OS.

Now, there’s this handy little thing in the latest VBox 4 release called Port Forwarding.  I’ve configured it to forward port 8080 from host, to the guest at 80.  Accessed it, and the response was: It Works! (Apache HTTPD usual response)

Cheers!

Most parts done

I’ve installed most parts of it done. (for the desktop that is)

What I still have to do:

  • Install and make the server working
  • Test it so that a web-server inside VBox should be accessed outside the chain, in the guest OS
  • If this is done, install the following:
    • Nexus Maven repository
    • PostgreSQL database
    • Adempiere Server
    • Apache Web server
    • Team City build server (or Hudson)
  • Make a backup of this installation so that when I screwed up later on, I can immediately put it up.

Installing Ubuntu on my server

In anticipation of a server for business purposes, I downloaded Ubuntu Desktop and Server 64 bit.  The desktop edition for general operating system overall (for my sanity as well as entertainment – see I cant live without hearing music.); the ubuntu server is purposely to be run under a VirtualBox chain.  Servers will be divided on to two parts, one is for dev-server (I am hosting Adempiere open source) and another two is for the real app-server clusters and load balancing.

Now after burning the 2 edition CD’s, I installed the desktop to no avail.  So I downloaded the 32 bit version and alas it installed.  This means that I cannot install the 64 bit version of the Ubuntu Server, but I have to download another 32 bit version of the server. Life sucks.  My processor is an Intel Core 2 Duo which I am sure it supports EM64T.  Well, if it doesnt, the Ubuntu Desktop 64 bit wouldn’t run a bit up to the “Install Ubuntu” graphical desktop part; however somewhere along the way, it almost always produces “Installation Crashed” for reasons I don’t know.

Now, I have installed desktop edition 32 bit. List that I still have to download and contain myself for now.

  • Download the Ubuntu Server 32 bit also.
  • Install VirtualBox
  • Install Java
  • Install Tomcat
  • and since I am a developer, it would do me a great deal of favor if I installed IntelliJ IDEA also.

While browsing along with the Entertainment section of Ubuntu, I found a great deal of free and fun softwares. Shit, open source really rocks!!! =)

Desktop (client) specs computer hardware

Here’s my mini-server specs: https://gerardlee.wordpress.com/2011/01/22/server-specs-computer-hardware/

For desktop client use:

  • Ordinary PC capable of Java applications
  • Cash drawer
  • POS-like structure
  • Barcode Scanner
  • Barcode Printer
  • Dot-Matrix receipt printer
  • Laser jet or Photo printer with CISS capability.

Server specs computer hardware

Here’s the desktop specs: https://gerardlee.wordpress.com/2011/01/22/desktop-client-specs-computer-hardware/

For buying:
Casing:
Orient Transformer with 600W Yellow/Red/Gray        1,550.00

Processor:
AMD Athlon II X3 400 3.0Ghz                            3,250.00

Motherboard:
Emaxx AMD880HD3-Pro                                    2,700.00

Memory:
4GB DDR3 1333 Emaxx (2-yr wty)                        2,100.00        8 GB
4GB DDR3 1333 Geil Single (2-yr wty)                2,350.00

HDD: (for data storage)
500GB Seagate 7200RPM 16MB (2-yr wty)                1,950.00
500GB Transcend Storejet with Anti-shock            3,650.00

Graphics: (for monitor)
Palit GF 9800GT 512MB 256Bit DDR3 Green Edition        3,600.00

Mouse:
A4Tech G7-630-5 2.4G Wireless Optical                  690.00

WiFi: (for internet access)
TP-Link TL-WN821N USB WiFi Adapter                    1,150.00        2 pcs

UPS: (for power outages; no server should be down)
1200VA Powergarde UPS with AVR                        3,400.00        1

Optical Drive: (for data backup and server installation)
Liteon ETAU108-32 8X External DVD-RW                2,150.00        1

Total:                                                31,240.00

Network cabling:
UTP Cable (per box)                                    1,250.00        1 box
RJ 45 Connector                                            3.00        20 pcs