Ivan Tomica

Category: Blog

Total 91 Posts

(Re)Wrap text in vim

Since I try to use vi/vim editor for almost everything related to editing text and I use it for writing emails too. I use mutt with vim as my text editor but I also have it set up in a way that it wraps text on 80th column: set editor=’vim

Continue Reading

Fedora and disk space usage

Today I noticed weirdly high disk space usage on my / partition. I have to admit that I don’t monitor those things so often on my home PC since I have plenty of free space but this came really weird to me since classic Linux install regularly takes around 3

Continue Reading

Hide Nginx version

If you want to hide which nginx version are you using from HTTP headers you can use following directive in some of your nginx configuration files: server_tokens off;

Fail2Ban for ownCloud

Protecting your ownCloud instance from bots pawning on its login form is certainly a good idea and fail2ban can help you with that. This post will guide you through how to install fail2ban on CentOS 7 box, configure ownCloud filter and start using it.