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

nomacs – light weight image viewer

2014-11-10 1 min read Fedora

To install:

  <td>
    <div class="text codecolorer">
      sudo yum install nomacs
    </div>
  </td>
</tr>
1

nomacs is a very light weight viewer for images with some fetures that you find useful (rotate image,
crop and see in 1:1. Not too much features but definately very light weight and good for daily use.

Description : nomacs is image viewer based on Qt4 library.
nomacs is small, fast and able to handle the most common image formats.
Additionally it is possible to synchronize multiple viewers
running on the same computer or via LAN is possible.
It allows to compare images and spot the differences
e.g. schemes of architects to show the progress).

tlp – optimize and maximize your battery power.

2014-06-30 1 min read Fedora

If you are concerned about the battery life on your Linux laptop, then you should consider using tlp. tlp customizes your Linux distribution for maximum battery life and thus helps improving battery longevity when on Linux.

 

TLP brings you the benefits of advanced power management for Linux
without the need to understand every technical detail. TLP comes
with a default configuration already optimized for battery life.
Also an optional install of the smartmontools package enables hard
disk SMART data in tlp-stat (smartctl).

Continue reading

Backup – simple and intelligent

2014-06-06 1 min read Fedora

However much you stress on the importance of backupm people will forget about keeping it. So, if you do need a completely automated and simple backup then consider using “Back In Time“.

Description:

BackInTime is a simple backup system for Linux inspired from
“flyback project” and “TimeVault”. The backup is done by taking
snapshots of a specified set of directories.
This package contains the GNOME frontend of BackInTime.

For installation:

Continue reading
Older posts Newer posts