Search This Blog

Friday, 17 June 2016

INSTALL GUI IN LINUX UBUNTU AND ASSIGN STATIC IP ADDRESS

To install GUI in linux ubuntu use the following commands,

sudo apt-get update
sudo apt-get install ubuntu-desktop
sudo apt-get install --no-install-recommends ubuntu-desktop
start x
----------------------------------------------------
sudo apt-get install xubuntu-desktop
sudo apt-get install kubuntu-desktop
-----------------------------------------------------

to chance ip address in ubuntu use the following commands,

sudo vi /etc/network/interfaces

for automatic we can use

auto etho

to assign an ip to interface use

iface etho inet static

address 0.0.0.0  
netmask 0.0.0.0
network 0.0.0.0
boradcast 0.0.0.0
gateway 0.0.0.0


DNS

sudo vi /etc/resolv.conf

on the line name server xx.xx.xx.xx
replace the x with the ip of your name server. you can do,
ifconfig/all to find out what they are.







No comments:

Post a Comment

Linux Partitioning Disk & Formatting commands

Linux Partitioning Disk & Formatting commands fdisk man fdisk pi@rasberrypi ~$ sudo fdisk -l