Question

I have a desktop and I want to install linux on it and use it as a server. I believe I dont need to install a complete linux distro cause I dont need the user interface, I can command the server using ssh in another computer and tell my web server to install apache, mysql...

I want my webserver not to consume CPU with GUI or mouse or keyboard... I want my linux distro to only usage the resources needed to run the webserver.

Before you ask why I want to do this I will explain myself: I am using AWS for some time and it's amazing how they provide a cloud where I install a linux image and I can control it using SSH from my home! Their server is probably not running any interface, probably there is not even a screen there. It's just a CPU running my web server and listening to SSH to do as I say. There is no need to consume resources having a linux distro with gui and listening to keyboard and mouse events!

Was it helpful?

Solution

Many linux distributions do not require you to install a GUI. Debian and Ubuntu both have this capability to name just a couple. If you install Ubuntu's server version, or uncheck the Desktop environment and check SSH Server in Debian, you'll be able to manage your Linux server like you're managing your AWS instance.

You need linux installed or running off a live CD if you're going to use it as a server. If you don't want to overwrite your desktop installation, you could always use a virtual machine. VirtualBox is a good virtualization software for Windows.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top