0% found this document useful (0 votes)
2 views

Ubuntu Server OS Installation With GUI

Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views

Ubuntu Server OS Installation With GUI

Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

Step 1: Install Ubuntu Server

1. Download Ubuntu Server ISO:


■ Visit the official Ubuntu Server download page.
■ Download the latest ISO for Ubuntu Server.
2. Create Bootable Media:
■ Use tools like Rufus (Windows) or the dd command (Linux/macOS) to
create a bootable USB drive.
3. Boot and Install Ubuntu Server:
■ Boot your system from the USB drive.
■ Follow the on-screen instructions to install Ubuntu Server.
■ Configure the network, set the hostname, create a user, and complete the
installation.

Step 2: Update the System

Once Ubuntu Server is installed and you're logged in:

bash

sudo apt update && sudo apt upgrade -y

Step 3: Install a Desktop Environment

Ubuntu Server does not come with a GUI by default. You need to manually install one.

Option 1: Install Ubuntu Desktop Environment (GNOME)

bash

sudo apt install ubuntu-desktop -y

Option 2: Install Lightweight Desktop Environments


Xfce (Lightweight GUI):

bash

sudo apt install xubuntu-core -y

LXQt (Lightweight GUI):

bash

sudo apt install lxqt -y

MATE (Lightweight GUI):

bash

sudo apt install ubuntu-mate-core -y

Step 4: Configure the System to Use GUI by Default

Check the current default target:

bash

systemctl get-default

By default, it should be multi-user.target (non-GUI).


Change to GUI mode:

bash

sudo systemctl set-default graphical.target

Reboot:

bash

sudo reboot
Step 5: Log in to the GUI

Once the system reboots, it should load the desktop environment. Log in using the
username and password you set up during the server installation.

Optional: Install Remote Access (GUI over Network)

If you want to access the server GUI remotely:

Install a VNC server:

bash

sudo apt install tigervnc-standalone-server -y

Configure the VNC server or use tools like xrdp for RDP access:

bash

sudo apt install xrdp -y


sudo systemctl enable xrdp

You might also like