Install rainbowstream on Fedora

Rainbowstream is simple command line based Twitter client. If you prefer reading your twitter stream in browser, client like tweetdeck and similar, go ahead, I won’t stop you from doing that. But if you, like me, want to experiment with command line twitter client then this guide will help you set it up in Fedora (24). Rainbowstream is available as the python package and is just “pip away”. To install it you can use:...

August 20, 2016 · 1 min · Ivan Tomica

Enable mod_status in Apache 2.4

Thing that I miss with Apache on CentOS 7, and in the matter of fact, every SystemD based distribution is running service httpd status and immediately seeing full Apache status along with number of active connections, server uptime etc. This article will focus on how to enable mod_status in Apache 2.4 so you can successfully utilize apachectl fullstatus command from your server to display web server statistics. Prerequisites for apachectl fullstatus option to work are mod_status module installed and enabled in Apache configuration and links or some other text based web browser....

August 19, 2016 · 2 min · Ivan Tomica

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!

July 11, 2016 · 1 min · Ivan Tomica

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 count) forked: yes (variable process count) Server compiled with.... ... Default MPM worker should be prefork. If you want to change that, to let’s say, worker MPM you can do that by changing the file located in /etc/httpd/conf....

July 10, 2016 · 2 min · Ivan Tomica

Upgrade to NextCloud 9

Great article by Jos Poortvliet of NextCloud on how to upgrade to NextCloud 9. I upgraded from ownCloud 8.2 and it worked flawlessly.

July 4, 2016 · 1 min · Ivan Tomica

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 said: Jun 16 21:44:48 scotty.tomica.local docker-storage-setup[1096]: ERROR: Docker has been previously configured for use with devicemapper graph driver. Not creating a new thin pool as existing docker metadata will fail to work with it....

June 17, 2016 · 3 min · Ivan Tomica

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 reset org.gnome.desktop.wm.keybindings maximize where maximize in this case is the name of the property you wish to reset (eg. show-desktop, switch-windows etc....

June 16, 2016 · 1 min · Ivan Tomica

(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 -c "set textwidth=80" -c "set wrap"' That’s great, and works great… except when you all of the sudden remember to write something in the middle of existing text, then it all falls apart....

June 16, 2016 · 1 min · Ivan Tomica

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 to 5 GB of space (depending on how much packages you have installed). First thing I checked was space usage directory by directory on /:...

April 16, 2016 · 1 min · Ivan Tomica

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

February 24, 2016 · 1 min · Ivan Tomica