Category Archives: linux administration

Vim VS Emacs

Above is emacs Above is vim

Posted in linux administration | Leave a comment

[ubuntu] Bind 9 DNS Server not accepting DNS client queries [Archive] – Ubuntu Forums

Add the following lines to named.conf.options in /etc/bind will do allow-query {any;}; allow-query-on {any;}; allow-recursion {any;}; allow-recursion-on {any;};   To the options of named.conf. via [ubuntu] Bind 9 DNS Server not accepting DNS client queries [Archive] – Ubuntu Forums.

Posted in linux administration | Leave a comment

mod_rpaf for Apache

I fell love with Nginx’s ability to reverse proxy pass, it is awesome and stuff but I’m annoyed by the amount of effort in trying to retrieve visitor logs, so why not just let apache logs those X-Forwarded-For request anyways. … Continue reading

Posted in linux administration | Leave a comment

Dynamic IP Address send to Email

Requirements: You need a static IP address, preferable a shared hosting or any web server capable of showing the IP address of its visitor. Your dynamic IP address can send outbound email on port 25, usually residential ISP don’t so … Continue reading

Posted in linux administration | Leave a comment

Bandwidth conversion calculator | web.forret.com

It is always troubling trying to find the right webhost for Virtual Private Server and or Dedicated Server doing what ever you do best. But the reality is that most people prefer unlimited bandwidth and so on and so forth, … Continue reading

Posted in linux administration | Leave a comment

figure out bandwidth by process

15:27 < Dozn> who was asking how to figure out bandwidth by process yesterday? 15:27 < Dozn> bah, for public knowledge then, http://nethogs.sourceforge.net/

Posted in linux administration | Leave a comment

VirtualBox Auto Mounting /etc/fstab

sudo mount -t vboxsf c /mnt/c /sbin/mount.vboxsf: mounting failed with the error: Invalid argument To solve this: Change c:\ and c to C:\ and it will auto generate C_DRIVE and thus I’ve learned that /etc/fstab and virtualbox doesn’t work well … Continue reading

Posted in linux administration | Leave a comment

Mount Virtualbox Shared Folders Automatically Using Fstab « Technical Bedtime Stories

vim /etc/fstab *Shared Folder Name* *Guestbox Local Folder Name” vboxsf defaults 0 0 mount -a Source: http://rotwhiler.wordpress.com/2008/10/09/mount-virtualbox-shared-folders-automatically-using-fstab/

Posted in linux administration | Leave a comment

Search for “nginx” | LittleBearZLittleBearZ

#path to pgrep command PGREP=”/usr/bin/pgrep” # Httpd daemon name, HTTPD=”nginx” # find httpd pid $PGREP ${HTTPD} if [ $? -ne 0 ] # if nginx not running then # restart nginx #$RESTART /root/lnmp restart fi

Posted in linux administration | Leave a comment

Archlinux Upgrade

It’s been 253 days since I’ve upgraded Archlinux since April 02, 2012 :: The following packages should be upgraded first : pacman :: Do you want to cancel the current operation :: and upgrade these packages now? [Y/n] Y resolving … Continue reading

Posted in linux administration | Leave a comment

zscreen – Advanced Image/Text/File utility that allows for region/window/full-screen screenshots, text services and file hosting – Google Project Hosting

zscreen – Advanced Image/Text/File utility that allows for region/window/full-screen screenshots, text services and file hosting – Google Project Hosting. ZUploader is an open-source program that lets you take screenshots, save them in your clipboard, hard disk or upload them to … Continue reading

Posted in linux administration | Leave a comment

Setting Up E-Mail Account on iPad

It took me literally a long time trying to setup email account on the iPad. Here’s the steps to make your life easier. 1. Goto Settings -> Turn On Airplane Mode Goto Settings -> Mail -> Add -> Other -> … Continue reading

Posted in linux administration | Leave a comment

Rsync Across Network

rsync -avh –stats –itemize-changes -e ‘ssh -p 22′ /local/backup/ user@NewNodeInternalIP:/remove/backup/ 2>&1 > rsync.txt

Posted in linux administration | Leave a comment

WordPress Comment Scroll Right To Comment

This plugin is currently in development as of 2012-03-12. *Objective: Filtering out the spam comments using AJAX solution with HTML5 CSS3 and Javascript (best to avoid) Estimated Time of Completion 2012-11-11.

Posted in linux administration | Leave a comment