As a newbee, I know what I want, but don’t actually know what I need! And I’m not familiar with the tools.
I want to be able to set this new box up as a server. But I cannot ‘see’ my other devices.
I have another box that I want to connect to. It’s running Windows11 and is very sick and so I need to recover things from it. But that’s just my first goal.
Currently I cannot ‘see’ it from Ubuntu. (or see any of my other PCs/Phones/Whatever) .
pinging it’s IP4 did not get a response.
Both boxes can connect to internet with no problems, and I have no obvious problems with my router.
We can install many things on a Linux kernel. And Linux 7.0.0-27-generic is a Linux kernel. Ubuntu Desktop edition runs on the Linux kernel. So does Ubuntu Server edition. The main differences, as far as I remember, is that Ubuntu Desktop comes with a selection of desktop applications and Ubuntu Server comes with server type applications.
We can install server type applications in a Ubuntu Desktop installation and desktop type applications in a Ubuntu Server installation.
That is why you are being asked: What do you mean by “server.”
What Ubuntu offers has expanded greatly in the last 20 years. Check out
On your Windows 11 PC, you could boot into a “Try Ubuntu” live session and simply copy the files/folders you need to an external disk or USB.
Server software not required for this task.
Yes, it’s the server type applications that I think i need. I don’t know what/which they are or their names.
I’m also a newbee (or well our of date) WRT general linux networking. Yes, the ubuntu documentation is extensive and well structured BUT it is not particularly newbee-friendly.
Regarding my O.P… So far, I’ve learnt that I probably don’t need to re-install with the Ubuntu Server version ISO.
That other box is SO sick and un-fixable (according to Win recovery) that I would prefer not going that path, at least for now. Can boot old box to Win safe mode with internet. But that’s about it.
Tried direct ethernet cable too. No success for this newbee.
You likely don’t need to reinstall. The generic kernel is the default, and most features can be added with apt. Share what you’re missing or any errors you’re seeing, and the community can suggest the right packages or settings.
Then how about telling us what you want? You should probably stop thinking in terms of server/client and just describe what it is you want to do.
So you don’t actually want your Ubuntu box to be a server in that case; you need server software on the other box, e.g. Windows Remote Desktop Server, to which Ubuntu will connect as a client. Or perhaps you just want to share files between the two?
When even ping doesn’t work, something is seriously off. Have you checked the IP address you were trying to ping? Does the Windows Firewall drop ICMP (ping) requests? What are the IP addresses of all systems involved, including the router?
The computer you are connecting TO is the one that needs the server software. So that would be on Windows.
To just recover data, I would take out the Windows disk, plug into Ubuntu USB port using appropriate cables. Ubuntu can read NTFS file system with the right package - I think it’s called ntfs-3g.
Also, if all you want is to get your files from the Windows box to the Ubuntu one via the network, you can just run the live session in “Try Ubuntu” mode on the Windows box and connect to your Ubuntu system with SSH/SFTP. All you need is to install openssh-server on the latter:
sudo apt install openssh-server
Run above command in a terminal and take note of the IP address of the Ubuntu box.
Then, in the live session on the Windows box, open Files → Network and enter the IP address of the Ubuntu box into the field at the bottom, e.g. ssh://192.168.0.123.
That will open your home directory on the (remote) Ubuntu box and you can treat it like any other directory, e.g. copy files to it, just like with Windows Shares, only better.
I’m going to come at this from a different angle. I had your same question, but at that point I hadn’t yet installed anything; I was still exploring.
The answer that I got was that although you can convert a desktop installation to a server installation, it means that you’ll still be left with the desktop installed, which takes up resources. For me, that was a problem because my physical server hardware is old. If you have a modern computer, it probably won’t affect you.
You also need to know what to install to make your desktop into a server. You’ll learn that through asking (as you’ve already done), and trial and error!
The conclusion that I reached was that it is far easier to install Ubuntu Server up front than to try to convert Ubuntu Desktop into a server.
Your circumstances are obviously different from mine because you already have Desktop installed, and you’ve had some great replies, so the decision is yours!
I’ve learnt quite a bit and my Linux muscle-memory is coming back. I turned 70 this year (whoopee?) I come from a open software background and will be installing on other boxes. Next one will get the full bottle (server wise).
So no shortage of grunt for my needs Paddy.
Installed both oppenssh-server and client. I’ll just go slowly. Cheers
If that’s the case and assuming, as a Windows refugee, you’re more comfortable with a server that has a GUI (graphical user interface) available, you might be interested in this short rundown of how to “convert” Ubuntu Desktop to a server:
If you have the storage space to spare, you can skip the aptitude stuff; software that isn’t running can’t consume resources either, except for the storage space and update bandwidth. So it pretty much depends on your preference. If you want your Desktop to double as a server, you already have it, since you installed the SSH server.
There shouldn’t be too much hassle involved in hunting down services that don’t make much sense on a server and exclude those from multi-user.target. I am effectively running my laptop as a server; it’s been booting into multi-user.target ever since I boiled down my “Desktop” to a bare bones Sway(wm) session, which, in my case, is essentially just a console capable of running Firefox — I don’t like to waste any resources on stuff like GDM3 and full-blown Desktops, for instance; I can run exec systemctl --user --wait start sway-session.target manually just fine.
I have not installed server for use, just a test install.
Have seen suggestions for new users to add a lightweight gui as server is command line only and takes a bit to learn terminal commands.
Lightweight Desktop environment
Ubuntu Server + lxde or openbox or fluxbox
You can install full desktop, but that include all the large standard desktop apps like libreOffice. Full list of apps in download list as manifest. You can compare server & desktop, if desired.
Personally, I’d find that too much hassle; just install vanilla Ubuntu Desktop and stick to the “Default selection”:
That effectively just installs the ubuntu-desktop-minimal metapackage, plus the App Center snap. The benefit of sticking with vanilla Ubuntu Desktop is that there is no second-guessing about LTS and Pro support.
A few words of caution, though. IIRC, the migration process to netplan during the 24.04 release upgrade involved some automagic detection of the role of the Ubuntu installation, to decide if the frontend should be systemd-networkd or NetworkManager. I believe the detector looked for the presence of ubuntu-desktop* and/or ubuntu-server* metapackages. There is also this note in the description of ubuntu-desktop-minimal:
So one should bear that in mind, when deciding on the role of the machine. Is it a Desktop doubling as a server? Keep ubuntu-desktop-minimal. If it’s a Windows Server rip-off, think about replacing it with ubuntu-server-minimal.