-1

How i can remove all softwares of Ubuntu server and make it lock like Ubuntu Desktop without GUI? to make boot faster.

1 Answers1

3

Since you're willing to experiment with your system, and don't mind reinstalling (I take those two as prerequisites for your question), you could remove the ubuntu-server metapackage for starters:

sudo apt remove ubuntu-server

This will remove a bunch of server-related tools, and their dependencies (I've removed a bunch of those myself on my own server). If you need any of the tools afterward, you can then install them manually.

You're also right that removing cloud-init will help - please see this existing answer.

I'm not sure this will affect your bootup time that much, but I believe it is the most precise answer to your question.

Artur Meinild
  • 31,035