Sys Administration

Sometimes i really hate yum and specially yum fastmirror plugin!
Finally managed to enable fcgid on apache 2.4, tricky

Linux Shell Bridge (Passing variables from scripting langauges like PHP to Linux Shell)

Blog
Linux
PHP
Programming
Sys Administration

It might sound strange at first but i must say that it's very useful specially if you have shell scripts as part of your application. Usually For making this scripts as automated as possible there should be a way to reuse the application's configurations (ips, passwords , etc) and not having to update a separate configuration file whenever anything changes in the application. It's not limited only to this and can be used to pass any kind of variables.

4
Your rating: None Average: 4 (2 votes)

How to mirror/sync a remote ftp folder with a local folder

Blog
Linux
Sys Administration

lftp is one of the best utilities currently avaiable for working with ftp servers.

3.2
Your rating: None Average: 3.2 (20 votes)

How to find Linux bash script path (Self Path)

Blog
Linux
Sys Administration

Writing smart programs using bash script is not easy, there are many issues along the way and one of them is what i'm going to describe here.

Sometimes it's require for bash scripts to know their location, for example when they are part of a package and there are other require files (on the same location) for them to run properly, and it's also not possible to change the path to where they're located simply because they also need the current directory.

1.75
Your rating: None Average: 1.8 (4 votes)

Update/Upgrade/Install XAMPP (LAMPP) modules by Compiling

Linux
PHP
Sys Administration

This article is not finished yet and it might not work for you at all, if you're still interested you can subscribe to its rss so you will be noticed whenever i update it.

XAMPP source code http://www.nat32.com/xampp/index.htm

http://www.apachefriends.org/f/viewtopic.php?f=16&t=34411

3.18182
Your rating: None Average: 3.2 (11 votes)

Issue : INIT: no more processes left in this runlevel [SOLVED] !!

Blog
Linux
Sys Administration

Issue : INIT: no more processes left in this runlevel

This is one of the issues i had for several months, i couldn't find any specific information about it and never had time to trace it in order to find a solution. But today i managed to fix it by reading many threads and articles and then tracing it from the beginning , since i'm not the only one with this problem i decided to share it.

I used CentOS 5.3 for this tutorial , but it might be still useful even if you're using a Debian based distribution.

4.4
Your rating: None Average: 4.4 (5 votes)

CentOS/RHEL5 does not detect some onboard network cards +Videos

Blog
Linux
Sys Administration

CentOS's kernel is a very old kernel comparing to many other distributions. The reason is stability but some times it gets annoying.

For example today i wanted to upgrade CentOS 5.2 server at work to 5.3. to make this process as trouble free as possible i cloned the server into another computer but once it booted , i noticed that it doesn't detect new computer's on board network card! and it was impossible to do the upgrade without Internet.

2.333335
Your rating: None Average: 2.3 (6 votes)

How to dump all MySQL databases into indivisual files at once

Blog
Drupal
Linux
Sys Administration

I had to move 264 databases from one Linux server (Fedora) to another (CentOS), hard copying /var/lib/mysql wasn't a good idea because version of two MySQL databases were different and i had to repair all the tables after move so i decided to write a very short and usefull bash script.

It dumps all the databases but each database into a different file :

1
Your rating: None Average: 1 (128 votes)