install gui in ubuntu server

5
Install GUI in Ubuntu Server May 8, 2009 · Server · Email This Post Share48 If you're new here, you may want to subscribe to my RSS feed and if you have questions related to your ubuntu system post question to our forums. Thanks for visiting! We have already discussed how to install ubuntu 9.04 LAMP server .If you are a new user and not familiar with command prompt you can install GUI for your ubuntu LAMP server using the 2 options 1) Install desktop Environment 2) Install Webmin 1) Install desktop Environment  First you nee to make sure you have enabled Universe and multiverse repositories in /etc/apt/sources.list file once you have enable you need to use the following command to install GUI sudo apt-get update sudo apt-get install ubuntu-desktop The above command will install GNOME desktop If you wan to install a graphical desktop manager without some of the desktop addons like Evolution and OpenOffice, but continue to use the server flavor kernel use the following command sudo aptitude install --no-install- recommends ubuntu-desktop If you want to install light weight desktop install xfce using the following command sudo apt-get install xubun tu-desktop If you want to install KDE desktop use the following command sudo apt-get install kubuntu-desktop 2) Install Webmin in Ubuntu  Webmin is a web-based interface for s ystem administration for Unix. Using any modern web browser, you can setup user accounts, Apache, DNS, file sharing and much more.

Upload: black-hole-sun

Post on 08-Apr-2018

242 views

Category:

Documents


0 download

TRANSCRIPT

8/7/2019 Install GUI in Ubuntu Server

http://slidepdf.com/reader/full/install-gui-in-ubuntu-server 1/5

Install GUI in Ubuntu Server 

May 8, 2009 · Server · Email This Post 

Share48 

If you're new here, you may want to subscribe to my RSS feed and if you have

questions related to your ubuntu system post question to our forums. Thanks for 

visiting!

We have already discussed how to install ubuntu 9.04 LAMP server .If you are a new user and

not familiar with command prompt you can install GUI for your ubuntu LAMP server using the

2 options

1) Install desktop Environment

2) Install Webmin

1) Install desktop Environment 

First you nee to make sure you have enabled Universe and multiverse repositories in

/etc/apt/sources.list file once you have enable you need to use the following command

to install GUI

sudo apt-get update

sudo apt-get install ubuntu-desktop

The above command will install GNOME desktop

If you wan to install a graphical desktop manager without some of the desktop addons

like Evolution and OpenOffice, but continue to use the server flavor kernel use the

following command

sudo aptitude install --no-install-recommends ubuntu-desktop

If you want to install light weight desktop install xfce using the following command

sudo apt-get install xubuntu-desktop

If you want to install KDE desktop use the following command

sudo apt-get install kubuntu-desktop

2) Install Webmin in Ubuntu  

Webmin is a web-based interface for system administration for Unix. Using any modern

web browser, you can setup user accounts, Apache, DNS, file sharing and much more.

8/7/2019 Install GUI in Ubuntu Server

http://slidepdf.com/reader/full/install-gui-in-ubuntu-server 2/5

Webmin removes the need to manually edit Unix configuration files like /etc/passwd,

and lets you manage a system from the console or remotely.Currently There is no

Webmin package in the Ubuntu repositories.This tutorial will explain how to Install

Webmin in Ubuntu Jaunty

You can install webmin for your server web interface to configure apache2,mysql,FTp

servers and many more.Now we will see how to install webmin in Ubuntu 9.04

Preparing your system 

First you need to install the following packages

sudo aptitude install perl libnet-ssleay-perl openssl libauthen-pam-perl libpam-runtime

libio-pty-perl libmd5-perl

 Now download the latest webmin using the following command or from here

wget http://prdownloads.sourceforge.net/webadmin/webmin_1.470_all.deb

 Now we have webmin_1.470_all.deb package install this package using the following

command

sudo dpkg -i webmin_1.470_all.deb

This will complete the installation.

Using the Webmin APT repository 

If you like to install and update Webmin via APT, edit the /etc/apt/sources.list file on

your system

sudo vi /etc/apt/sources.list

