Ubuntu 16.04 Server Setup

<![CDATA[Okay, I am am a rogue.  My instructions are for those admins that want to use Ubuntu 16.04 as a server, but want to be able to use root when I want and the GUI when I want.  Both of these are not recommended, but in the first sentence I did say I was a rogue.  For the following, italics items are command line commands that can be copied directly into the terminal.

  1.  Install Ubuntu 16.04 desktop.
  2. Logon as your admin user.
  3. Open a Terminal.
  4. Enable root access.
    • sudo -i passwd root
    • sudo passwd -u root
  5. Enable command line login.
    • gpedit /etc/default/grub
    • Change appropriate lines to
      • GRUB_CMDLINE_LINUX_DEFAULT=”text”
      • GRUB_CMDLINE_LINUX=”text”
      • GRUB_TERMINAL=console
    • sudo update-grub
    • sudo systemctl set-default multi-user.target
    • shutdown -r now
  6. You will now be starting into command line like a normal server.  This minimizes background processes and maximizes server utilizaiton.  But you might want to use the GUI.  So logon and…
    • startx
    • You will need a new terminal window to start unity by right clicking and starting a terminal, then.
    • setsid unity
    • To log out you can use the collowing command.
    • gnome-session-quit

]]>

Leave a Reply

Your email address will not be published. Required fields are marked *