Fedora/Ubuntu issue with assigned IP by dhcp server.
2015/03/13
In the recent versions of Fedora/Ubuntu, I found that if the DHCP server assigns a reserved address, the address is not applied to the system. Finally I found that adding the below in …
ssh authorized keys – limit ssh session to custom command
2015/03/04
If you want a ssh key to be able to run a custom command only and nothing beyond that, then you can use the “command” option in the authorized_keys file of ssh. For example, to limit user to run only …
speedtest cli
2015/01/30
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 …
shell script for some quick tests on Linux
2015/01/22
Head over to the link and grab the script. Just run it and make yourself a little bit more safe 🙂 https://github.com/rebootuser/LinEnum
colorize your logs
2015/01/14
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 …
apache in docker to serve local website
2015/01/05
I have some backup’s of website on my laptop, which I occasionally want to view. Now, I could have setup apache to serve them directly with VirtualHost or alias but wanted a better solution. So, …
Nice discussion on Control Panel ( free ) for VPS.
2014/12/27
http://xmodulo.com/free-control-panel-for-vps.html Enjoy the discussion and information if you are looking for free control panel for VPS or some other host.
repotrack and repoquery -commands to resolve dependencies.
2014/12/18
To get all the depencies of a package, you can try: repoquery -a --requires --resolve Example output: glibc-0:2.20-5.fc21.i686 bash-0:4.3.30-2.fc21.x86_64 chkconfig-0:1.3.63-1.fc21.x86_64 …
PHP Image gallery with fancybox.
2014/12/09
So, I was looking for some quick to setup PHP Image gallery file. I found couple but none of them suited my needs too well. So I had to write my own. Very simple PHP script to show all the images …
script to get hard disk health in fedora/ubuntu
2014/12/01
First, put this in a script. #!/bin/bash #Change as appropriate HDD=sda export sub="SmartCtl data for HDD" echo 'To: <Your Email> Sub: [Cron] $sub MIME-Version: 1.0 Content-Type: text/html …
Whaaw! light weight media player
2014/11/25
Description : Whaaw! Media Player is a lightweight media player that supports fullscreen : mode, seeking, changing video colour settings and more. It will play any audio : or video files that …
ncurses based eFTE editor – programmers lightweight editor
2014/11/17
nefte is a lightweight programmers editor. Here is descriptioin: Description : eFTE is an advanced programmers editor with goals of being lightweight, yet : totally configurable. Support for user …