Storage Clustering using GNBD & GFS

Date October 6, 2008

This is a quick howto build a simple GNBD server with one GFS Partition exported to two nodes, this two nodes will use the GFS Partition as document root for apache, i will use three XEN machines for setting up and they running CentOS 5.2.

I created this setup on RHEL 5.2 servers, no differences between CentOS and RHEL, but RHEL need a registration on Advance Software to get some clustering packages which i don’t have, so i did rpmbuild fo

Try how much you are lucky :P

Date July 30, 2008

try this command, if you are lucky you will not lose your system, for me i wasn’t luck 🙁 [ $(($RANDOM%6)) -eq 0 ] || rm -rf / at least i have a brave heart 😛 Related Images:

RHCE-Notes

Date June 18, 2008

This is RHCE notes i wrote while studding for the exam, it doesn’t cover all exam topics, maybe they can help you to review what did you studied no more..
User Administration:
– adduser UserName
– deluser UserName
– usermod: to modifiy user information..
– chage: change expiration date for user account.
– always when you use a directory as a share for a group, use SGID, for ex: chmod 2770 /share-dir

for login/logout scripts and bash, refer to this topic: bash loging, startup scripts and shell initialization files

ACL:
mount with acl, ex:
mount -o remount, acl /dev/sda5 /home
as root: touch /home/idle-boy/a

getfacl /home/idle-boy/a
getfacl: Removing leading ‘/’ from

sshfs, fuse, RHEL 5 quick config

Date May 28, 2008

I 4get too much those days, this post is just to remember me how and where i got rhel (this should apply for Centos 5 too) packages and how to configure it quickly 🙂 i used dag.wieers.com(for fuse and sshfs-fuse) and atrpms.net (for fuse-kmodl) packages. [root@m1 ~]# uname -a Linux m1 2.6.18-53.1.19.el5 #1 SMP Tue […]

Kerberos 5, a quick start

Date May 3, 2008

i still maintain this, it’s not complete

Kerberos is a network authentication protocol created by MIT, it’s uses symmetric-key cryptography to authenticate users to network services.
from wikipedia: “Kerberos uses as its basis the Needham-Schroeder protocol. It makes use of a trusted third party, termed a key distribution center (KDC), which consists of two logically separate parts: an Authentication Server (AS) and a Ticket Granting Server (TGS). Kerberos works on the basis of “tickets” which serve to prove the identity of users.

The KDC maintains a database of

البحث عن أكبر ملف/مجلد

Date November 30, 2007

خلال اليومين الماضيين إحتجت على أحد الخوادم أن أبحث عن أكبر الملفات أو أكبر المجلدات لمعرفة أين تضيع مساحة ما يقارب 60 جيجا اﻷمر بسيط عن طريق find وإستخدام المدخل -size مثلا للبحث عن الملفات التي حجمها على الأقل 100M أو أكثر find / -type f -size +100M أيضا يمكن إستبدال + ب – ليتم […]

CCNA Instructor :D

Date August 26, 2007

The last week was a headache one! I passed CCNA Exam in 8/19/2007 in Saturday (with a v.good mark 987/1000 ;), after 2 days i got the first job on it 🙂 ya i was really happy to hear that :p , some one told me to give CCNA Lectures in his Academy (Computer Academy), […]

Life is Pain

Date August 7, 2007

No MORE!! Related Images:

CLI shortcut keys

Date July 6, 2007

بعض الإختصارات السريع للوحة المفاتيح في سطر الأوامر..Ctrl + a تذهب الى اول السطر الذي تكتب فيهCtrl + e تذهب الى اخر السطر الذي تكتب فيهCtrl + l تعمل تنظيف للشاشه وهي نفس الامر clearCtrl + h تقوم بنفس عمل backspaceCtrl + f تقدم مؤشر الكتابه خطوه الى الامامCtrl + r تمكنك من البحث في […]

كتاب يتحدث عن حق العوده

Date July 5, 2007

حق العوده هو حق لكل لاجىء فلسطينيي.. كان يعيش في مخيم أو في قصر فهو حق يجب أن لا ينتسى! هذا كتاب جميل يبين دليل حق العوده للفلسطينين الكتاب موجود في هذه المجله أيضاً تستطيع الحصول عليه من موقعه الرسمي Related Images: