Easy ownCloud install on Debian/Ubuntu

Read more about ownCloud here. This guide covers installing ownCloud on your Debian or Ubuntu server with minimum hassle. Anyway. Step 1 Make sure you are logged in as root. Step 2 Paste the following command in to your terminal. It will install ownCloud 3.0.0 and Apache web server with the necessary php5 prerequisites. cd

Read More..

Automatically change wallpaper in Gnome

Here’s a quick script to automatically change your background image. Just replace PICTUREDIR with the folder where you store your wallpapers. This script does not work for Gnome 3 as it uses gsettings instead of gconftool-2. If anyone uses Gnome 3 and knows a working solution for that then feel free to leave a comment

Read More..

Bash backup script using tar

Here’s two backup scripts that I wrote, one for full backup and one for incremental backup. The way it works is that whenever the full backup script is run it creates a snapshot file (basically a hash) of the files and folders it backs up. Then when the incremental backup runs it checks against that

Read More..

SSH login with RSA key pairs

Find it teadious to type in passwords all the time when in a shell? This is a quick guide on how to set up SSH login using RSA authentication instead of passwords. Before beginning make sure that the remote server has RSA authentication enabled (RSAAuthentication yes in /etc/ssh/sshd_config). Creating the keys When creating a key

Read More..

Setting up VSFTP with virtual users using MySQL on Debian

Introduction This has been tested on Debian Etch 4.0 and Debian Lenny 5.0, the procedure is the same in both versions. It should be roughly the same on Debian derived systems like Ubuntu. Here we’ll learn how to set up a FTP server with virtual users, as opposed to real system users. This helps you

Read More..

How to set up a Teamspeak 3 server on Linux

Creating a user that will run the Teamspeak 3 Server Make a good habit out of never running your services as root. This is a potential security problem. Instead create a new user that will run your server. Log in as root (the remainder of this tutorial assumes that you are logged in as root),

Read More..

Python: Apache log searcher

Here’s a small script I made to search through a Apache log file for a specific IP or hostname and see which files that IP/hostname has accessed. There are probably easier and prettier ways to do this, but I did it mostly to practice some Python programming. 1 2 3 4 5 6 7 8

Read More..

Setting up irssi with FiSH on Debian

FiSH is an encryption addon for irssi, it is based on blowfish and is fully compatible to original ‘blowcrypt’ script. It supports private chat and channel encryption. A secure key-exchange system is included aswell. You can read more about FiSH and the available commands at http://fish.secure.la/irssi/FiSH-irssi.txt 1. Getting everything we need from repositories Fire up

Read More..

How to authenticate on Quakenet

Authenticate to the Q bot in order to be recognized by it. This will cause you to automatically gain operator status in the channels where you have this enabled. You will also be able to mask your IP/hostname from other users if you are authed. 1. Start by registering. Make sure it’s a valid email

Read More..