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
Posted in GNBD, linux-cluster
4 Comments »
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:
Posted in Linux others..
No Comments »
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
Posted in Linux others.., RHCE
4 Comments »
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 […]
Posted in Linux others..
2 Comments »
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
Posted in Life
No Comments »
November 30, 2007
خلال اليومين الماضيين إحتجت على أحد الخوادم أن أبحث عن أكبر الملفات أو أكبر المجلدات لمعرفة أين تضيع مساحة ما يقارب 60 جيجا اﻷمر بسيط عن طريق find وإستخدام المدخل -size مثلا للبحث عن الملفات التي حجمها على الأقل 100M أو أكثر find / -type f -size +100M أيضا يمكن إستبدال + ب – ليتم […]
Posted in Scripting & CLI
1 Comment »
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), […]
Posted in Life
6 Comments »
August 7, 2007
No MORE!! Related Images:
Posted in Life
No Comments »
July 6, 2007
بعض الإختصارات السريع للوحة المفاتيح في سطر الأوامر..Ctrl + a تذهب الى اول السطر الذي تكتب فيهCtrl + e تذهب الى اخر السطر الذي تكتب فيهCtrl + l تعمل تنظيف للشاشه وهي نفس الامر clearCtrl + h تقوم بنفس عمل backspaceCtrl + f تقدم مؤشر الكتابه خطوه الى الامامCtrl + r تمكنك من البحث في […]
Posted in bash
3 Comments »
July 5, 2007
حق العوده هو حق لكل لاجىء فلسطينيي.. كان يعيش في مخيم أو في قصر فهو حق يجب أن لا ينتسى! هذا كتاب جميل يبين دليل حق العوده للفلسطينين الكتاب موجود في هذه المجله أيضاً تستطيع الحصول عليه من موقعه الرسمي Related Images:
Posted in Palestine
No Comments »
Recent Comments