Differences
This shows you the differences between two versions of the page.
|
ressources:ubuntu:install [2010/03/05 10:15] gaspard created |
ressources:ubuntu:install [2010/03/17 17:45] (current) gaspard |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| Boxes like eeeBox or mini-pcs are quite good low-consumption servers, | 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. | + | 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. |
| - | * https://help.ubuntu.com/community/Installation/FromUSBStick | + | {{:ressources:ubuntu:ubuntu_eee.jpg|}} |
| - | * https://help.ubuntu.com/community/Installation/FromImgFiles | + | |
| - | * https://help.ubuntu.com/community/Installation/MinimalCD | + | |
| - | * http://www.debuntu.org/how-to-install-ubuntu-linux-on-usb-bar | + | ==== 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 : | ||
| + | <code>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</code> | ||
| + | |||
| + | To prevent this, first update the package repository list with | ||
| + | <code bash>sudo apt-get update</code> | ||
| + | |||
| + | Then install openssh-server | ||
| + | <code bash>sudo apt-get install openssh-client openssh-server</code> | ||
| + | |||
| + | 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. | ||
| + | <code bash>ifconfig</code> | ||
| + | |||
| + | On the eth0, the answer is : 192.168.0.20, could you find it ? | ||
| + | <code>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 | ||
| + | </code> | ||
| + | |||
| + | ==== 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. | ||
| + | <code bash>ssh gaspard@192.168.0.20</code> | ||
| + | |||
| + | That's all folks ! | ||
| + | - <del>installing ubuntu server edition</del> | ||
| + | - <del>choose LAMP preconf</del> | ||
| + | - install and configure [[bonjour]] | ||
| + | - install and configure [[proftpd]] | ||