Home > linux > Installing Ubuntu Server through SSH

Installing Ubuntu Server through SSH

November 7Hits:2

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.


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

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.

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.

Related Articles

  • Installing Ubuntu Server through SSHNovember 7

    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. ------------

  • Install Ubuntu Server via SSHJanuary 13

    I registered for a domain and a online hosting on GoDaddy.com. I only have access to it via their website and SSH. Is there any way to install Ubuntu server on this so that I log into Ubuntu via SSH instead of the current OS? --------------Solutions-

  • Install Ubuntu Server w/o Monitor? November 13

    I have a headless storage server with preconfigured Windows Home Server. How can I install Ubuntu without a display? Do I have to build a custom install flash drive? If so, what would be the basic procedure? Is there a program (like unetbootin) to do

  • Important things to do after installing Ubuntu ServerJune 15

    I just installed Ubuntu Server on a VPS. To configure the server I'm reading the Ubuntu Server Guide. But the Ubuntu Server Guide doesn't tells me everything. E.g. The Ubuntu Server Guide doesn't tell me about how to secure SSH, which is, in my opini

  • Connecting to Ubuntu server via SSH externallyAugust 29

    I have recently installed Ubuntu Server 12.04 (Precise Pangolin) and intend to use it primarily as a file server. I am completely new to Linux, so this is a pretty big learning curve. Yesterday I was able to configure PuTTY on my Windows 7 machine us

  • Installing Ubuntu Server on a Virtual BoxJanuary 5

    If I install Ubuntu Server Version on a Oracle Virtual Box in Windows XP will I be able to access the ubuntu server from outside the windows xp using a SSH tool like putty and Win-Scp. --------------Solutions------------- Yes, VirtualBox installs a v

  • How to install Ubuntu server with basic VGA only instead of loading graphics card driverJuly 30

    I have an Intel DN2800MT motherboard with a graphics card that isn't well supported. I'm able to completely install Ubuntu server on the machine, but when it boots after install I get a kernel panic, presumably because the graphic driver is tanking.

  • Install Ubuntu server on one computer, then soon as possible control it (via terminal) through anotherApril 15

    I tried to set up a home network the other day, and wanted to set my old computer up as a file server. So, I installed ubuntu server on it. Once installed and logged in, I realsied that some of the keys are not working. Mainly the forward slash and r

  • Installing ubuntu server using Network Console

    Installing ubuntu server using Network ConsoleOctober 13

    I have a bit of a weird situation, I have a laptop (an old Macbook 3,1) with a half broken screen. I want to install Ubuntu server on the computer but it turns out to be quite a difficult endeavour. the best option I've found is using the Network con

  • Installed Ubuntu Server - need to remote accessNovember 12

    Hi I installed Ubuntu server on a machine, it is a server machine hence the graphic card is very poor; its a VGA. I cant access all of my screen, can only see the top 70 %, i tried changing the resolution but that didn't help either. Now I want to ac

  • Installed Ubuntu Server on old Compaq Desktop - Fans run full-speed all the time. What to look at?July 15

    I installed Ubuntu Server on an old Compaq Desktop machine, for a development server. (Don't have the model number handy, can verify later). But when it's on, it seems the fans run loud constantly, and never go quiet or adjust, as I have noticed it w

  • Can you install Ubuntu Server in a Windows PC VM on Windows 7?

    Can you install Ubuntu Server in a Windows PC VM on Windows 7?August 15

    I am running Windows 7 64-bit. I've installed Windows Virtual PC and Windows XP Mode successfully. Next, I downloaded Ubuntu Server 9.04 32-bit. I created a new virtual machine with a dynamically expanding .vhd, loaded the Ubuntu .iso, and booted the

  • IBM HostRAID not detected when Installing Ubuntu server 9.10March 11

    I'm wanting to install Ubuntu Server 9.10 onto an IBM xSeries 306m. The onboard SATA RAID controller is not being correctly detected. Has anyone had experience installing Ubuntu or Linux onto one of these machines and encountered this problem? The SA

  • Is it possible to install Ubuntu Server 10.04 *from* a USB drive?June 15

    I've tried the Universal USB Installer from PenDrive, and put 10.04 Ubuntu Server on it. But when I boot up and try to install, it looks for a Ubuntu CD ROM, which I do not have. I thought the whole point is to be able to install from a USB, which se

  • How do you install Ubuntu Server with a custom kernel?July 23

    I'm installing Ubuntu Server in a machine that has certain RAID controller not supported by the default kernel. A patch for the kernel has to be downloaded and compiled as a module for this to work. As this is going to be the booting volume, the modu

  • How to install Ubuntu server on a Dell R210 with S100 raid controllerSeptember 30

    I'm trying to install Ubuntu server on a R210 with a S100 raid controller. It's a software controlled RAID, and it's not recognized in Ubuntu. So I guess I have to disable it and use the software raid provided in Ubuntu (mbabm). I'm a bit lost about

  • Why do I get a purple screen whilst installing Ubuntu Server 11.04

    Why do I get a purple screen whilst installing Ubuntu Server 11.04July 15

    I'm trying to install Ubuntu Server 11.04 on an 64-bit AMD machine. The install goes fine until after "Loading additional components", then I get a blank purple screen with a responsive cursor at the bottom. I've looked everywhere and can't find

  • Installing Ubuntu Server on MacMini Server 5,3October 6

    I've gotten hold of a neat new Mac Mini, i7 processor, 2x500GB hard drives and so on - model MacMini5,3. (from sysctl hw.model) I now want to install Ubuntu Server on it as I am not super comfortable in OS X Server. My problem is that while I can mak

  • Is it a good idea to install ubuntu server on mac mini server machine? February 11

    I bought this to do LAMP development, but I'm tired of all the restrictions and simplicity that comes with Mac Lion Server, I wanna install ubuntu server on that machine and say good bye to all the GUI niceness that comes with it. I have two question

  • Install Problem (Ubuntu Server 10.04) with USB as it reboots when I hit 'enter' for 'Install Ubuntu Server' option! HelpFebruary 18

    We cannot seem to install Ubuntu Server with USB as it reboots when I hit 'enter' for 'Install Ubuntu Server' option. My friend wants to try setting up a server so; we downloaded Ubuntu Server 10.04.4 we created a boot CD and installed ubuntu server

Copyright (C) 2017 ceus-now.com, All Rights Reserved. webmaster#ceus-now.com 14 q. 0.774 s.