add the line

deb http://download.webmin.com/download/repository sarge contrib

Save and exit the file

You should also fetch and install my GPG key with which the repository is signed, with

the commands : cd /root

wget http://www.webmin.com/jcameron-key.asc

sudo apt-key add jcameron-key.asc

You will now be able to install with the commands

sudo apt-get update

sudo apt-get install webmin

All dependencies should be resolved automatically.

8/7/2019 Install GUI in Ubuntu Server

http://slidepdf.com/reader/full/install-gui-in-ubuntu-server 3/5

Ubuntu in par ti ular don¶t allow logins by t root user by default However, t e user 

created at system installation time can use sudo to switch to root Webmin will allow

any user who has this sudo capability to login with full root pr ivileges.

 Now you need to open your web browser and enter the following

htt ps://your-server-i p: / 

 Now you should see similar to the following Screen

Af ter login if you want to conf igure Apache,Mysql server you need to click on Servers

on your lef thand side you should many servers are ready to conf igure

This is very Easy to conf igure most of the servers and En joy your new Ubuntu Jaunty

LAM Server.

Installing Webmin on Ubuntu Server 10.04 LTS (Lucid)

:HEPLQLQVWDOOHGRQ8EXQWX/76/XFLG

,KDGVRPHWURXEOHLQVWDOOLQJ:HEPLQRQ8EXQWX/766HUYHUDND/XFLG7KHSUREOHPLVWKDW:HEPLQXVHVDGHSUHFDWHG3HUOPRGXOHDZUDSSHUDURXQG'LJHVW0'IRUXVHUVRIDQDQFLHQW0'OLEUDU\DQG

ERWK'HELDQDQG8EXQWXUHIXVHWRSXWLWEDFNLQWRWKHLUUHVSHFWLYHUHSRVLWRULHV(QWLUHO\ZLWKLQWKHLUULJKWVRIFRXUVHEXWQRWVRJRRGIRUXVZHHNHQGDGPLQVZKRZDQWDSDLQOHVVLQVWDOOSURFHVV

2ND\VROHWVJHWWRZRUN,PLQVWDOOLQJ:HEPLQYLDWKHUHPDLQLQJ'HELDQSDFNDJHV

Install the (easy) dependencies

