martes, 15 de julio de 2014

Install haveged on Centos 6 / Install EPEL on centos 6

To install haveged on centos you first need EPEL installed:

1. To install EPEL on x64 do:

# wget
# rpm -ivh epel-release-6-8.noarch.rpm

For more distros to install EPEL take a look to:

2.- Install haveged:

# yum install haveged

P.S. We all need a flag that describes us.

Configure Dynamic IP on Centos 6.5 -Virtual Box-

Step by step

1.- Edit settings:

#vi /etc/sysconfig/network-scripts/ifcfg-eth0

2.- Your setting will be like these: (Don't change the HWADDR)


2.- Execute: ifconfig eth0
      Make sure that the HWaddr corresponds to the one at ifcfg-eth0. If not, then you want to update the file.

3.- Look at: /etc/udev/rules.d/70-persistant-net.rules that should have also the same HWAddr

4.- Take a look to the Virtual Box Settings ->  Network Mac Address to have the same HWaddr

Make sure that your Networks setting in virtual box for your VM is configured as "Bridged adapter" and "wlan0" as the network adapter name.

If ifconfig is not giving you a network IP, then try
#dhclient eth0

7.- If you have eth1 then run
#dhclient eth1

4.- Restart network

# service network restart

5.- Review your new IP

# ifconfig -a

6.- ping and you will have response

IMPORTANT: One more tip!!! If you are planning to do ssh make sure openssh-clients is installed

P.S. What is the most expensive flag?

Installing Centos 6 on Virtual BOX

Step by step:

Go to Centos mirrors:

NOTE: For Centos 7 go to: 

Choose the mirror you want.. and you will see a list of isos and torrents to download:

Then Download the two *-binDVDX.iso files ... or by torrent if you feel more comfortable.


Now Open Virtual Box.

Create a new vm, the wizzard will let you choose the memory and storage to assign. then finish the wizard

Once the files are downloade goto to the setting s of your VM, and on storage-> Storeage->tree look for the iso of disk1 (by clicking the small disk icon with a arrow to display the option to select from disk the iso).

Then start the VM, the installation process will start, just follow the instructions and enjoy.

P.S. Do you pay attention to the flags?

lunes, 14 de julio de 2014

Installing dkms on CENTOS 6

Has being a while but I am back...

Installing dkms on CENTOS 6.. it is easy ... just find the package you need download and install.

root@ip-172-30-0-42 ec2-user]# wget
--2014-07-14 16:20:50--
Connecting to||:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 108241 (106K) [application/octet-stream]
Saving to: “dkms-”

100%[==================================================================>] 108.241      457K/s   in 0,2s  

2014-07-14 16:20:50 (457 KB/s) - “dkms-” saved [108241/108241]

[root@ip-172-30-0-42 ec2-user]# rpm -i dkms-
[root@ip-172-30-0-42 ec2-user]#

P.S. There should be a FIFA world cup flag!!!