Category Archives: Linux

Find and Kill Range of Forked Processes

This will find all process IDs of a forked perl script, loop through them and issue kill command to shutdown all processes that this script runs in. Do as root ps -ef | grep some.php | grep -v grep | awk ‘{print $2}’ | sudo xargs kill -9

Override Apache From Envelope Email Address On Linux

If you have upgraded your linux server recently and are unable to send email using PHP mail() you might need to override the envelope From address to a valid email format. The default apache from address is usually apache@local.localdomain. Your server might give you an error saying this is not a valid from address. To […]

Installing Sublime Text 2 for Fedora 17 and 18

yum-config-manager –add-repo yum-config-manager –enable yum install sublime-text

Configure Pidgin to Connect to Google Talk

In the Modify Account dialog Basic tab settings: Protocol: XMPP Username: //is the username portion of your email Domain: Resource: Home Advanced tab settings: Connection security: Use old-style SSL Connect port: 443 Connect server: File transfer proxies:

Installing Chrome Browser in Fedora

The following will install a stable chromium release. 1) Create file /etc/yum.repos.d/fedora-chromium-stable.repo with this content. Create as root. [fedora-chromium-stable] name=Builds of the “stable” tag of the Chromium Web Browser baseurl=$releasever/$basearch/ enabled=1 skip_if_unavailable=1 gpgcheck=0 [fedora-chromium-stable-source] name=Builds of the “stable” tag of the Chromium Web Browser – Source baseurl=$releasever/SRPMS enabled=0 skip_if_unavailable=1 gpgcheck=0 2) Install sudo yum install […]