Boxes like eeeBox or mini-pcs are quite good low-consumption servers, let's convert this Asus EEE Box on a tiny yet useful server running ubuntu.

As most of them do not have any CD/DVD player, installing ubuntu on such machines can be a little bit tricky, here is how I did.

Needed material

  • 1 hour
  • 1 asus eee box
  • 1 other computer with cd reader/burner
  • 1 blank cd
  • 1 big usb stick or usb drive (at least 1 Go)
  • 1 ethernet cable + internet connection
  • 1 keyboard
  • 1 screen
  • 1 hdmi cable + hdmi-dmi or hdmi-vga (about 15€)

Getting the files ready

  1. Download ubuntu
  2. reboot your computer and boot on the ubuntu cd (no install)
  3. Download ubuntu server edition (advanced options : 32bit version)
  4. connect the usb stick
  5. launch usb-creator-gtk (see FromUSBStick tutorial)
  6. make your stick a bootable install device selecting the ubuntu server edition iso that you have selected
  7. shut up your computer

Getting preparing the eee box

  1. your eee box must be connected to internet using ethernet cable (wifi configuration would be a waste of time)
  2. connect it to a screen, you will need one for at least 15 minutes

Direct installation

  1. boot the eee box pressing F8
  2. configure your keyboard, etc.
  3. install the server on the whole disk (do you really need Windoz Vispa® ?)
  4. choose the standard LAMP installation

Getting ready for remote installation

You now should have a black screen with blank cursor, that's not the best way to work on a server. First things first, you need to install openssh-server to have a remote access to your flashy new server.

As it is just out-of-the-box, the repositories are not active, if you want to install a specific app like openssh-client, you might have this message :

Package openssh-server is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package openssh-server has no installation candidate

To prevent this, first update the package repository list with

sudo apt-get update

Then install openssh-server

sudo apt-get install openssh-client openssh-server

That's cool, now you could connect externally to your server… but how ? Well, we just need the IP address.

Type ifconfig on the shell and you should have the answer.

ifconfig

On the eth0, the answer is : 192.168.0.20, could you find it ?

eth0      Link encap:Ethernet  HWaddr 00:24:8c:d4:92:cb  
          inet addr:192.168.0.20  Bcast:192.168.0.255  Mask:255.255.255.0
          inet6 addr: fe80::224:8cff:fed4:92cb/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:15431948 errors:0 dropped:0 overruns:0 frame:0
          TX packets:48473672 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:2274580057 (2.2 GB)  TX bytes:1886772788 (1.8 GB)
          Interrupt:27 Base address:0x4000 

Remote access

Depending on the kind of configuration your routeur has, this ip address may change when you reboot.

For now on, just take your laptop and type ssh gaspard@192.168.0.20 and get a remote access, you can unplug the keyboard and the screen if you wishes, we won't need them from now.

ssh gaspard@192.168.0.20

That's all folks !

  1. installing ubuntu server edition
  2. choose LAMP preconf
  3. install and configure bonjour
  4. install and configure proftpd
ressources/ubuntu/install.txt · Last modified: 2013/06/16 22:51 (external edit)
 
 
Creative Commons License Powered by PHP Valid XHTML 1.0 April