Feb 10, 2013

Create a repo file for yum

You can see yum repo files in this location.

cd /etc/yum.repo.d/

Create a new file with the extention .repo.

touch local.repo

The open it using vim and add these lines.

name=my local repo

Feb 9, 2013

SSH with no password

On client:

First check that the user have almost generate a public and a private key pair. To do that;

ls ~/.ssh/

If there is a key do not try to regenerate keys.

If there is no "id_*" in that location you need to genarate a key pair by;


Then you need to copy your public key to the server. To do that you can use this command.

ssh-copy-id user@server

If this process sucessfully completes you can do ssh without giving your password.

ssh user@server

Now this will connect to the server without asking the password.