Proxy using SSH Tunnel

Browse the web using your SSH Server by making it a proxy server.

SSH

How to auto start services on boot in Centos / Redhat / Oracle Linux?

To auto start services in Centos, Redhat or Oracle Linux, you can use builtin chkconfig utility. It is located in /sbin directory. If you are a regular user (non-root), then /sbin may not be in your path. Therefore, you may have to use the full path to access the chkconfig utility.

To know the commands click “Continue reading”…


Display calibration

As i use the same monitor (LG W2486L) on my Nintendo Wii U and my Computer, i never payed attention to the fact that sometimes i couldn’t see some colors just for a wrong calibration on my display.
I do use Adobe Lightroom on this PC to make enhancements to the photos, but how could i know if my display was showing what i need to see?

A friend of mine told me about some videos that could help me to do that, on the link below you can download the videos and check more information about it.
http://www.avsforum.com/forum/139-display-calibration/948496-avs-hd-709-blu-ray-mp4-calibration.html

I just used the basic settings and now my display is very better, i can see a better range of whites and blacks.

YouTube Background for Android 2.2+

youtubebackgroundI made this app for a friend that wanted to play YouTube videos just to listen it’s audio. So it’s very simple, works by sharing the URL from YouTube video with the app or googleing the video. (for instance: go to google.com and type “YouTube lindsey”.

Unfortunately, google removed this app from google play, so its here now.

Download

How to use different user and group for just one Virtual Host in Apache

apacheWith the mpm-itk that is a multi-processing module (MPM) you can run each virtualhost with it’s own user id and group id. This is basically used to make a shared hosting secured, since you don’t have to make all virtualhosts folders readeable by apache user.

mpm-itk is based on the traditional prefork MPM, which means it’s non-threaded; in short, this means you can run non-thread-aware code (like many PHP extensions) without problems.

Press continue reading for more.

How to fix “Can’t locate Search/Xapian.pm in @INC”

perlError: Can't locate Search/Xapian.pm in @INC (you may need to install the Search::Xapian module) (@INC contains: /path/to/something /etc/perl /usr/local/lib/perl/5.18.2 /usr/local/share/perl/5.18.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.18 /usr/share/perl/5.18 /usr/local/lib/site_perl .) at (eval 143) line 2. BEGIN failed--compilation aborted at (eval 143) line 2.

To fix this, in ubuntu 14.04, just type:

$ sudo apt-get install libsearch-xapian-perl

How to fix “Can’t locate Sort/Naturally.pm in @INC”

perlCan't locate Sort/Naturally.pm in @INC (you may need to install the Sort::Naturally module) (@INC contains: /path/to/something /etc/perl /usr/local/lib/perl/5.18.2 /usr/local/share/perl/5.18.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.18 /usr/share/perl/5.18 /usr/local/lib/site_perl .) at (eval 145) line 2.
BEGIN failed--compilation aborted at (eval 145) line 2.

To fix this, in ubuntu 14.04, just type:

$ sudo apt-get install libsort-naturally-perl

How to disable apache logs

To diapachesable apache logs (access and error log) to avoid excessive writes on local server just open your /etc/apache2/apache2.conf file and change the following two configurations:
Change the ErrorLog to:
ErrorLog /dev/null
Now, open /etc/apache2/conf.d/other-vhosts-access-log and comment the following line
#CustomLog /var/log/apache2/other_vhosts_access.log vhost_combined
In addition, you might have to change these files:
/etc/apache2/sites-available/default-ssl
/etc/apache2/sites-available/default
and change the ErrorLog and comment out the CustomLog:
ErrorLog /dev/null
#CustomLog ${APACHE_LOG_DIR}/access.log combined

If you have more VirtualHosts, you need to make the same configuration for them.

Source; lleess

AWS lowers cloud pricing by launching the T2 instance type that can burst to handle occasional workload spike

awsT2 instances are Burstable Performance Instances that provide a baseline level of CPU performance with the ability to burst above the baseline. The baseline performance and ability to burst are governed by CPU Credits. Each T2 instance receives CPU Credits continuously at a set rate depending on the instance size.  T2 instances accrue CPU Credits when they are idle, and use CPU credits when they are active.  T2 instances are a good choice for workloads that don’t use the full CPU often or consistently, but occasionally need to burst (e.g. web servers, developer environments and small databases).

Click continue reading for more.


htop

htoplogohtop is an interactive text-mode system-monitor process viewer for GNU/Linux. It aims to be a better ‘top’. It shows a frequently updated list of the processes running on a computer, normally ordered by the amount of CPU usage. Unlike top, htop provides a full list of processes running, instead of the top resource-consuming processes. htop uses color and gives visual information about processor, swap and memory status.

Press continue reading for more.