1

Does anyone know if it is possible to install Ubuntu server headless?

I do know of the ability to output a terminal to a COM port, BUT, I was wondering if there was a way to drop a prompt, install SSH, and relaunch the setup through SSH.

Natalie Adams
  • 745
  • 1
  • 6
  • 15
  • See http://serverfault.com/questions/21255/ http://serverfault.com/questions/57305/ – Zoredache Nov 07 '09 at 01:03
  • I kind of answered my own question from this tutorial: https://help.ubuntu.com/community/Installation/NetworkConsole though I don't know if it will work the way I want. I am installing using it right now so we will see. – Natalie Adams Nov 07 '09 at 01:50
  • 1
    If that works for you, then you should add it as an answer. – Zoredache Nov 07 '09 at 02:28

3 Answers3

2

I used this tutorial https://help.ubuntu.com/community/Installation/NetworkConsole to setup a network console.

Natalie Adams
  • 745
  • 1
  • 6
  • 15
1

Yes, it is possible.

One way to do it would be to setup a debian/ubuntu livecd that boots up with an SSH server running. Then you can ssh in manually partition and create file systems, and then run debootstrap. This method of installation is pretty advanced, you will have to have a pretty good understanding of how to build filesystems, how to setup boot loaders and so on.

You could even skip the livecd step and netboot a linux environment that starts up an SSH server.

Another method might be to completely automate the installation by remastering alternate installer cd with a preseed file.

Zoredache
  • 128,755
  • 40
  • 271
  • 413
0

You want to use the same way that you can install Debian on NASes and other small systems that don't have graphics hardware -- you just have to have the network-console udeb installed into your installer environment. This then starts up an SSH daemon that you can connect into and do what you want to do. That appears to be what the Ubuntu wiki article you linked to does, although it does remind me why I don't use install CDs any more -- PXE booting all the way.

Also, think very carefully whether you want to stick with manual installs, or just do fully preseeded installations -- by the time you're faffing around rebuilding ISOs, you may as well just go the whole hog and preseed the entire install. That saves you time and hassle all round.

womble
  • 95,029
  • 29
  • 173
  • 228