Prevent SSH host key checking and known_hosts entries

Just add these options to your SSH command: -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no  Example: ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no root@ You can also add these lines to your /etc/ssh/ssh_config to make it global: UserKnownHostsFile=/dev/null StrictHostKeyChecking=no

Upgrading Fedora using fedup

You can easily upgrade your distribution using fedup: First of all install the fedup package: yum install fedup -y Before starting the distribution upgrade you should be sure to have your system up-2-date: yum update If there are kernel updates etc. in the above update, you should reboot your machine before continuing. Then start the upgrade: fedup-cli –reboot […]

Creating a Ramdisk

Creating a ramdisk is quite simple: mkdir /ramdisk mount -t tmpfs -o size=1024M tmpfs /ramdisk This will mount a 1GB ramdisk to the folder /ramdisk. Increasing/Decreasing its size on the fly: mount -t tmpfs tmpfs /ramdisk -o size=2048M,nr_inodes=50k,noatime,nodiratime,remount Creating an entry in /etc/fstab: tmpfs    /ramdisk    tmpfs    size=2048M,nr_inodes=50k    0    0 This should work as is on […]

Install proprietary NVIDIA drivers on Fedora

In this tutorial I'll show the installation of the proprietary NVIDIA drivers on Fedora Core systems. First of all, you need to download the drivers on the NVIDIA homepage:   Then you need to make it executable: chmod +x The filename may be different depending on the current version.   Executing ./ you […]

Configure NFS server and client on Debian or CentOS

NFS (Network File System) erlaubt es, relativ leicht, Shares zwischen Linux-Servern und -Clients zu erstellen.     Zunächst installieren wir die benötigen Pakete auf dem Server:   Auf einem Debian-System genügt ein: apt-get install nfs-kernel-server nfs-common portmap   Auf CentOS: yum install nfs-server nfs-utils portmap       Jetzt installieren wir die erforderliche Pakete auf […]