How to install Gnome Classic Desktop Environment in Ubuntu 12.04

I am not a big fan of Unity Desktop Environment. I still like GNOME. As with GNOME I feel more comfortable.

Every time with new installation I install GNOME classic Desktop Environment. GNOME Classic a.k.a GNOME Fallback is one i use instead of unity, and also which is arguably the most familiar to that of the Ubuntu desktop that shipped in Ubuntu 10.04 by default.

To install Gnome Classic open a terminal and run following commands

sudo apt-get install gnome-panel

Now restart your Desktop.

After restarting the Machine look for the GNOME Classic from the Unity Greeter and login.

For more such Ubuntu 12.04 tutorial stay tuned with Techienote.

How to Configure Network Ubuntu 12.04

To start accessing internet or sharing other resources on the network you have to configure TCP/IP settings of you ethernet card. In ubuntu you can configure network settings through GUI and CLI. It can be a difficult task for newbie user who is switching from other OS to ubuntu as the look and feel of ubuntu will be different in comparison of other OS (specifically windows). In this tutorial we will be seeing how to configure TCP/IP setting via GUI as well as CLI. (more…)

How to Install Apache 2.4.1 on Ubuntu

To host a website/web pages on your machine you need a webserver software. Apache http server is widely used http server in the world.

You can install apache http server through apt repository, but this will install all modules which I dont require to host a simple webpage. For the same I am going to compile apache http server 2.4.1 from source package.

Step 1 : Before installing apache you have to install necessary prerequisite libraries and software. To do so open your command prompt and run following

sudo apt-get update
sudo apt-get install build-essential

Step 2 : Downloading pre-requisites. I am downloading all the required software to /home/vidyadhar/install folder. Here we are downloading apache http server 2.4.1 source, apr / apr util source and pcre lib source. Open a terminal and run following commands

cd /home/vidyadhar/install
wget http://apache.mirrorcatalogs.com//apr/apr-1.4.6.tar.gz
wget http://apache.mirrorcatalogs.com//apr/apr-util-1.4.1.tar.gz
wget ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-8.30.tar.gz
wget http://apache.tradebit.com/pub//httpd/httpd-2.4.1.tar.gz

Step 3 : Extracting source. Open a terminal and run following commands

cd /home/vidyadhar/install
tar zxvf httpd-2.4.1.tar.gz
tar zxvf pcre-8.30.tar.gz
tar zxvf apr-util-1.4.1.tar.gz
tar zxvf apr-1.4.6.tar.gz

Step 4 : Installing PCRE to /home/vidyadhar/pcre folder. Open a terminal and run following commands

cd /home/vidyadhar/install/pcre-8.30
./configure --prefix=/home/vidyadhar/pcre
sudo make
sudo make install

Step 5 : Copying apr and apr-utils to srclib of apache http server. Open a terminal and run following commands

cd /home/vidyadhar/install/
mv apr-util-1.4.1 /home/vidyadhar/install/httpd-2.4.1/srclib/apr-util
mv apr-1.4.6 /home/vidyadhar/install/httpd-2.4.1/srclib/apr

Step 6 : Installing apache http server to /home/vidyadhar/apache2.4 directory. Open a terminal and run following commands

cd /home/vidyadhar/install/httpd-2.4.1
./configure --prefix=/home/vidyadhar/apache2.4 --with-included-apr --with-pcre=/home/vidyadhar/pcre
sudo make
sudo make install

Step 7 : If everything goes well you have a working setup of apache 2.4.1 http server working setup. Before starting the http server you have to do some changes in the http server configuration i.e. in httpd.conf file.

Step 8 : First we will take the backup of original file

cd /home/vidyadhar/apache2.4/conf
cp httpd.conf httpd.conf.orig

Step 9 : Now you need to adjust following parameters as per your requirement.
Listen port, User / Group who will be running apache demon, ServerAdmin, ServerName.
I am going to run apache http server through “nobody” user. For the same first you have to create nobody user and group.

sudo useradd nobody
sudo grouadd nobody

Now same user you have to configure in httpd.conf file

User nobody
Group nobody

Step 10 : I am having multiple nic card on my machine and as per the requirement I will be running http server on 8080 port. So my Listen and ServerName directive should be something like below

Listen 192.168.1.100:8080
ServerName 192.168.1.100:8080

Step 11 : Before starting http server you should always test your configuration. Run following command to check you configuration.

/home/vidyadhar/apache2.4/bin/apachectl -f /home/vidyadhar/apache2.4/conf/httpd.conf -t

The idle output of above command should be Syntax OK

Step 12 : Now we are ready start our http server. Run following command to start http server

/home/vidyadhar/apache2.4/bin/apachectl -f /home/vidyadhar/apache2.4/conf/httpd.conf -k start

Now open your browser and enter http://192.168.1.100:8080 in URL.

Remember in above URL 192.168.1.100:8080 is the IP and PORT on which my http server listening.

If your are unable to start apache http server check for the http server logs which are located at /home/vidyadhar/apache2.4/logs folder

Howto Configure Wallpaper Slideshow in Ubuntu

I was little curious about Desktop Wallpaper Slideshow on Ubuntu. Previously I have configured it for Windows with the third party tool. In Ubuntu you can achieve this using CreBS (Create Background Slideshow). You can add this small application by modifying your sources.list file. More important, it is an open source software.

Installation

Step 1 : On Ubuntu Oneiric 11.10, add following entries in the sources.list

sudo vi /etc/apt/sources.list

Add following lines

deb http://ppa.launchpad.net/crebs/ppa/ubuntu natty main
deb-src http://ppa.launchpad.net/crebs/ppa/ubuntu natty main

Step 2 : Import the key

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys EF0A4C44

Step 3 : To install CreBS run following commands

sudo apt-get update
sudo apt-get install crebs

Configuring / Creating Slideshow

Step 1 : Open Terminal and enter crebs. It will open a new slideshow configuration Windows.

Step 2 : Click the “+”” button to add wallpapers. After adding images you can click on the Slideshow tab to configure the length of the slideshow.

Step 3 : Enter a name for your slideshow and click the “Tick” button to save.

Activating the slideshow

To activate slideshow we have to do some setting manually.

Open a terminal and type

GSETTINGS_BACKEND=dconf gsettings set org.gnome.desktop.background picture-uri "file://$HOME/.crebs/techienote_s_slide_show.xml"

Replace “techienote_s_slide_show.xml” with the name of the slideshow that you have saved earlier.

That’s it.

How to Upgrade Ubuntu to Ubuntu 12.04

As the Ubuntu 12.04 beta is out I thought I should give it a try. Currently I am using Ubuntu 11.04. So it is very simple task to Upgrade my current version to Ubuntu 12.04.

Before doing so I was having 3 options

Option 1 - Download ISO image from the ubuntu website and burn that into CD. Boot the cd and upgrade while installing into your machine which have earlier version of Ubuntu.

Option 2 - Make a Bootable flash drive to upgrade.

Option 3 - Use Update Manager.

As the easiest method I started upgrading my current OS using option 3.

Step 1 : Open a command propmt and run following commands

sudo apt-get update
sudo apt-get install update

Step 2 : Now start Update Manager using following command

sudo update-manager -d

Step 3 : It will ask for the passoword, provid the same. Now you should get the upgrade button on the right top.

Step 4 : Click on the Upgrade Button after confirming the upgrading it starts downloading the updates.

Step 5 : For downloading and upgrading my machine it took 45 minutes. The time limit depends on your internet connection.

Page 2 of 44«123456»102030...Last »
rss twitter facbook

Categories

Archives