5XQWKLVIURPDWHUPLQDO([SHFWVRPHWURXEOHIURPOLEPGSHUO

$ sudo aptitude y install perl libnetssleay perl openssl libauthenpam perl libpamruntime libiopty perl libmd5perl apt show versions libaptpkg perl

8/7/2019 Install GUI in Ubuntu Server

http://slidepdf.com/reader/full/install-gui-in-ubuntu-server 4/5

<RXV¡ 

RXOGILQGDQHUURUOLNH W¡ 

LV

Couldn't find any package whose name or description matched "libmd5 -perl"

7KHUHDVRQIRUWKLV LV WKDW OLEPGSHUO LVSHU VRQDQRQJUDWD DWERWK'HELDQDQG8EXQWXDVPHQWLRQHG

Install the deprecated dependencies

'RZQORDGWKHOLEPG SHUOGHEIL OHDQGLQVWDOOLW PDQXDOO\

2SHQDEURZVHUDQGJHWWKHQHZHVWOLEPG SHUOSDFNDJHIUR P ORO

KWWS I WSGHELDQRUJ SRROPDLQOLEP OLEPGSHUO

7KHOLNHO\SDFNDJHLVQDPHG OLEPGSHUOBBDOOGHE

VRZHGRZQORDGLW DQGLQVWDOOLW

[email protected]:~$  wget http://ftp.debian.org/pool/main/libm/libmd5 -perl/libmd5 -perl_2.03 -1_all.deb  

--2010-05-22 19:50:45 -- http://ftp.debian.org/pool/main/libm/libmd5 -perl/libmd5 -perl_2.03-1_all.deb

Resolving ftp.debian.org... 130.89.149.226, 2001:610:1908:a000::149:226  

Connecting to ftp.debian.org|130.89.149.226|:80... connected.

HTTP request sent, awaiting respon se... 200 OK

Length: 5700 (5.6K) [application/x -debian-package]

Saving to: `libmd5 -perl_2.03-1_all.deb'

100%[=======================================================================>] 5,700  30.3K/s in 0.2s

2010-05-22 19:50:46 (30.3 KB/s) - `libmd5-perl_2.03 -1_all.deb' saved [5700/5700]

[email protected]:~$ sudo dpkg -i libmd5 -perl_2.03 -1_all.deb  

Selecting previously deselected package libmd5 -perl.

(Reading database ... 50494 files and directories currently installed.)

Unpacking libmd5 -perl (from libmd5 -perl_2.03 -1_all.deb) ...

Setting up libmd5 -perl (2.03 -1) ...

Processing triggers for man -db ...

[email protected]:~$

Install Webmin

7KHGHSHQGHQFLHVVKRXOGDOOEHLQVWDOOHGQRZ:HFDQGRZQORDGWKH:HEPLQGH ESDFNDJHIURP6RXUFHIRU JH

KWWSVRXUFHIRUJHQHWSURMHFWVZHEDGPLQILOHV

8VHWKHPRVWUHFHQWGHESDFNDJH,QP\FDVHLW ZDV ZHEPLQBBDO OGHE

6RXUFHIRUJHZLOOJHQHUD WHDOLQNIRU\RX WRXVHIURPWKHLUZHEVLWH0\OLQNZDV

[email protected]:~$   wget http://downloads.sourceforge.net/project/webadmin/webmin/1.510/webmin_1.510 -2_all.deb?use_mirror=cdnetworks -us-1 

--2010-05-22 19:53:44 -- http://downloads.sourceforge.net/project/webadmin/ webmin/1.510/webmin_1.510 -2_all.deb?use_mirror=cdnetworks -us-1 

Resolving downloads.sourceforge.net... 216.34.181.59  

Connecting to downloads.sourceforge.net|216.34.181.59|:80... connected.

HTTP request sent, awaiting response... 302 Found

Location: http://c dnetworks -us-1.dl.sourceforge.net/project/webadmin/webmin/1.510/webmin_1.510 -2_all.deb [following]

--2010-05-22 19:53:44 -- http://cdnetworks -us-1.dl.sourceforge.net/project/webadmin/webmin/1.510/webmin_1.510 -2_all.deb

Resolving cdnetworks -us-1.dl.sourceforge.net... 174.35.19.11  

Connecting to cdnetworks -us-1.dl.sourceforge.net|174.35.19.11|:80... connected.

HTTP request sent, awaiting response... 200 OK

8/7/2019 Install GUI in Ubuntu Server

http://slidepdf.com/reader/full/install-gui-in-ubuntu-server 5/5

Length: 14504260 (14M) [application/octet -stream]

Saving to: `webmin_1.510 -2_all.deb'

100%[===================================================================>] 14,504,260 512K/s in 21s

2010-05-22 19:54:06 (664 KB/s) - `webmin_1.510 -2_all.deb' saved [14504260/14504260]

[email protected]:~$ sudo dpkg -i webmin_1.510 -2_all.deb  

Selecting previously deselected package webmin.

(Reading database ... 50500 files and directories currently installed.)

Unpacking webmin (from webmin_1.510 -2_all.deb) ...

Setting up webmin (1.510 -2) ...

Webmin install complete. You can now login to https://example.com:10000/

as root with your root password, or as any user who can use sudo

to run commands as root.

Processing triggers for ureadahead ...

ureadahead will be reprofiled on next reboot

<RXVKRXOGQRZEHDEOHWRYLVLW \RXUZHEPLQORJLQSDJ HRQSRU W XVH\RXURZQ,3QXPEHU

KWWS¢ 

 ¢ 

,GHDOO\WKH:HEPLQJXUXVZLOOUHIDF WRUWKHROG0'FRGHGHSHQGHQFLHVEXWWKLV VHHPVWRZRUNILQHIRUQRZ