Monday, September 24, 2012

Enable Gnome 'root' Account in Debian Linux

Ok guys,

In any OS there are user management system installed. And by default ur user account has administrator privilages (Yeah you are the MAN). If you are a Windows user have you experience that somtimes when you are executing some programs it pops up a message saying that the program require administrator privilages, Or if you are a linux guy when you try to access some sort of application have you provided root account password? But if you have administrator rights and why still these OS asks for passwords and all??

Answer is that both windows and linux disable the administrator/root account.

Ok now lets get into the topic. Lets say that you want to enable root/administrator account and be the 'REAL' man... following steps explains how you can be the real man in Debian Linux. In a later post I'll add how you can enable root access in Ubuntu, CentOs and how you can enable Administrator account in windows...


Step one :

Log in to your user account.

Step two :

Open up terminal. ( Applications --> Accessories --> Terminal )
type in following shell commands

su root   //( it will ask you for the root password. This is setup at the installation of debian )
gedit      //This will open graphical text editor which we will use to edit some configurations.


Step three :

Open  up the file /etc/pam.d/gdm3

Then comment the fifth line. It will look like following after comment.

#auth   required        pam_succeed_if.so user != root quiet_success

Now save the file

Then enter following shell command

reboot


Congratulations!!!

You have successfully enabled the root account ......

Thursday, September 6, 2012

Installing JMeter on CentOs(Will work on most Linux versions)

Hello guys.

Today I'm going to describe how you can successfully install Apache JMeter on your Linux system.

Before install make sure you have installed Java 1.5 or newer version in your System.

Then you will need to download Apache JMeter.
http://jmeter.apache.org/download_jmeter.cgi

Download the zip file of the jmeter. (In my case I will be downloading apache-jmeter-2.7.zip)

Now open the terminal and follow given instructions.

type 'su' (without quoats. This will change your user mood into root)
Provide the root password.

Ok now you are the man..
Can you remember where you saved apache-jmeter-2.7.zip
 If you don't make sure to check where you saved that file.

now type following code

cd /var/www/html

Now you have to copy apache-jmeter-2.7.zip to this directory.For that you need to know where you saved the zip file.

cp PATHOFZIPFILE ./
(in my case I did like

cp /home/djclans/Downloads/apache-jmeter-2.7.zip ./

Note :In terminal, codes are case sensitive. And there is a space between .....jmeter-2.7.zip and ./)

Next you have to unzip the archive. In order to do that you need unzip installed in your system. If you don't just type yum install unzip and it will be installed.

To unzip the archive,

unzip apache-jmeter-2.7.zip

After completing the unzip process go inside that folder and you will find bin
folder. Go inside that too.

cd apache-jmeter-2.7/bin

Now everything is ready........

Ok now lets fire it up...

sh jmeter

few seconds later GUI will pop up.

And now we are done..

See you later guys.....