yum repos CentOS 6

The repositories configuration files are located at “/etc/yum.repos.d/” in CentOS 6+

Run yum repolist to check for enabled repositories which will give you a list repo IDs and repo names:

Loaded plugins: fastestmirror, refresh-packagekit, security
Determining fastest mirrors
* base: mirror.stanford.edu
* centosplus: centos.chi.host-engine.com
* extras: mirrors.sonic.net
* updates: centos.mbni.med.umich.edu
virtualmin-universal                                                                        193/193
repo id                              repo name                                                status
base                                 CentOS-6 – Base                                          4,802
centosplus                           CentOS-6 – Plus                                             62
extras                               CentOS-6 – Extras                                           12
updates                              CentOS-6 – Updates                                         831
virtualmin                           Red Hat Enterprise 6 – i386 – Virtualmin                   101
virtualmin-universal                 Virtualmin Distribution Neutral                            193
repolist: 6,001

To permanently disable a repo, open ‘/etc/yum.repos.d/CentOS-Media.repo’ in a text editor like nano/gedit/emacs, go to the end of file and change ‘enabled=1’ to ‘enabled=0’

That’s it, you just disabled a repository on CentOS 6.5!


cpan configuration

Enable automatic follow-up and install of needed modules.

1.  open a cpan shell:

perl -MCPAN -e shell

2.  enable automatic follow-up

o conf prerequisites_policy follow

o conf commit

Here is a one-liner from stackoverflow!

perl -MCPAN -e 'my $c = "CPAN::HandleConfig"; $c->load(doit => 1, autoconfig => 1); $c->edit(prerequisites_policy => "follow"); $c->edit(build_requires_install_policy => "yes"); $c->commit'


iphones or androids?

This is a very common and important question anyone could ask.

I think every person who works in IT secretly wants the, “No, I will not fix your computer” t-shirt. Anyone involved in working with PCs comes to dread the inevitable conversation, “Since you’re pretty good with computers, I’ve got this question.” I’m sure plumbers, electricians, and auto mechanics all have their own version of this scenario.Lately, the question I’ve been getting most frequently is the one that I dread answering the most. “You seem to know a lot about smartphones. I’m thinking about an Android or an iPhone. Which do you recommend?”You might think my answer would be pretty straightforward, but it never is. I’ve got a lot more hands-on experience than the average user on both Android and iOS platforms, including rooting, jail-breaking, and fixing bricked devices. I own an iPad, iPod Touch, and several Android devices. I know most people have to live with one platform or the other. This makes a recommendation very difficult to make.What seems like a simple answer is really a complex situation. Both platforms are nearly indistinguishable from one another in average, day-to-day use. Sure, there may be some features like Siri or Google’s navigation that could sway a user one way or another, but for most users, their actual experience won’t differ much.So, what guidelines can you use to help someone pick a phone that won’t have them coming back complaining that you steered them in the wrong direction? These points are usually where I start:1: Are you invested in Google environments already? 2: Are you a Windows or Mac user? 3: Do most of your friends have iPhones and other iOS devices, or do they have Android smartphones?4: Do you plan on using this device as a BYOD on your corporate network to access company email or other resources? 5: What is your experience with spam, viruses, and malware?For answers click the link below:

Source: link http://www.techrepublic.com/blog/smartphones/iphone-or-android-five-questions-to-help-you-decide/

system info linux command line


dmidecode command reads the system DMI table to display hardware and BIOS information of the server. Apart from getting current configuration of the system, you can also get information about maximum supported configuration of the system using dmidecode. For example, dmidecode gives both the current RAM on the system and the maximum RAM supported by the system.

This article provides an overview of the dmidecode and few practical examples on how to use dmidecode command.

Source : http://www.thegeekstuff.com/2008/11/how-to-get-hardware-information-on-linux-using-dmidecode-command/