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.
{{:ressources:ubuntu:ubuntu_eee.jpg|}}
==== 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 ====
- Download [[http://www.ubuntu.com/getubuntu/download|ubuntu]]
- reboot your computer and boot on the ubuntu cd (no install)
- Download [[http://www.ubuntu.com/getubuntu/download-server|ubuntu server edition]] (advanced options : 32bit version)
- connect the usb stick
- launch usb-creator-gtk (see [[https://help.ubuntu.com/community/Installation/FromUSBStick|FromUSBStick]] tutorial)
- make your stick a bootable install device selecting the ubuntu server edition iso that you have selected
- shut up your computer
==== Getting preparing the eee box ====
- your eee box must be connected to internet using ethernet cable (wifi configuration would be a waste of time)
- connect it to a screen, you will need one for at least 15 minutes
==== Direct installation ====
- boot the eee box pressing F8
- configure your keyboard, etc.
- install the server on the whole disk (do you really need Windoz Vispa® ?)
- 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 !
- installing ubuntu server edition
- choose LAMP preconf
- install and configure [[bonjour]]
- install and configure [[proftpd]]