Linux

Mounting remote filesystems using SSH and Debian

This post describes how to mount a remote filesystem through SSH using the shfs kernel module on a Debian Etch server. By doing this I can access the remote filesystem as if it was a local filesystem and also use my local tools and software. This is a short description of how I made a […]

Read More
Linux

mysql_secure_installation — Improve MySQL Installation Security

This program enables you to improve the security of your MySQL installation in the following ways: You can set a password for root accounts. You can remove root accounts that are accessible from outside the local host. You can remove anonymous-user accounts. You can remove the test database, which by default can be accessed by […]

Read More
Scripting

Restart dead daemon automatically

This is a simple bash script to restart a dead daemon, in this example I’ll use apache #!/bin/bash # Automatically restart httpd if it dies netstat -ln | grep “:80 ” | wc -l | awk ‘{if ($1 == 0) system(“/etc/init.d/httpd restart”) }’

Read More
Windows

Disable ZIP file handling in Windows XP

I do not want to open ZIP files in Windows Explorer since it takes a long time to open big ZIP files. To disable the built in support for ZIP files in Windows XP execute the following command in a command window (cmd.exe) regsvr32 /u %windir%\system32\zipfldr.dll To enable it again regsvr32 %windir%\system32\zipfldr.dll

Read More
Windows

Howto remove unused device drivers from Windows XP

I had a problem with a network card this weekend. It wasn’t possible to get it to work because of a conflict with another hardware or its drivers. After doing some google’ing I stumbled over this link explaining how to remove unused device drivers from Windows XP Just follow these steps to view and remove […]

Read More