linux and free software

32
Linux Introduction Linux Introduction

Upload: mohammed-tayeh

Post on 20-Jul-2015

438 views

Category:

Technology


0 download

TRANSCRIPT

Page 1: Linux and Free Software

Linux IntroductionLinux Introduction

Page 2: Linux and Free Software

Outline of IntroductionOutline of Introduction● History of Linux

– GNU project

– What is free software?

– Beginning of Linux● Why Linux and not Windows ?

– Why Linux ?

– Key differences to Windows

Page 3: Linux and Free Software

History of LinuxHistory of Linux

GNUGNU

Page 4: Linux and Free Software

GNUGNUEstablished in 1984 by Established in 1984 by Richard Richard StallmanStallman,  who  believes  that ,  who  believes  that software  should  be  free  from software  should  be  free  from restrictions against copying or restrictions against copying or modification  in order  to make modification  in order  to make better  and  efficient  computer better  and  efficient  computer programsprograms

The name “GNU” is a recursive The name “GNU” is a recursive acronym for acronym for 

““GNU's Not Unix!GNU's Not Unix!”.”. 

Page 5: Linux and Free Software

What is free software?What is free software?“Free  software”  means  software  that  respects  users'  freedom and  community.  Roughly,  the  users  have  the  freedom  to  run, copy, distribute, study, change and improve the software.

Page 6: Linux and Free Software

A program is free software if the program's users have the four essential freedoms:

● The freedom to run the program, for any purpose (freedom 0).

● The freedom to study how the program works, and change it so it does your computing as you wish (freedom 1). Access to the source code is a precondition for this. 

● The freedom to redistribute copies so you can help your neighbor (freedom 2). 

● The freedom to distribute copies of your modified versions to others (freedom 3). By doing this you can give the whole community a chance to benefit from your changes. Access to the source code is a precondition for this. 

The Four Essential FreedomsThe Four Essential Freedoms

Page 7: Linux and Free Software

الحريات البربع

ارا إذا امتلك مستخدموه الحريات البربع الساسية: يكون البرنامج ح).0حرية تشغيل البرنامج، ل ي غرض كان (الحرية ●). 1حرية دبراسة كيفية عمل البرنامج، وتعديله ليعمل وفق برغباتك (الحرية ●

الوصول إلى الشفرة المصدبرية شرط لمزم لهذا.

).2حرية إعادة تومزيع نسخ من البرنامج لتتمكن من مساعدة جابرك (الحرية ●دلة للرخرين (الحرية ● وبذلك يمكنك أن .)3حرية تومزيع نسخ من إصدابراتك المع

تمنح المجتمع بأسره فرصة الستفادة من تعديلتك. الوصول إلى الشفرة المصدبرية شرط لمزم لهذا.

Page 8: Linux and Free Software

History of LinuxHistory of Linux

LINUXLINUX

Page 9: Linux and Free Software

Linux Linux تورفالدس تورفالدس لينوس كان لينوس يعمل على 1991 هو مؤسس/مبرمج لينكس. ففي سنة لينوس

في جامعة هلسنكي مستخدما نظام Terminal emulatorمشروع لبرمجة محاكي للطرفية / سبتمبر 25. المشروع تطور فيما بعد ليصل لبرمجة نواة نظام تشغيل . في MINIXالتشغيل

. الخبر تضمن comp.os.minix قام لينوس بنشر خبر صغير عن برنامجه على موقع 1991معلومات عن كونه بصدد برمجة نظام تشغيل، مشيرا إلى أنها مجرد هواية و ليست شيئا

احترافيا ودعا كل من يستطيع المساعدة للمساهمة باقتراحاتهم، لكنه لم يعد بإضافتها كلها.

نظم من مدعوم غير حاسوب لديه كان أنه هو مشروعه يبدأ لينوس جعل ما: - - . طبعا بالفلندية نفسه فسأل موجودة كانت التي التشغيل

ماذا تفعل إن كان لك حاسوب غير مدعوم من نظم التشغيل؟

- تبرمج نظامك بنفسك!

�"س�" �"ك �"ينو يل �"س�"، �" �"ك �"س�"، �"لينو �"ك كن �"س�"، �"لي �"ك �"ن نل "�

Page 10: Linux and Free Software

Linus message !Linus message !Hello everybody out there using minix.

I'm doing a (free) operating system (just a hobby, won't be big and professional like gnu) for 386(486) AT clones.

