Month: January 2010

Linux Shtuff Posts

Hi, When I started this blog, I started it for my own benefit so I could remember those little tweaks or fixes which escape memory at crucial times when a needed repair or a new issue arose that I had never dealt with before. When I would research these issues, I would come across great…


How to choose a Linux distribution

From www.ghacks.net The new year is here and you have made a resolution to give Linux a try. A noble resolution and one that will be met, initially, with much confusion. Why? Linux isn’t like Windows where your choice is limited to a single release with different features (depending upon how much you want to…


Removing malware code in webpages

From http://tech.superhappykittymeow.com Good stuff here also… More and more client workstations are being infected with keyloggers and trojans. In addition to stealing your WoW username and password (oh noes, my purpz!), they also have been stealing FTP logins. This has manifested itself in the linux server world by seemingly legit users logging in over FTP,…


Better mysql ‘show table status’

show table status login to your server via ssh and run root@host [~]# mysqlshow –status g33kinfo_wrdp1 |sort -n -k10 |awk -F\| ‘($6 !~ /0/)’ |awk -F\| ‘{print $2 ” ” $6 ” ” $7 ” ” $14}’ |egrep -v “^ ” this will give a result which looks like this Name Rows Avg_row_length Update_time wp_links…


Installing Fantastico

Installing or Re-Installing Fantastico Login to your server as root, and do the following cd /usr/local/cpanel/whostmgr/docroot/cgi wget -N http://files.betaservant.com/files/free/fantastico_whm_admin.tgz tar -xzpf fantastico_whm_admin.tgz rm -rf fantastico_whm_admin.tgz Now go to WHM, login as root and follow the link WHM > Addons > Fantastico De Luxe WHM Admin (scroll down the left menu) and install it from there….


Change Exim’s main sending IP

I know an easy way. Login to your server via SSH. From console edit the exim.conf file: vim /etc/exim.conf Go to this lines remote_smtp: driver = smtp interface = ${if exists {/etc/mailips}{${lookup{$sender_address_domain}lsearch*{/etc/mailips}{$value}{}}}{}} and change them to: remote_smtp: driver = smtp interface = Your-Second-VPS-IP-Address Save the file and restart the Exim. If you would like, when…


Rkhunter WHM Interface

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 licenses wrt…


Woof

Woof is a small simple webserver that can easily be invoked on a single file. A client can access the file with tools he trusts (e.g. wget). No need to enter passwords on keyboards where you don’t know about keyboard sniffers, no need to start a huge lot of infrastructure, just do a $ woof filename…


MyDumper – Fast MySql Backup Tool

From mituzas.lt http://mituzas.lt/2009/02/03/mydumper/ “Last weekend I ended up working on small pet project – and today I’m kind of releasing it. So, I had that idea that there’s no good tool to do logical dump of MySQL data for large sites – mysqldump doesn’t provide too much of I/O pressure, mk-parallel-dump is closer, but it…


Install Apps via Apt

Here is a clever way to install apps via the Alt+F2 Gnome ‘Run Application’ Dialog box. Press Alt+F2 to open the Gnome ‘Run Application’ Dialog box Type in apt:sysinfo Enter your pw when asked then click ‘Install’ The install will continue and close when finished.