dhcp-common conflicts with file from package dhclient

I was downloading bunch of dependencies on CentOS 6.0_x86_64. Where I found this silly error.

Transaction Check Error:
file /usr/share/man/man5/dhcp-eval.5.gz from install of
dhcp-common-12:4.1.1-25.P1.el6_2.1.x86_64 conflicts with
file from package dhclient-12:4.1.1-12.P1.el6.x86_64

file /usr/share/man/man5/dhcp-options.5.gz from install of
dhcp-common-12:4.1.1-25.P1.el6_2.1.x86_64 conflicts with
file from package dhclient-12:4.1.1-12.P1.el6.x86_64

But the solution was really easy.

yum update dhclient

Enable SSH on Fedora 16

A very quick post, I needed after a fresh Fedora 16 install.

Enable sshd service.

$ systemctl enable sshd.service

start sshd service

$ systemctl start sshd.service

check sshd status if needed.

$ systemctl status sshd.service

restart sshd service, when needed.

$ systemctl restart sshd.service

stop sshd service and duck down 😛

$ systemctl stop sshd.service

well, make sure you have port 22 open.

$ system-config-firewall

….and that’s all for this quick note.

GNU screen – blessing for sys.admins

GNU screen is probably one of the most useful stuffs that makes me tension free and let my laptop to enjoy some hibernation time 🙂

GNU screen is terminal multiplexer, it lets admins to have multiple shell screens simultaneously. The most blessing part of it is, admins can leave anytime with any process running. It will keep doing its given task and then again can be used later from where admin left it. Such a wonderful app, eh?

installation process is just typical.

So like the famous GNU text editor emacs, it uses ctrl+a.

to detach from current window ctrl+a d

to kill current window ctrl+a k

switching between windows ctrl+a n & ctrl+a p

Every screen has an ID.

to get the screen back to work screen -r <screen id>

Create bootable LIVE USB

So, as my DVD rom is gone, I was really having bad time with creating live bootable USB. But then I found this very amazing tool which lets you create bootable live USB within few clicks and without destroying none of your data on your portable device.

And the blessing tool is UNetbootin, it is available for most of the major distros out there. This amazing tool can be downloaded from here.

Just follow the simple steps and you are done!! 🙂

There is always more than one way 😉

So there are other ways too to do the same thing. dd (Unix) is the blessing command.

I am writing the commands for Mac OS, but this should work in other Unix or Unix Like distros too.

find the flash drive at the very beginning, wrong drive name may cause you enormous harm by removing all you data.

$ diskutil list

now unmount the flash drive

$ diskutil unmountDisk /dev/disk1

you’ll see a message like this

Unmount of all volumes on disk1 was successful

then run the following command

$ dd if=Repository/ISOs/your_favorite_distro_name.iso of=/dev/disk1 bs=1m

here,

if = Read input from file instead of the standard input.

of = Write output to file instead of the standard output.

bs = block size

it will take few minutes depending on the file size. Unfortunately there is no progress bar or verbose output.

finally a message will be shown like this

605+0 records in
605+0 records out
634388480 bytes transferred in 474.164942 secs (1337907 bytes/sec)

…and your bootable USB is ready.

dd-gui

there is another open source gui app for Mac OSX which uses the same dd (Unix) command and also has a progress bar. This app is called dd-gui. This app is available here.

Google Easter Eggs or Nerd Jokes

A new Easter Egg of Google has revealed lately. Just go to Google and type in “do a barrel roll” and search. Enjoy the spinning!

This came from a Nintendo 64 game “Star Fox”, where one of the game character Peppy asks the user to do a barrel roll. It also gives the user another option “z or r twice”, guess what? this also does the trick. Type in “z or r twice” and search.

So now you do a roll on google but that’s not all. Type in “tilt” or “askew“, see what happens!

Type “anagram” and search, google will show you “Did you mean: nag a ram”, which is a anagram of the word anagram.

Well, do you know the spelling of “recursion”, search with “recursion”, looks like you are searching recursively as you will always find “Did you mean: recursion”.

Do you know what is the loneliest number? Type in “the loneliest number”, google calculator will return 1.

Let’s find the answer to the ultimate question of life, the universe, and everything. Just type in “the answer to the ultimate question of life, the universe, and everything” or “the answer to life, the universe, and everything”, google calculator will return 42.

This was first found in the novel The Hitchhiker’s Guide to the Galaxy by Douglas Adams. The writer was asked so many times why he chose 42, and finally he replied “I sat at my desk, stared into the garden and thought ’42 will do’ I typed it out. End of story.” Anyway, it  is now a modern internet phenomena. Another funny thing happened with this number.

Searching “a bakers dozen” will result 13. It’s history of 13th century during the reign of Henry III, if a a baker was found to have shortchanged customers could be subject to loose their hand to an axe. So to avoid that bakers would give 13 for the price of 12 as an insurance to be certain of not being known as a cheat.

“once in a blue moon” returns 1.16699016 × 10-8 hertz.

Type in “where is chuck norris” and click I’m feeling lucky and you are there.

Also type in “epic google” and press I’m feeling lucky and wait!

Similar searches: (press I’m feeling lucky)
Google sphere
Google gravity
Google reverse/mirror
weenie google
Rainbow google
Google loco
Annoying Google
Google pacman

Feel free to add if you know any other 🙂