This has been brewing since april, and is starting to get ready. I'd like any feedback on things people like/dislike in minix,

as my OS resembles it somewhat (same physical layout of the file-system (due to practical reasons) among other things).

I've currently ported bash(1.08) and gcc(1.40), and things seem to work.

This implies that I'll get something practical within a few months, and I'd like to know what features most people would want.

Any suggestions are welcome, but I won't promise I'll implement them :-)

Linus (torvalds @ kruuna.helsinki.fi)

PS. Yes – it's free of any minix code, and it has a multi-threaded fs It is NOT portable (uses 386 task switching etc),

and it probably never will support anything other than AT-harddisks, as that's all I have :-(.

—Linus Torvalds

Page 11: Linux and Free Software

LinuxLinuxشعار لينكس بطريق يسمى ●

Tux !لينوس يحب البطاريق .هذا هو السبب الساسي لختيار

هذا الشعار!

Page 12: Linux and Free Software

GNU/LINUX Or LinuxGNU/LINUX Or Linux

لينوس تورفالدس اهتم ببرمجة نواة نظام تشغيل جديد شبيه بيونكس - Unix أما ريشارد ستالمان فقد ركز على برمجة البرامج الحرة. بعد ذلك تم

دمج المشروعان ليعطيا نظام التشغيل جنو/لينكس الذي نطلق عليه غالبا اسم لينكس فقط.

نواته لينكس هو نظام التشغيل الذي GNU/LINUXجنو/لينكس - إذن لريشارد برامجه من مشروع جنوالمبرمجة من طرف لينوس تورفالدس و

ستالمان.

Page 13: Linux and Free Software

Linux IntroductionLinux Introduction

Why Linux and Why Linux and not Windows ?not Windows ?

Page 14: Linux and Free Software

Why Linux and not Windows?Why Linux and not Windows?● Cost – it’s normally freeCost – it’s normally free

● Performance ­ it’s pretty fastPerformance ­ it’s pretty fast

● Security ­ It has a good security track record and isSecurity ­ It has a good security track record and is

● naturally multi­usernaturally multi­user

● Heritage ­ It’s has become the industry standard forHeritage ­ It’s has become the industry standard for

● scientific computationscientific computation

Page 15: Linux and Free Software

Why Linux and not Windows?Why Linux and not Windows? : نقطة من النقاط المحسومة لصالح لينكس مقارنة بويندوز. لينكس آمن جدا، المن●

حتى أن المستخدم العادي ل يحتاج لتثبيت مضاد فيروسات على جهازهوالستقرار ● لثبات : نقطة أخرى محسومة لصالح لينكس. على لينكس لن تظطر ا

لعادة تشغيل جهازك إل في حالت نادرة جدا. هذه الميزة أحد السباب التي تجعل أغلب سرفرات الويب تعتمد لينكس ويونكس، فثباته واستقراره يجعلها قادرة على

الشتغال بصفة مستمرة لسنوات! : لينكس مجاني ول تحتاج لصرف أي درهم للحصول عليه،المجانية●المصدر ● : في حال كنت مبرمجا فهذه الميزة ربما تكون مفيدة لك إن أردت مفتوح

المساهمة في تطوير النظام.

تعني بالعربية حر. و الحرية هنا، أي في عالم العلميات Free. Freeفي عالم لينكس يتردد كثيرا مصطلح وخصوصا لينكس والبرمجيات الحرة، ثنائية المعنى، فيمكن أن تعني :

حر من المصاريف : أي مجاني حر من القيود : أي أنه يضمن للمستخدم الحريات الربعة التي ذكرتها أعله.

Page 16: Linux and Free Software

، GNOMEمفهوم التوزيعات و بيئة المكتب KDE

لو قارنا نظام التشغيل بسيارة فيمكن أن نعتمد التبسيط التالي:

، لكن باقي لينكسلينكسفي حالتنا كل السيارات لها محرك من نفس النوع وهو الجزاء والكسسوارات مختلفة. هنا يدخل مفهوم التوزيعة. بتعبير آخر كل

