Sunday, December 13, 2015

How to reset root password in Centos 7.

How to reset root’s password in centos 7
New Centos 7 is a bit different from the previous version which we can go to reset root password easily.
So now I will show you how to reset root password in centos 7.
To get started, turn on the machine that you’ve forgotten the root password on. For CentOS 7 devices, you’ll be given 5 seconds at the boot menu to select the operating system kernel to boot into.
That 5 seconds is important, because allows for  admins to select different kernels or edit existing kernel parameters before booting.
At the boot menu, press e to edit the existing kernel (Core) as shown below.

Next, scroll down to the list until you see the line underlined below ( ro ) . What we need to do is change that ro to rw and start into a bash shell. It should look like this rw init=/sysroot/bin/sh.




Change the ro line to rw and add init=/sysroot/bin/sh
ro -> rw init=/sysroot/bin/sh

After changing that, press Control + X  or Ctrl + X  on your keyboard to start into single user mode using the bash shell specified above. In this mode, we’re going to change the root password.
In the single user mode, run the command as shown below
chroot /sysroot

Finally, run the commands below to change the root password.

You’ll be prompted to create and confirm a new password.  After creating the password, run the commands below to update SELinux parameters
touch /.autorelabel


Thursday, December 3, 2015

Do you to want to clean up your computer space within 5 Minute?

How to clean up your drive C: space within 5 minute.






Sometime old and useless file can cause your Drive C: full so now please don't worry anymore.
I will tell you guys how to clean it with the easiest way.
There are three type of file which we can clean by delete it from our computer.
1- temp file
2-%temp% file
3-prefetch file

We also have a video which we create it for you.
Please watch it.