update for wordpress.com issue

2015-04-03 1 min read Uncategorized

I had issues with my mobile and reset it without taking back up of Google authenticator. Guess what, now I have no access to the worpress.com account to which my blog was linked. Tried everything and when nothing worked, had to create a new account in worespress.com…. Hopefully my subscribers will not have any issues with this change.

PID File for squid in Fedora – 21 ( Fedora.next)

2015-03-24 1 min read Fedora GNOME

So, the other day, I wanted to have squid store its pid in the regular ‘var/run’ directory. Good simple enough – just add the following to “/etc/squid/squid.conf” :

pid_filename /var/run/squid/squid.pid

and create the /var/run/squid directory. Simple, hold on not so fast. Reboot and psssst.. ‘/var/run/squid’ is gone. Finally found that /var/run is handled by systemd-tmpfiles and thus you need to do this as well:

cat <>/lib/tmpfiles.d/squid.conf
d /run/squid 700 squid squid
EOF

So, basically you need to tell tmpfiles to create the squid directory as well.. How complicated things are becoming 🙂

Continue reading

speedtest cli

2015-01-30 1 min read Fedora

To test your speed you can use speetest-cli. Here is the description:

Command line interface for testing internet bandwidth using speedtest.net

and to install and test:

sudo yum install speedtest-cli

#Run
speedtest-cli

The output is like below:

[speetest-cli][1]
speedtest-cli

colorize your logs

2015-01-14 1 min read Fedora

CCZE is a robust and modular log colorizer with plugins for apm, exim, fetchmail, httpd, postfix, procmail, squid, syslog, ulogd, vsftpd, xferlog, and more.

For installation

sudo yum install ccze

and to use it:

tail -f -n 50 /var/log/firewalld | ccze
#or better yet
cat  /var/log/firewalld | ccze|more
Older posts Newer posts