Start SSH in Plesk

Recently I’ve had a situation that on one of the servers with Plesk panel installed on it SSH service was not working. Unfortunately there is no way to restart the service via panel for some reason. You can restart other services, but not ssh, probably because service itself is not managed in any way by Plesk panel. Anyhow, interesting way to hack around this was to use cron jobs to execute tasks and restart the service :-)...

April 1, 2017 · 1 min · Ivan Tomica

cPanel updated to version 64

cPanel “CURRENT” release tier just got bumped to version 11.64 which brings few things and resolves few issues and oddities. This is Release Candidate channel so it may take some time to get those features to RELEASE or STABLE update tiers. Features/Fixes that got me excited in this release: Minimum free space available for backups: added a minimum free disk space check to WHM’s Backup Configuration interface (Home » Backup » Backup Configuration)....

March 29, 2017 · 3 min · Ivan Tomica

Nested Tmux

Ever wanted to have tmux session inside of tmux session? Don’t know how to control the one inside of current tmux session? Easily: Ctrl+b Ctrl+b COMMAND So basically, you need to send your prefix twice. You can also use: Ctrl+b+b COMMAND

March 28, 2017 · 1 min · Ivan Tomica

My Firefox setup

This post is intended to share list of Firefox extensions I use. Maybe you get use of some. It was inspired by this article. Anyhow, my current list goes like: Better reader Helps me adjust behavior of Reader View that is built in into firefox. I can change color scheme, padding, width and much more. It comes really handy when reading long articles. Ctrl + Shift + Q Quit As I try to use keyboard in browser navigation as much as it is feasible I had this issue with constantly closing my browser completely when trying to close one tab only (Ctrl + W and Ctrl + Q are too close on QWERTZ layout ;-) ) This extension resolves that issue for me....

March 28, 2017 · 2 min · Ivan Tomica

Checking disk activity with ZFS – iostat

Pretty neat little command that I wasn’t aware before, but quick check of the manpage would bring it to my attention. :-) To check current disk activity stats on your zpool you can use: zpool iostat -v POOLNAME You can of course omit pool name, without it it’ll show statistics for all pools. Command output example: $ zpool iostat -v capacity operations bandwidth pool alloc free read write read write ---------- ----- ----- ----- ----- ----- ----- storage 838G 554G 1 40 54....

March 28, 2017 · 1 min · Ivan Tomica

Deploying Let’sEncrypt on R1Soft Server Backup Manager (CDP)

Securing R1Soft Server Backup Manager (CDP) with SSL/TLS encryption sounds like a good idea. Using Let’s Encrypt to accomplish that sounds even better! Unfortunately, there’s no way to automatically install SSL certificates to Server Backup manager as its web interface is being run by Apache Tomcat, which parses those certificates from its keystore, so yeah, there’s a bit of hacking involved. Naturally, I wrote a script to resolve that :-)...

March 27, 2017 · 3 min · Ivan Tomica

Installing cPanel on low memory system

This is more of an reminder for myself when trying to install cPanel system on cheap, low memory system, just to test something out. On CentOS 7 cPanel requires at least 1024MB of RAM, while on CentOS 6 it requires 768MB of RAM. If you have less than that install will straight out fail. I understand that this are recommended requirements, and that is not good idea to run anything serious on less memory than that....

March 24, 2017 · 2 min · Ivan Tomica

Firefox 52 Gnome shell integration on Fedora 25

After update to newest Firefox version on Fedora 25 my gnome shell integration stopped working. When visiting extensions.gnome.org website I was greeted with following message: To control GNOME Shell extensions using this site you must install GNOME Shell integration that consists of two parts: browser extension and native host messaging application. When I followed the link and installed gnome shell integration Firefox plugin I was getting following error: Attempt to postMessage on disconnected port...

March 10, 2017 · 1 min · Ivan Tomica

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