My Tmux configuration

I’ve spent some time tweaking and playing around with my .tmux.conf. If you’re interested in how I did it or search for some inspiration you can find my configuration at the bottom of this post. I’ll briefly explain and showcase some of the options throughout the article. To reload config without closing and re-opening Tmux again I’ve mapped Prefix + r as key combination to source ~/.tmux.conf: # Reload config bind r source-file ~/....

March 4, 2017 · 3 min · Ivan Tomica

How to configure Bind with IPv6 on cPanel

This one is pretty simple, and if you properly set up your network settings when installing server it should work automatically, if not go to the Basic setup window: Navigate to the IPv6 settings section and enter your server main IPv6 address. Save settings and WHM should automatically rebuild your named.conf to listen on IPv6 address.

February 28, 2017 · 1 min · Ivan Tomica

Checking “Cloudbleeded” passwords in password-store (pass)

So, there’s this CloudFlare HTTPS traffic memory leak that happened and it is good idea to change passwords for all of your sites that are using cloudflare. Full list of sites using cloudflare is available on above mentioned Github page. I’m using pass, simple password manager that stores all of the credentials in gpg encrypted files. I’m not going on explaining what it is in more details since if you’re reading this blog you probably at least know of it....

February 25, 2017 · 2 min · Ivan Tomica

How to set up ZFS on CentOS 7

Recently I have started thinking about backups on my personal web server (on which this blog is hosted on). Simplest solution I have come up with is to just mount additional drive to the server, format it as ZFS, sync stuff to it and then just snapshot that drive. This way I don’t use much space for storing backups and I can keep more frequent backups. Sure, I could just move website to that ZFS drive, and I will probably do so in future, but for now it is how it is....

December 12, 2016 · 2 min · Ivan Tomica

Owncloud client on Fedora 25

If you were fast on a trigger and upgraded to Fedora 25 as soon as it was available and you use Owncloud client for your syncing needs you may found yourself that Owncloud client doesn’t start. You may have also noticed an that it causes an error while trying to perform an upgrade to newest release. Error that I got while wanting to start up client was: owncloud: error while loading shared libraries: libqt5keychain....

November 25, 2016 · 1 min · Ivan Tomica

SSH agent service in Fedora

It is wise to protect your private SSH keys with a strong password so in case somebody manages to get your private key somehow he will still need password for it to be able to use it and that should hopefully give you enough time to change your keys. When you have password protected private key you need to enter your password every time you use it which can be problematic, especially when you use your key a lot....

October 2, 2016 · 2 min · Ivan Tomica

How to include custom man pages in Linux?

Have you ever wondered where man pages are located and can you include some other folder with man pages? Well since I compile Mutt email client from source I have decided to place it in /opt directory so it won’t interfere with system packages and packages from official repositories. When Mutt is configured with --prefix=/opt compile time option it also installs its man pages to /opt/share/man directory. If you type in man muttrc into your terminal you may find that man won’t find those man pages....

September 15, 2016 · 1 min · Ivan Tomica

Installing AwesomeWM on Fedora

I used to use AwesomeWM back when I was still running an Arch Linux. After switching to Fedora I decided to stay with Gnome to try it out. With time I got used to it again, and in matter of fact I found myself liking it a lot. Yesterday I had a conversation with my brother about broad selection of topics regarding Linux, text editors, desktop environments and much more, amongst all we touched on the topic of Awesome window manager....

August 27, 2016 · 2 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

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