linux


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@192.168.16.17 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: www.nvidia.de   Then you need to make it executable: chmod +x NVIDIA-Linux-x86_64-190.53-pkg2.run The filename may be different depending on the current version.   Executing ./NVIDIA-Linux-x86_64-190.53-pkg2.run 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 […]


Creating screenshots with kwebdesktop on Linux

There are not a lot of ways automating the creation of screenshots from a linux console. One is using kwebdesktop. First of all we need to install the needed packages:   On a Debian Etch you can do this by executing: apt-get install vncserver kdesktop xfonts-base xfonts-100dpi xfonts-75dpi xfonts-intl-european xfonts-scalable xfonts-terminus xfonts-terminus-dos   In Debian […]