Linux command to check servers internal, external / public IP address

shell image

While working from shell with no GUI, you may need to check servers internal & external / public IP address. This can be achieved using a simple command as below: To check servers external / public IP address: dig +short To check servers local IP address: curl -s | sed -e 's/.*Current IP Address: //' -e 's/< ... Read More »

[Solved] SocketException Permission denied - CakePHP


CakePHP is a PHP development framework used in many projects. CakePHP supports sending mail via built in mail functions of PHP, smtp server. One may face following error message while sending mail: SocketException Permission denied - CakePHP The issue is related to the SELinux policy of the OS. SELinux forbid PHP/Apache to make network connections. In this case, one has ... Read More »

[Fixed] Zentyal 3.5 NO_PUBKEY error in apt-get update

zentyal logo

Zentyal community edition is one of the widely used application for managing infrastructure. Zentyal pushes frequent updates through Zentyal repositories. One my get following error while upgrading Zentyal: W: GPG error: 3.5 Release: The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY 8E9229F7E23F4777 Solution: Add the Zentyal 3.5 key so that apt connect to ... Read More »

[How To] Disable SSLv3 for Apache in WHM cPanel

apache logo

After HeartBleed, Poodle (Padding Oracle On Downgraded Legacy Encryption) is another exploit recently discovered affecting SSL version3. To disable SSL version 3 for Apache in WHM cPanel, you can follow below steps: 1) Login in WHM and go to Service Configuration > Apache Configuration > Include Editor 2) Click on the Pre Main Include and select All Versions option from ... Read More »