adding a dashboard for vnstat

i have been using vnstat for years. even before i wrote this article on vnstat

recently i wanted to see graphs and charts of the collected data. and i found vnstat-dashboard


vnstat dashbaord


scroll bar arrow in konsole / kde f27

i am a kde guy. i always install fedora kde spin when i can. recently, the arrows on the scroll bars in konsole has disappeared and makes it difficult to scroll back accurately. so here is the solution to get the scroll bar arrow back for kde konsole

(note: side effects may include scroll bar arrows appearing in other applications)

how to install an application on fedora

there are several methods to install an application or program on fedora. i will be covering fedora 27 as that is the latest as the time of this writing. previous versions had different methods. if i recall correctly it used to be called "software center"

fedora 27 (kde) has the following 2 installed by default

  • dnfdragora
  • discover

of course we mustn't forget the command line or CLI

yum -y install $software

where software is the name of the application you want to install. most often it is in lower case

drush on a remote host

to the uninitiated drush is the drupal shell. it allows you to do stuff to your drupal site from the command line and it requires

  • ssh access on the remote host or server
  • drush to be installed on the remote host on server

i had loads of errors while setting up drush and the following code is a summary of what i had to do to fix everything to get drush to work remotely from my laptop

RHN satellite / spacewalk cheatsheet

RHN satellite is the downstream of spaclewalk and so this cheat sheet works for both RHN satellite and spacewalk

Check if a host is registered

ls -l /etc/sysconfig/rhn/systemid

Register a host

rhnreg_ks --activationkey=$RHN_activation_key

Verify RHN Registeration (check for your repos)


architecting your data center (version 2) - part 3 - spacewalk

it was a tough call to make: spacewalk or gitlab; eventually the thought of downloading loads of packages everytime i updated a vm won me over. there is another advantage to having your own spacewalk instance on site that i will talk about in a later article.

you may be wondering why i wanted to install gitlab. well, i want to document my notes in a wiki at the same time i wanted to have a common source code repository, not only for scripts but also for files like /etc/hosts. as i add more VMs i will be adding them to the hosts file.

architecting your data center (version 2) - part 2 - the vm template

welcome back, in this series of articles i am documenting my steps as i build out an infrastructure to support an openstack cloud.

previously, i set up a kvm server. in this article i will briefly describe the steps i took to configure a vm to be a template to clone from

howto: create your own speedtest site

surprise! you too can have your own speedtest site and you dont need much. its already out there. you can use it internally or externally. you can even connect it up to a database to remember past results. but the most important fact to me is that it is open source.

and it is available from here 

first of all, you need to install some dependencies

yum -y install httpd php perl perl-CGI perl-Time-HiRes


bareos/bacula and selinux

so i was experimenting with bareos aka the fork of bacula and i got this error message on the bareos-webui when i attempted to log in

Error: Permission denied, director seems to be down or blocking our request.

after a bit of experimenting, it turns out that the error was caused by selinux blocking access. this page is what gave me the insight and the command is

setsebool -P httpd_can_network_connect on

architecting your data center (version 2) - part 1 - the kvm server

this is the 2nd part of series i am writing about architecting your data center (version 2)

so after a bit of experimentation, i have come to the conclusion that the first step is NOT to setup the rdo-manager's undercloud but in fact to
set up a KVM host. the logic being with a kvm host i can set up a VM for the rdo-manager's undercloud, take snapshots and restore to a previous snapshot if a mistake or 2 is made.


Subscribe to Posix In Egypt RSS