Jan 27 2012

Compiling Audacious plugins with the AudioScrobbler plugin switched on

Tag: multimediatengo @ 9:58 am

On ./configure, audacious-plugins may report that you will compile with AudioScrobbler client : no. In this case install libcurl4-nss-dev (curl with SSL support), run configure again and it will indicate yes.


Jan 22 2012

Install and configure a MySQL database server on Debian Squeeze

Tag: Ubuntutengo @ 12:52 pm

Do
apt-get install mysql-server
to install the MySQL client, server-core, server-5.x and setup the daemon.
A small wizard will come up to ask you basic things.MySQL has its own user-permission system, so it asks for the  database root user’s password first.
If the wizard doesn’t come up, you can create the root user manually:
$ mysqladmin -u root -p password […]


Jan 22 2012

Securing ssh and other service daemons with fail2ban

Tag: webservertengo @ 11:30 am

On Debian Squeeze do this
apt-get install fail2ban
to install fail2ban on your system.
Fail2Ban’s conf files live in /etc/fail2ban,  the structure of these config files is explained here.
Fail2Ban comes with a number of prepared config files for various services.But these templates have to be “activated” by editing the /etc/fail2ban/jail.conf config file. It is separated into sections, uncommenting […]


Jan 22 2012

Installing Apache on Debian Squeeze

Tag: webservertengo @ 8:36 am

Just doing apt-get install apache2 will give you a working Apache web server, but not one of the optimized variants. As a rule of thumb:

apache2-mpm-prefork: every request gets its own (memory-separated) process
apache2-mpm-worker: the multi-threaded Apache2, uses threads instead of processes and is generally faster than -prefork and might use less memory.

As PHP is not thread-safe, […]


Jan 22 2012

Installing sshd on Debian Squeeze

Tag: webservertengo @ 6:34 am

Installation of the sshd on Debian is not by apt-get install sshd but by doing
apt-get install ssh
which will ask you (or assume) that you want to run the ssh-daemon. You can check after installation by doing ps aux | grep sshd if the daemon is actually up.
No that you’ve got direct access to the system, […]


Jan 22 2012

Installing Debian on an IBM x3650 7979

Tag: webservertengo @ 6:28 am

The IBM x System server x3650-7979 51G came with two SAS 73GB drives. First I went into the Adaptec ServeRAID 8k menu by pressing CTRL-A on bootup. Ran the basic check drive function and then formed an array out of the two drives by ~preparing the drives indivdually for the array, then formed an array […]


Jan 17 2012

Audacious playlists location

Tag: multimediatengo @ 3:05 pm

The xmms fork and winamp clone Audacious stores it playlists in:
~/.config/audacious
with ~/.config/audacious/playlist.xspf being the default playlist.
All user added playlists are then stored in ~/.config/audacious/playlists/playlist_<number>.xspf


Jan 01 2012

How to wipe a hard disk before you sell it

Tag: Ubuntu, Windowstengo @ 8:01 am

In case you want to auction or sell your Laptop or an old hard disk, make sure people have a hard time retrieving your data.

Download SystemRescueCD, for example.
Boot into Linux (could be you have to change the boot order in BIOS)
Use # fdisk -l to list installed drives on the machine.
Use # shred -vfz -n […]


Nov 18 2011

Merging multiple pdf files and jpg files into one PDF

Tag: Ubuntu, multimediatengo @ 10:59 am

As shown in Combining two or more PFDs into one, merging pdf files is simple with gs (ghostscript):
gs -dBATCH -dNOPAUSE -q -sDEVICE=pdfwrite -sOutputFile=finished.pdf inputfile1.pdf inputfile2.pdf
I should be equally simple if you’ve got some JPG files among the files you want to merge, through gs input filters, but I couldn’t get it to work. That’s […]


Sep 30 2011

Awstats shows most connections from 127.0.0.1 or most requested page is asterisk ‘*’

Tag: webservertengo @ 4:14 am

No need to worry: this is the Apache’s internal dummy connection. Apache / Apache2 uses it to wake up dormant processes/ requests. Read this.
There are a couple of ways to remove this noise from your logfiles. On my system I went down this path:
Go to your http.conf file, or the file containing the log directive, […]


Next Page »