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 http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
# rpm -ivh epel-release-6-8.noarch.rpm

For more distros to install EPEL take a look to:
http://www.tecmint.com/how-to-enable-epel-repository-for-rhel-centos-6-5/


2.- Install haveged:

# yum install haveged

Enjoy!
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)

HWADDR=08:00:27:08:47:E9
DEVICE=eth0
BOOTPROTO=dhcp
ONBOOT=yes
NM_CONTROLLED=no

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

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

6.-
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 8.8.8.8 and you will have response





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

Enjoy!
P.S. What is the most expensive flag?

Installing Centos 6 on Virtual BOX

Step by step:

Go to Centos mirrors:

http://isoredirect.centos.org/centos/6/isos/x86_64/

NOTE: For Centos 7 go to: http://isoredirect.centos.org/centos/6/isos/x86_64/ 

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.



CentOS-6.5-x86_64-bin-DVD2.iso


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 http://linux.dell.com/dkms/permalink/dkms-2.2.0.3-1.noarch.rpm
--2014-07-14 16:20:50--  http://linux.dell.com/dkms/permalink/dkms-2.2.0.3-1.noarch.rpm
Resolving linux.dell.com... 143.166.224.62
Connecting to linux.dell.com|143.166.224.62|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 108241 (106K) [application/octet-stream]
Saving to: “dkms-2.2.0.3-1.noarch.rpm”

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

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

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

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