Skip to main content

Posts

Showing posts from June, 2011

SSH login without password.

Login as “ root ” on “ spicykerala.co.in ” and generate a pair of authentication keys. Note: even if is unsecured to work without password, do not enter it. Let it empty... [root@spicykerala]# ssh-keygen -t rsa Generating public/private rsa key pair. Enter file in which to save the key (/root/.ssh/id_rsa): Enter passphrase (empty for no passphrase): Enter same passphrase again: Your identification has been saved in /root/.ssh/id_rsa. Your public key has been saved in /root/.ssh/id_rsa.pub. The key fingerprint is: b4:35:f8:0e:44:ba:b1:85:ea:17:d3:41:da:8b:58:ed root@spicykerala.co.in The key's randomart image is: +--[ RSA 2048]----+ | o                          | | O .                        | | * O o                    | | + @ * .                 | | o * E .                   | | . o o                      | | . . .      

Storing all the RPM packages installing via yum installer

For storing all the RPM packages installing via yum installer, add this following line to your /etc/yum.conf file. keepcache=1 For Example: [vichooss@spicykerala ~]$ more /etc/yum.conf [main] debuglevel=2 logfile=/var/log/yum.log exactarch=1 obsoletes=1 gpgcheck=1 plugins=1 installonly_limit=3 color=never keepcache=1 Then all rpm packages installed via yum are stored in /var/cache/yum/*/packages . you can change the cache directory by specifying cachedir=<mydir> in yum.conf . For Example: [ vichooss@spicykerala ~]$ more /etc/yum.conf [main] debuglevel=2 logfile=/var/log/yum.log exactarch=1 obsoletes=1 gpgcheck=1 plugins=1 installonly_limit=3 color=never keepcache=1 cachedir=/home/vichooss/Downloads