Currently Browsing: Linux

How to create a file of arbitrary size

Sometimes you might need to test certain functionality of a file system, e.g. if quotas are reported correctly. For this purpose you might want to upload a file on the server in specified size. You can easily create such a file using the command below: dd if=/dev/zero of=filename bs=1024 count=1048576 if...

Delete files older than X nuber of days

Here is another bash one-liner. This one will help you find and delete files older than X number of days. Very useful in a directory full of various types of logs, such as /var/log: find .  -type f -mtime +X -exec rm -rf {} \; ;done This assumes, that you are already in the directory in question. Simply...

How to make exim send from a new IP

If you need to send lots of e-mail addresses via your Exim MTA, you will most probably want to do so from a new IP address, so you can preserve your main one. Configuring this is as easy as 1-2-3 :) Open exim.conf for editing with your preferred text editor and find the following lines: remote_smtp: ...

Server virtualization and consolidation with Innotek VirtualBox

This is a short technical review of the Innotek VirtualBox software showing the pros and cons of server virtualization and consolidation as a whole. In this article I will show you how to install the VirtualBox application and get running, as a proof of concept, an Ubuntu Linux on top of Microsoft Vista...

Minimal Gentoo Installation

Gentoo OS Installation from Minimal Disk This artlicle will show you how to install Gentoo OS from a minimal installation CD on your computer. Before proceeding, please ensure that you have the following: A computer infront of you. Available connection to internet – you will need to download...

Rolling your SERIAL mouse wheel on FreeBSD + Xorg

This one is easy. However it took me a while before I found the sollution. Here is the scenario. You have an old serial wheel mouse and you do not want to buy a new one as the current is doing great its job :) If you try the Xorg auto configuration and fire up your favorite X window manager the mouse...

Gentoo Tutorial part 2: Adding goodies to the system.

This is the second part of the Gentoo Tutorials. In the first section “Minimal Gentoo Installation” we have built a fresh Gentoo system using the minimal install disk and downloading the stages/ports and building the kernel. This left us with a bare Gentoo OS. In this second Gentoo Tutorial...

openvpn and a Windows client

This is quite an easy one. Even for a newbie. Here we will show the quickest way to create an openVPN tunnel between your safe home Linux/BSD router and your Windows client. Very useful for mobile computers, which do not always use the same secure network. Mind that this only shows you the quickest way...

KDE4 plasma workspace bug

As you might already know, there is a testing version of K Desktop Environment 4 released. It is as expected full with bugs and problems to solve. Here is one: After you install the KDE4, try to change the wallpaper by selecting a new desktop from the ones available with the installation. For some reason...

Apache with multiple PHP Versions

This is the third part of our Gentoo tutorials. In the first two parts we have installed Gentoo from the minimal installation disc and added some interesting applications and utilities. In this third part we will install an apache webserver with several different php versions. I will use php4 and php5,...
Page 1 of 212»