Debian – Add USB hard drive
USB drives is a good way of extracting large amounts of data from your servers quickly. And of course a lot of other things. There are a…
Debian – How to install PhpPgAdmin
Always handy with a web based database tool. Here is how to install and access PhpPgAdmin on a Debian variant. First to install the package. apt-get install…
Debian – Install PostgreSQL
PostgreSQL, another popular sql database server. Here is how to install one in Debian (and Debian variants). However during the Debian installation if you select Database Server,…
Linux – Start, stop and reboot your KVM guests from command line
I prefer using a gui when controlling my virtual machines. Learning how to control them in the most basic way from the command line or terminal is…
Linux – How to copy files with progress bar
When copying very large files it is sometimes frustrating not having a progress bar. Have the process crashed? or etc… I´ve tried rsync and various other options,…
Linux – Clear content of a file
This is useful for me when editing my ip ban script. I use the same text file to ban ip´s and sometimes that file is pretty big….
Iptables – Block Ip’s
If you have gone through your logs, you will most likely find a lot of login attempts on ssh port. And probably some on the apache service….
Debian – Make iptables restore on boot, or save persistant
Here is how to save your iptables config and make it stick even after a reboot. There is two ways of doing this (at least). We will…
Debian/Ubuntu – Use RSA certificate with Putty
Here is how to connect to a Debian based server using RSA certificate with Putty. First thing you need is to download Puttygen, and you will find…
SSH – Connect to SSH with RSA certificate
Using RSA certificate will increase your account/server security. You can configure SSH server to only accept RSA certificate for your root user. Here is how to use…