Month: January 2010

byobu

Byobu is a Japanese term for decorative, multi-panel screens that serve as folding room dividers. As an open source project, Byobu is an elegant enhancement of the otherwise functional, plain, practical GNU Screen. Byobu includes an enhanced profile and configuration utilities for the GNU screen window manager, such as toggle-able system status notifications. In ubuntu…


Tomcat2

CPanel Tomcat PDF The latest Tomcat version supported in cPanel/WHM is v5.5.27 and can be installed safely using EasyApache. To install tomcat in WHM 11.25, you will need to run /scripts/easyapache and once complete, access it from the tomcat manager or admin control panel. Once easy apache completes, you will need to go to http://localhost:8080/manage…


Removing malware code from your site

Earlier today, Bill logged into his cpanel account to check on a few things before heading to work. Little did he know, little Jimmie was secretly watching porn late last night and visited a site which infected the family PC with a keylogger and a few trojans. The system hung and little Jimmie did what…


1Liner that Re-installs Ubuntu

From http://www.kabatology.com sudo dpkg-reconfigure -phigh -a This simple command can reinstall all of Ubuntu’s distribution packages and reconfigure them. If you ever find it necessary to reinstall Ubuntu, first backup your data then drop this line of code unto the command-line. It takes about an hour for the whole process to get to an end,…


Change the Run Level in LINUX

From http://www.linusol.com/ What is Run Level? Linux has 7 different run levels; Each mode has it’s own list of settings for what services to start and what services to shutdown. Not only does this list contain what is supposed to be running, but also what order each service should be started in – a feature…


Install TTF font in CentOS

Installing TTF font in CentOS is very easy. You will need root access. To install, follow these simple commands; 1) check if directory /usr/share/fonts/TTF exists, if it does not exist, create it. mkdir /usr/share/fonts/TTF copy any *.TTF file font you want to install to /usr/share/fonts/TTF/ directory then run the command: /sbin/service xfs reload


Linux 101 Hacks eBook Goes Online – HTML Version

From http://www.thegeekstuff.com: There be good stuff here. by Ramesh Natarajan on January 14, 2010 I’m happy to announce that my free eBook, Linux 101 Hacks is now available for online browsing in HTML format. I’ve also updated the book with the following minor changes. * Added “Chapter 13. Bonus Hacks” with 10 additional hacks. I’ll…


BackTrack4 is out!

BackTrack is a Linux-based penetration testing arsenal that aids security professionals in the ability to perform assessments in a purely native environment dedicated to hacking. Regardless if you’re making BackTrack your primary operating system, booting from a LiveDVD, or using your favorite thumbdrive, BackTrack has been customized down to every package, kernel configuration, script and…


Running top in batch mode

If you try to redirect the top command output to a text file as shown below, you’ll notice that the output file contains lots of junk characters and when you try to view the output file using the less command, you’ll notice that the output file is also created with lot of junk characters. $…


Rkhunter WHM Interface

From http://scriptmantra.info/rkhunter.html Your can now scan and manage Rkhunter from your WHM. Download and install the latest Rkhunter GUI from Admin-Ahead Development Team. Version: 1.0.0 PS: You will need to REGISTER for this copy to work. Registration is completely free, and is included to keep our server bandwidth under control. Download: http://scriptmantra.info/scripts/rkhunter_interface_installer_1.0 Install Instructions: All…