Hii, I am a home user of the Workstation install of Rocky Linux and use it just as my main personal computer.
So I am not a Linux systems or server administrator. I imagine the intended audience for Rocky Linux is commercial server / hosting companies. I am not in that intended audience but I hope you dont mind me asking what I think is a dumb question, but because of its importance, I have to ask.
I tried searching for this and cannot seem to find an answer or a good way to find out.
Does the Workstation / Desktop version of the install include a server which runs in the background?
I donāt need this to run and would think it is a serious security issue to be running a server on my desktop personal computer - ie the server could be hacked into and people could access my filesā¦
Many things will run in the background, some could be called āserversā.
The important thing is to look at the roles at installation time, and decide which components you want (or donāt want). You can also look at the roles by listing DNF groups. e.g.
dnf group list
and then
dnf group info "<group name here>"
you can start off with a minimal install, but there are many dependencies. The groups help to ensure you have everything you need for a specific role.
If you do install any servers, you can leave them blocked by the firewall, so only localhost can access them.
I bet there is at least one āserverā that is installed by default because it is in group āCoreā that is mandatory even for the āMinimal Installā. The server ā or more properly āserviceā ā is sshd.service. You can connect to the machine from outside with ssh client.
Some OS might not enable sshd by default, and you can disable it, if you donāt need it. There are services that, if disabled, render the system unusable. (Been there, done that.) As said, a service might be there only to serve the localmachine; firewall (set up by another service) can block access from outside.
The āWorkstationā, āServer with GUIā, āMinimal Installā ā dnf Environment Groups ā are simply bit different lists of packages to install. Convenience. You can add and remove packages.
Hi gerry666uk,
Thanks for the info - I will go thru the commands you listed - this is a good starting point for me to learn more about things and set things up safelyā¦
it would be good also to know more about linux there are a good documentation to learn even if you just started to enter the linux world
check this one https://docs.rockylinux.org/
and have a nice day