Installing Centos 7 with a minimal install option will leave you in a funny situation, where no “net-tools” package is installed, so (as far as I can tell) you can’t bring upRead More…
Persistent routes in Centos
Persistent route (static, but not a default route) Say, you have route like this: route add -net 192.168.210.0/24 192.168.1.3 dev eth1 And you want to make it persistent (and oviously static) –Read More…
Web based bandwidth monitoring on a Linux gateway
I often need to know how much bandwidth is my linux gateway/router box using, specially if there’s any P2P traffic (torrents) and from which IP address on the LAN is it coming.Read More…
Implementing vsftpd userlist
In the former aricle the ftp server was made, with pam authentication. This means that any valid user on your linuxbox can log in with it’s username and password. If you wantRead More…
Login with PuTTY without password
It’s much easier to set up PuTTY to login without password to a remote machine. You will need to provide a key to the remote server that will authenticate you without passwordRead More…
Remote shutdown (or any command) on Linux
The easiest way to do a remote shutdown (or place any other command) is to have an ssh key for the root user. Here’s how to make one. After this you canRead More…
Part II: SSH alias
If you have a lot of hosts that you maintain, keeping their IP adresses in mind or on the record if the IP addess somewhere else, and pasting them every time youRead More…
Part I: Login using SSH without password
The aim of this article is to demonstrate how to login to your linux box without password. At start, there is no need for some special setup because the sshd on CentOSRead More…
Solved: Another MySQL daemon already running with the same unix socket
It is confirmed since a while that the MySQL server that was distributed with CentOS 6.4 and on, for now, has a so called stale socket bug. This happens when there is anRead More…
Install vsftpd on Centos 6.5 (with TLS/SSL support)
Generally, it’s very easy to setup an FTP server! Let’s make one now that supports basic features and secure (TLS) transfers, without anonymous access: First, let’s install vsftpd (all from stadard CentosRead More…