Ivan Tomica

Category: Blog

Total 111 Posts

Referal links

I just conveniently placed referral links for DigitalOcean and Vultr cloud VPS providers in the sidebar of my website and would appreciate if you used those links to sign up for their service if you planned to buy VPS from one of those two. Thank you!

Change Apache MPM on CentOS 7

Here’s an article on how to change your current Apache MPM on CentOS 7 machine. Apache version I’m using is Apache 2.4. To check which MPM is currently in use you can run: httpd -V which should print something like: … Architecture: 64-bit Server MPM: prefork threaded: yes (fixed thread

Continue Reading

Docker and docker-storage-setup.service

During the start-up of my Fedora powered laptop I noticed in the boot messages list that some service has failed to start. Looking more closely I noticed that docker-storage-setup.service was failing, now, let’s go down the rabbit hole. First thing i checked were logs, of course, and journalctl -u docker-storage-setup

Continue Reading

Reset GNOME shortcuts

Have you ever messed around with GNOME shortcuts and ended up with all of the shortcuts turned upside down? No? Well I have. To reset all shortcuts to it’s default state you can use: gsettings reset-recursively org.gnome.desktop.wm.keybindings or if you wish to reset just one shortcut you can use: gsettings

Continue Reading

(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.