Debian/Ubuntu – Give user admin rights (Add to sudo)

For security reason, and others, it is a good idea to use another user than root. There is several ways of doing this. On a Debian system…

Linux – How to kick SSH users

This can be useful if a connection get stuck, or you see a suspicious IP of your users. If you run w or who you will see you…

Linux – Create and extract Tar files

Tar Probably the most used compression for Linux systems, and maybe the Linux equivalent of Zip. Tar stands for “Tape Archive”, and was made back in the…

Linux – Create and extract zip

Zip Probably the most used archiving format for pc users. To compress a folder in Linux: zip -r archive.zip /home/Jon/files_to_archive This example assume we are creating a…

Install KVM Virtual Machine Manager on Debian based systems

The Virtual Machine Manager is a small powerful tool when it comes to handling your kvm guests. To install the Virtual Machine Manager we do: apt-get install…

Linux Mint Mono develop is not working after install

Linux Mint Mono Develop On a standard Debian system this is very easy, and should be so on Linux Mint Mono Develop (the Debian version) too. Since…

Debian – Add sftp access for users to your Apache website folder

If you try to transfer files to your website folders (as a user) with FileZilla or any other sftp software, you most likely get write: permission denied….

Mono Develop (Linux) – Install .net MySql Connector

Here is how to install a .net MySql connector for Mono Develop for Linux (Tested for Debian Variants). First we is going to download the connector, and…

Debian – MTA hangs or takes very long time during boot

I ran into this issue after moving some database server to a isolated network. When booting your Debian machine and it hangs at “Starting MTA…” for a…

Debian & Ubuntu – Recovering MySQL root password

Haven’t needed to reset my MySQL root passwords yet, but I suspect someday…. On a Debian based system this is easy and also demonstrate the importance of…