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…
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…
Debian – Recover lost root password
This might come in handy sometime. I had to use this method earlier today, after changing permissions and cleaning up some users. Accidentally changed the root password,…
Debian – Autostart programs on boot
For the Debian system, we have a directory called /etc/init.d/ where the scripts that the init process runs during startup. And shutdown. So If it your own…