لكن من توزيعة محركه/نواته هو لينكستوزيعة لينكس هي نظام تشغيل ... تختلف البرامج المثبتة فيها بدئيا والتصميم وكيفية تنظيم الملفاتلخرى

كل توزيعة تكون عموما موجهة لهدف معين وتركز عليه أكثر.

من أهم توزيعات لينكس يمكن أن أذكر :

، Mint، Debian, Redhat/Fedora, Mageia, openSUSE، Arch

Page 17: Linux and Free Software

هناك ما يمكن أن نسميه باشتقاق للتوزيعات. يعني مثل انطلاقا من توزيعة ريدهات - RedHat - تم تطوير وإصدار توزيعات جديدة مثل فيدورا Fedora من هذه التوزيعات تم .

Fedoraتطوير توزيعات مختلفة حسب توجهها والجمهور المخصصة له، فنجد مثل في الشتقااقات التالية:

● Fedora 19 Desktop Edition● Fedora 19 KDE Spin● Fedora 19 LXDE Spin● Fedora 19 Xfce Spin

هذه مجموعة من الشتقااقات المدعومة رسميا تأتي ببيئات المكتب المختلفة.

بالاضافة لمجموعة اخرى متخصصة

، GNOMEمفهوم التوزيعات و بيئة المكتب KDE

Page 18: Linux and Free Software

، GNOMEمفهوم التوزيعات و بيئة المكتب KDE

Page 19: Linux and Free Software

What makes Fedora great?What makes Fedora great?

Page 20: Linux and Free Software

What makes Fedora great?What makes Fedora great?

Page 21: Linux and Free Software

كفضول ل غير، ما معنى كلمة فيدورا ؟

Page 22: Linux and Free Software

Fedora 19Fedora 19

Page 23: Linux and Free Software

Ubuntu 12.04Ubuntu 12.04

Page 24: Linux and Free Software

OpenSUSE 12.3OpenSUSE 12.3 بواجهة بواجهةKDEKDE

Page 25: Linux and Free Software
Page 26: Linux and Free Software

تثبيت فيدورا !!

● install

Page 27: Linux and Free Software

سطر الوامر !

Page 28: Linux and Free Software

سطر الوامر !

عندما نتكلم عن سطر الوامر، فإننا نشير فعل إلى الشل. الشل هو البرنامج الذي ●يأخذ أوامر لوحة المفاتيح وينقلها إلى نظام التشغيل للقيام بها. تقريبا كل توزيعات

لينكس تزويد برنامج شل من مشروع جنو يسمى باش.بطريقة أخرى هو الطريقة (اللغة) التي نتحدث بها مع الكمبيوتر.●

Try Some Simple Commands:Try Some Simple Commands:

● date date لعرض اليوم والتاريخلعرض اليوم والتاريخ● cal   cal   التقويمالتقويم● df df المساحة في الرقراص الصلبةالمساحة في الرقراص الصلبة● free free المساحة في الرامات ورقرص السوابالمساحة في الرامات ورقرص السواب

Page 29: Linux and Free Software

سطر الوامر !

يمكن فهم بعض الوامر باستخدام هذا المورقع:

http://explainshell.com/

Page 30: Linux and Free Software

مصادر تعليمية عربية

http://www.mjma3.comالمجمع ●http://www.linuxac.org/forumمجتمع لينكس العربي ●/http://www.arabgnulinux.orgعرب جنو/لينكس ●

arabgnulinux.org/supportمنتدى الدعم والمساعدة –/http://ubuntuwd.com/vbعالم اوبونتو ●/http://itwadi.comوادي التقنية ●●http://explainshell.comلتسهيل فهم الوامر ●...

Page 31: Linux and Free Software

مصادر تعليمية

: المذكورة للموارقع باالضافة منها تعلمت نا ا مصادركتب:●

– The Linux® Command Line (William E. Shotts, Jr.)

– CompTIA Linux+ Study Guide Exams LX0-101&LX0-102– RedHat Books (RHSA , RHCE)

موارقع:●

– http://www.linux.org/– http://www.linux.com/learn/tutorials– http://xmodulo.com/

– Any wiki distribution

Page 32: Linux and Free Software

Linux IntroductionLinux Introduction● By: Mohammed A. Tayeh

Follow me:

● Facebook: m.tayeh94

● E-mail: [email protected]