Month: December 2010

Linux: Get IP / IPv6 (internal/external) on Command Line/Shell

This is quick tip, howto get internal IP address and external IP address on Linux Shell / Command Line. This guide also show, howto make useful Bash functions to get IP addresses quickly. Note: All functions could be named as you wish and to make functions permanent, add functions to ~/.bashrc or /etc/bashrc. Also all […]

H

How to remove Tomcat on cPanel

Want to remove Tomcat from cPanel? Log-into your server as root using ssh: Execute the following command to stop the Tomcat process: # /usr/sbin/stoptomcat …and to remove the next files, enter: # rm -f /usr/sbin/starttomcat

Quit Bash Shell Without Saving Bash History (5 Methods)

Sometimes it is very useful to delete / remove Bash history partially or completely when log out. Here is my favourite methods howto log out / quit / exit Bash shell without saving Bash history. Remove Only Current Session Bash History and Leave Older History Untouched 1. Quit Bash Shell Without Saving History: Unset HISTFILE […]

Tips when applying at cPanel

I look at a lot of applicants here at cPanel and have some tips for would be job seekers.  Many of these tips are generic and could help you get a job anywhere, but all of them will help you get a job here. Choose your resume format carefully.  You worked hard to make your resume look the way you want it to; the format you send it in will ensure it looks that way …

Ruby, Ruby Gem, Rails and Mongrel Troubleshooting Guide

You’ve taken the plunge and installed Ruby on your cPanel system using our /scripts/installruby command. Now, you are preparing to run Rails applications to step into the Web 2.0 world. This guide will cover some of the common issues that might prevent your application from working. Latest cPanel Versions For all issues reported, first check the ruby version, rails version, ruby gem version and mongrel version. The current versions that we install are the following: …

NetBeans 7.4 on Fedora 20/19, CentOS/RHEL 6.5/5.10

NetBeans 7.4 is released and this is guide with screenshots, howto install NetBeans 7.4 on Fedora 20/19/18/17/16/15, CentOS 6.5/5.10 and Red Hat (RHEL) 6.5/5.10. What is NetBeans? The NetBeans IDE (integrated development environment) is available for Windows, Mac, Linux, and Solaris. The NetBeans project consists of an open-source IDE and an application platform that enable […]

The Admin’s Toolbox, Vol. 1 – tcpdump and you.

Hey there! In this instance of The Admins Toolbox, I’ll be discussing the tcpdump utility and some common uses. Sit back, crack open a frosty beverage of your choosing, and let’s learn about packet inspection for fun and profit. ? Tcpdump is by no means a new program. Written by Van Jacobson, Craig Leres, and Steven McCanne, while working at Berkley in 1987, tcpdump’s popularity quickly rose due to its high caliber of …

12 things that make a good WordPress plugin

WordPress plugins come in literally thousands of shapes and sizes. In my view a good plugin should have an intuitive admin user interface, work properly out of the box, and… More »