SlideShare una empresa de Scribd logo
1 de 37
Descargar para leer sin conexión
Linux
Key Notes

   Introduction to Open Source.
   What is Linux.
   Linux Distros.
   Which is Suitable for Me.
   Linux Installation Process.
   How to Use Linux.
   Installing Useful Software.
   Linux Shells (Advanced).
Open Source

   Is a development methodology.
   Means that people can share their programs
    source code with every one for free.
   This type of software is available under terms of
    licenses such as GPL, LGPL, AGPL, ISC, MIT.
   Each license puts some rules for the method of
    using their code.
   Most famous one is the GPL license used with
    Linux.
Open Source & Linux

   Unix was the Major used OS in most
    universities.
   Unix started asking students to pay money for
    the usage and development of the system.
   A professor developed Minix in order to replace
    Unix, which was used by Linus Torvalds.
   Linus started to develop the Linux Kernel.
   In the same time Ritchard Stallman started to
    develop GNU and constructed Free Software
    Foundation.
What is Linux?

   Linux is a free open source operating system
    kernel built by a student to replace UNIX.
   Linux is the system kernel where GNU is the
    tools that system use to operate.
   It was developed in early 1990s but still
    developed until now.
   Is the first choice for enterprise world and
    geeks.
   Linux can run on many platforms(i386, x86/64,
    PPC, Amiga, SPARC, PS3, Super computers).
GNU/Linux Architecture

   Linux has a monolithic kernel.
   GNU/Linux uses the structure of layered model.


         Process                                             File
                      Networking Kernel Peripherals
         control                                            System



               Unix Shells                     Unix Tools


                     X Server (X window system)
Linux Window Managers.

   Window managers is a graphical software used
    to ease the use of the system.
   Linux has many window managers (KDE,
    Gnome, xpde, xfce, fluxbox, twm, NextStep,....).
Screen shots for WMs


Linux Distros.

   As Linux is open source so any one can
    develop his own version.
   Linux distros varies in DWM, Applications
    provided with each.
   Market imposed on us some distros as
    standard (Redhat, Debian, Slackware).
   Most of current distros are based on
    Debian(Ubuntu) or Redhat (Fedora).
Fedora Desktop
Ubuntu Desktop
Which is Suitable for Me?

   Redhat is good for enterprise work.
   Debian is good for professional end-users.
   Fedora is good for personal use and developing
   Opensuse is good for training usage
   Mandriva is very good for non technical user.
   Slackware is intended for Advanced
    professional users.
   Ubuntu is suitable for ALL !!!
Why Ubuntu?

   Ubuntu is a free Linux distros
   Ubuntu is based on Debian which is reliable
    and stable.
   Ubuntu is the distribution with the biggest
    software repositories.
   Ubuntu has a good hardware support for most
    available companies.
   Ubuntu have a lot of variants (Kubuntu,
    Xubuntu, Edubuntu, Goubuntu, MIDI Ubuntu).
Ubuntu is Widely Used
Installing Ubuntu

   Ubuntu comes on a live CD.
   Live CD means that you can use the system
    from CD with out installing (boot only).
   The system installation is as easy as installing
    a program (Only double click on icon).
   The installation process is very fast and easy
    (faster and easier than installing windows).
   Let's see how ???!!
First Welcome Screen
Choose your Language.
Choose your Location
Choose Keyboard Layout
Prepare Disk Space
Who are you?
Import Windows® Settings
Booting After Installition
Login Screen
Using Linux

   Linux desktop is very easy to use like windows.
   There are some important elements on desktop
       Computer Disks: Places → Computer.
       Home Directory : Places → Home Folder.
       Configurations : System → Preferences.
       Administration : System → Administration.
       All Programs : Applications → Choose Category.
   Note that all this menus are found under
    Gnome only KDE is different.
Using Linux (File System)

   Linux uses EXT2, EXT3 file systems and a
    swap partition to use as virtual memory.
   Linux can mount FAT16/32 , NTFS , HFS
    Drives where windows can't mount EXT drive.
   Under File system there are some Directories:
       /bin: contains UNIX tools and executable Shell tools
       /boot: file needed to boot the system.
       /etc: system configuration files.
       /lib : system and applications libraries.
       /media: mounted drives.
Installing Useful Software

   Most of applications available for Linux are free
    and open source so it's easy to get.
   Linux has repositories for programs (search &
    get).
   Each Linux distribution has a software called
    package manager.
   The two most famous packages formats are:
    .deb for Debian based system , .rpm for Redhat
    based systems.
How to Install Applications?

   From Application menu go to Add/Remove.....
       In the windows opened write program name or
        description in the search field.
       choose your preferred programs.
       Click “Apply” and wait for download and instillation.
       Now the program is installed and ready to use.
   To install application from shell.
       sudo apt-get install packageName
       Then wait for download and installation.
Windows Emulation

   WINE is a windows emulator which is able to
    run windows software under Linux.
   Wine can be downloaded via Add/Remove..
   WINE can emulate windows (2.0, 3.0, 95, 98,
    NT, 2000, XP, Server 2003, Vista, Server 2008)
   Wine Doors is a program that downloads some
    libraries for WINE to be compatible with most
    windows Apps.
   Wine needs (MFC , VC++ runtime, VB runtime,
    IE6 libs, DX9c libs, .....).
Programming on Linux.

   Linux has dozens of programming languages.
   GNU Compilers Collection has compilers for:
       Ada, C/C++, Fortran and Java.
   The Linux kernel is compiled using GCC.
   Perl, Python are installed on most distros.
   Sun's JDK, JVM can be installed on Linux.
   A lot of IDEs are available for Linux(Eclipse,
    Netbeans, Mono, KDevelop, Omnis Studio)
Installing Java & Netbeans

   To install Sun Java write this commands:
       sudo apt-get install sun-java6-jre
       sudo apt-get install sun-java6-bin
       sudo apt-get install sun-java6-jdk
       sudo apt-get install sun-java6-plugin
   To install Netbeans download the Linux file
    then:
       Double click the Icon and continue the setup.
       ./netbeans6.x --javahome:JavaDirectoryPath
Installing MySQL & Oracle

   MySQL server must be installed using package
    manager:
       sudo apt-get install mysql-server-5.0
       Query browser and other tools can be downloaded via
        Add/Remove from Applications menu.
   Download the Oracle deb package from Oracle
    website then:
       Double click on the icon.
       Click on install package button and wait for setup to
        finish.
       Go to /etc/init.d then write “chmod +x oracle-xe”
       Then start script as root “sudo ./oracle-xe”
Linux Shells (UNIX shells)

   Linux uses shells to interact with user in CLI
    mode (good for servers and administrators).
   Shells can be accessed by GUI users via
    terminals.
   Linux shell is similar to UNIX shell but with
    some additional commands.
   Most popular Linux shell is Bash.
   Bash supports scripts with a wide range of
    commands.
Linux Shell Commands

   cp file1 file2 → copy file1 to file2
   rm fileName → deletes the file.
   mv file1 file2 → rename file1 or moves it to another
    location.
   cd directoryName → change directory.
   less fileName → view file content
   clear → clear screen
   man command → view command Manual.
   find fileName → search for file.
Linux Shell Commands 2

   ls → list files in current directory.
   ps -u UserName → view all running process for userName.
   kill PID → kill process with a specific ID.
   su → change to root mode.
   sudo “command” → execute command in root mode.
   chmod +x “file” → change file mode to executable.
   ./script.xyz → execute script or file.
   ifconfig → view your network interface configurations.
   history → view history of command you entered.
   reboot → restart system , halt → shutdown the system
Shell Configurations

   The shell configurations file of the Bash shell is
    found under /home/UseName/.bashrc .
   We can use this file to define new environment
    variables to the shell by adding the following
    line at the end of the file:
       PATH=$PATH:/xx/yy/zz;
       export PATH
   .bash_history → contains your command history.

    .bash_logout → execute command when leaving shell.
Bye Bye



      Keep Using

Más contenido relacionado

La actualidad más candente (20)

Unix ppt
Unix pptUnix ppt
Unix ppt
 
Unix Introduction
Unix IntroductionUnix Introduction
Unix Introduction
 
Introduction to Linux for Windows Users
Introduction to Linux for Windows UsersIntroduction to Linux for Windows Users
Introduction to Linux for Windows Users
 
Introduction to Linux OS
Introduction to Linux OSIntroduction to Linux OS
Introduction to Linux OS
 
Operating systems unix
Operating systems   unixOperating systems   unix
Operating systems unix
 
UNIX introduction
UNIX introductionUNIX introduction
UNIX introduction
 
Linux
Linux Linux
Linux
 
Linux introduction (eng)
Linux introduction (eng)Linux introduction (eng)
Linux introduction (eng)
 
Linux seminar
Linux seminarLinux seminar
Linux seminar
 
01 t1 s2_linux_lesson1
01 t1 s2_linux_lesson101 t1 s2_linux_lesson1
01 t1 s2_linux_lesson1
 
UNIX Operating System
UNIX Operating SystemUNIX Operating System
UNIX Operating System
 
Linux basics
Linux basicsLinux basics
Linux basics
 
Linux programming lecture_notes
Linux programming lecture_notesLinux programming lecture_notes
Linux programming lecture_notes
 
Introduction to linux ppt
Introduction to linux pptIntroduction to linux ppt
Introduction to linux ppt
 
Ppt af linux
Ppt af linuxPpt af linux
Ppt af linux
 
Ubuntu
UbuntuUbuntu
Ubuntu
 
Introduction to linux
Introduction to linuxIntroduction to linux
Introduction to linux
 
Linux Operating System
Linux Operating SystemLinux Operating System
Linux Operating System
 
Introduction to Linux_by_Amit & Jiban
Introduction to Linux_by_Amit & Jiban Introduction to Linux_by_Amit & Jiban
Introduction to Linux_by_Amit & Jiban
 
Linux
LinuxLinux
Linux
 

Destacado (7)

Internet Marketing 1: Website Evaluation
Internet Marketing 1: Website EvaluationInternet Marketing 1: Website Evaluation
Internet Marketing 1: Website Evaluation
 
Engaging Audiences through Effective Collaboration, Presentation: October 26
Engaging Audiences through Effective Collaboration, Presentation: October 26Engaging Audiences through Effective Collaboration, Presentation: October 26
Engaging Audiences through Effective Collaboration, Presentation: October 26
 
Are You Talking to Me: Social Media
Are You Talking to Me: Social MediaAre You Talking to Me: Social Media
Are You Talking to Me: Social Media
 
Kartemquin Executive Summary Draft
Kartemquin Executive Summary DraftKartemquin Executive Summary Draft
Kartemquin Executive Summary Draft
 
Msp
MspMsp
Msp
 
I Phone Session Mufix
I Phone Session MufixI Phone Session Mufix
I Phone Session Mufix
 
Fotos robotica
Fotos roboticaFotos robotica
Fotos robotica
 

Similar a Linux (20)

Intro to linux
Intro to linuxIntro to linux
Intro to linux
 
I Am Linux-Introductory Module on Linux
I Am Linux-Introductory Module on LinuxI Am Linux-Introductory Module on Linux
I Am Linux-Introductory Module on Linux
 
Programming and problem solving 3
Programming and problem solving 3Programming and problem solving 3
Programming and problem solving 3
 
3CS LSP UNIT 1-1.pdf
3CS LSP UNIT 1-1.pdf3CS LSP UNIT 1-1.pdf
3CS LSP UNIT 1-1.pdf
 
Before begining linux
Before begining linuxBefore begining linux
Before begining linux
 
Linux nic training_intro_14_dec_09
Linux nic training_intro_14_dec_09Linux nic training_intro_14_dec_09
Linux nic training_intro_14_dec_09
 
Unix Administration 1
Unix Administration 1Unix Administration 1
Unix Administration 1
 
Foss Presentation
Foss PresentationFoss Presentation
Foss Presentation
 
exp_1_20bca1066 Internet.docx
exp_1_20bca1066 Internet.docxexp_1_20bca1066 Internet.docx
exp_1_20bca1066 Internet.docx
 
Linux basic
Linux basicLinux basic
Linux basic
 
windows vs Linux
windows vs Linuxwindows vs Linux
windows vs Linux
 
Introduction 2 linux ml
Introduction 2 linux mlIntroduction 2 linux ml
Introduction 2 linux ml
 
Linux forensics
Linux forensicsLinux forensics
Linux forensics
 
exp_1_20bca1108(kashish_dixit.docx
exp_1_20bca1108(kashish_dixit.docxexp_1_20bca1108(kashish_dixit.docx
exp_1_20bca1108(kashish_dixit.docx
 
Linux basics
Linux basicsLinux basics
Linux basics
 
What is the linux
What is the linuxWhat is the linux
What is the linux
 
OS Lab: Introduction to Linux
OS Lab: Introduction to LinuxOS Lab: Introduction to Linux
OS Lab: Introduction to Linux
 
Linux basics
Linux basicsLinux basics
Linux basics
 
Linux opearting system ppt
Linux opearting system pptLinux opearting system ppt
Linux opearting system ppt
 
Intro tounix
Intro tounixIntro tounix
Intro tounix
 

Más de SiliconExpert Technologies (20)

Game Programming By J2me
Game Programming By J2meGame Programming By J2me
Game Programming By J2me
 
Linux Administration
Linux AdministrationLinux Administration
Linux Administration
 
How To Get Your First Job
How To Get Your First  JobHow To Get Your First  Job
How To Get Your First Job
 
Joomla Presentations
Joomla PresentationsJoomla Presentations
Joomla Presentations
 
Mufix Network Programming Lecture
Mufix Network Programming LectureMufix Network Programming Lecture
Mufix Network Programming Lecture
 
Javafx Overview 90minutes
Javafx Overview 90minutesJavafx Overview 90minutes
Javafx Overview 90minutes
 
Javafx Overview 90minutes
Javafx Overview 90minutesJavafx Overview 90minutes
Javafx Overview 90minutes
 
Javafx Overview 90minutes
Javafx Overview 90minutesJavafx Overview 90minutes
Javafx Overview 90minutes
 
Javanowandfuture Chihuahua
Javanowandfuture ChihuahuaJavanowandfuture Chihuahua
Javanowandfuture Chihuahua
 
Google Summer of Code
Google Summer of CodeGoogle Summer of Code
Google Summer of Code
 
Web Fundamental
Web FundamentalWeb Fundamental
Web Fundamental
 
Joining Osum Community And ..
Joining Osum Community And ..Joining Osum Community And ..
Joining Osum Community And ..
 
Develop Your Skills With Osum
Develop Your Skills With OsumDevelop Your Skills With Osum
Develop Your Skills With Osum
 
Sfd Post Event Report
Sfd Post Event ReportSfd Post Event Report
Sfd Post Event Report
 
Linux Presentation
Linux PresentationLinux Presentation
Linux Presentation
 
Windows 7
Windows 7Windows 7
Windows 7
 
Networks Basics
Networks BasicsNetworks Basics
Networks Basics
 
Introduction To Programming (2009 2010)
Introduction To Programming (2009 2010)Introduction To Programming (2009 2010)
Introduction To Programming (2009 2010)
 
Web Intro
Web IntroWeb Intro
Web Intro
 
Desktop Intro
Desktop IntroDesktop Intro
Desktop Intro
 

Último

Connecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdfConnecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdfNeo4j
 
Decarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a realityDecarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a realityIES VE
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...Alkin Tezuysal
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteDianaGray10
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxLoriGlavin3
 
Emixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native developmentEmixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native developmentPim van der Noll
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity PlanDatabarracks
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
UiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to HeroUiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to HeroUiPathCommunity
 
Scale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL RouterScale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL RouterMydbops
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxLoriGlavin3
 
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24Mark Goldstein
 
Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024Hiroshi SHIBATA
 
Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...
Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...
Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...Scott Andery
 
Assure Ecommerce and Retail Operations Uptime with ThousandEyes
Assure Ecommerce and Retail Operations Uptime with ThousandEyesAssure Ecommerce and Retail Operations Uptime with ThousandEyes
Assure Ecommerce and Retail Operations Uptime with ThousandEyesThousandEyes
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024Lonnie McRorey
 
Testing tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examplesTesting tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examplesKari Kakkonen
 
A Framework for Development in the AI Age
A Framework for Development in the AI AgeA Framework for Development in the AI Age
A Framework for Development in the AI AgeCprime
 

Último (20)

Connecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdfConnecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdf
 
Decarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a realityDecarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a reality
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test Suite
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
 
Emixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native developmentEmixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native development
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity Plan
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
UiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to HeroUiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to Hero
 
Scale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL RouterScale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL Router
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptx
 
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
 
Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024
 
Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...
Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...
Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...
 
Assure Ecommerce and Retail Operations Uptime with ThousandEyes
Assure Ecommerce and Retail Operations Uptime with ThousandEyesAssure Ecommerce and Retail Operations Uptime with ThousandEyes
Assure Ecommerce and Retail Operations Uptime with ThousandEyes
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024
 
Testing tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examplesTesting tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examples
 
A Framework for Development in the AI Age
A Framework for Development in the AI AgeA Framework for Development in the AI Age
A Framework for Development in the AI Age
 

Linux

  • 2. Key Notes  Introduction to Open Source.  What is Linux.  Linux Distros.  Which is Suitable for Me.  Linux Installation Process.  How to Use Linux.  Installing Useful Software.  Linux Shells (Advanced).
  • 3. Open Source  Is a development methodology.  Means that people can share their programs source code with every one for free.  This type of software is available under terms of licenses such as GPL, LGPL, AGPL, ISC, MIT.  Each license puts some rules for the method of using their code.  Most famous one is the GPL license used with Linux.
  • 4. Open Source & Linux  Unix was the Major used OS in most universities.  Unix started asking students to pay money for the usage and development of the system.  A professor developed Minix in order to replace Unix, which was used by Linus Torvalds.  Linus started to develop the Linux Kernel.  In the same time Ritchard Stallman started to develop GNU and constructed Free Software Foundation.
  • 5. What is Linux?  Linux is a free open source operating system kernel built by a student to replace UNIX.  Linux is the system kernel where GNU is the tools that system use to operate.  It was developed in early 1990s but still developed until now.  Is the first choice for enterprise world and geeks.  Linux can run on many platforms(i386, x86/64, PPC, Amiga, SPARC, PS3, Super computers).
  • 6. GNU/Linux Architecture  Linux has a monolithic kernel.  GNU/Linux uses the structure of layered model. Process File Networking Kernel Peripherals control System Unix Shells Unix Tools X Server (X window system)
  • 7. Linux Window Managers.  Window managers is a graphical software used to ease the use of the system.  Linux has many window managers (KDE, Gnome, xpde, xfce, fluxbox, twm, NextStep,....).
  • 9. Linux Distros.  As Linux is open source so any one can develop his own version.  Linux distros varies in DWM, Applications provided with each.  Market imposed on us some distros as standard (Redhat, Debian, Slackware).  Most of current distros are based on Debian(Ubuntu) or Redhat (Fedora).
  • 12. Which is Suitable for Me?  Redhat is good for enterprise work.  Debian is good for professional end-users.  Fedora is good for personal use and developing  Opensuse is good for training usage  Mandriva is very good for non technical user.  Slackware is intended for Advanced professional users.  Ubuntu is suitable for ALL !!!
  • 13. Why Ubuntu?  Ubuntu is a free Linux distros  Ubuntu is based on Debian which is reliable and stable.  Ubuntu is the distribution with the biggest software repositories.  Ubuntu has a good hardware support for most available companies.  Ubuntu have a lot of variants (Kubuntu, Xubuntu, Edubuntu, Goubuntu, MIDI Ubuntu).
  • 15. Installing Ubuntu  Ubuntu comes on a live CD.  Live CD means that you can use the system from CD with out installing (boot only).  The system installation is as easy as installing a program (Only double click on icon).  The installation process is very fast and easy (faster and easier than installing windows).  Let's see how ???!!
  • 25. Using Linux  Linux desktop is very easy to use like windows.  There are some important elements on desktop  Computer Disks: Places → Computer.  Home Directory : Places → Home Folder.  Configurations : System → Preferences.  Administration : System → Administration.  All Programs : Applications → Choose Category.  Note that all this menus are found under Gnome only KDE is different.
  • 26. Using Linux (File System)  Linux uses EXT2, EXT3 file systems and a swap partition to use as virtual memory.  Linux can mount FAT16/32 , NTFS , HFS Drives where windows can't mount EXT drive.  Under File system there are some Directories:  /bin: contains UNIX tools and executable Shell tools  /boot: file needed to boot the system.  /etc: system configuration files.  /lib : system and applications libraries.  /media: mounted drives.
  • 27. Installing Useful Software  Most of applications available for Linux are free and open source so it's easy to get.  Linux has repositories for programs (search & get).  Each Linux distribution has a software called package manager.  The two most famous packages formats are: .deb for Debian based system , .rpm for Redhat based systems.
  • 28. How to Install Applications?  From Application menu go to Add/Remove.....  In the windows opened write program name or description in the search field.  choose your preferred programs.  Click “Apply” and wait for download and instillation.  Now the program is installed and ready to use.  To install application from shell.  sudo apt-get install packageName  Then wait for download and installation.
  • 29. Windows Emulation  WINE is a windows emulator which is able to run windows software under Linux.  Wine can be downloaded via Add/Remove..  WINE can emulate windows (2.0, 3.0, 95, 98, NT, 2000, XP, Server 2003, Vista, Server 2008)  Wine Doors is a program that downloads some libraries for WINE to be compatible with most windows Apps.  Wine needs (MFC , VC++ runtime, VB runtime, IE6 libs, DX9c libs, .....).
  • 30. Programming on Linux.  Linux has dozens of programming languages.  GNU Compilers Collection has compilers for:  Ada, C/C++, Fortran and Java.  The Linux kernel is compiled using GCC.  Perl, Python are installed on most distros.  Sun's JDK, JVM can be installed on Linux.  A lot of IDEs are available for Linux(Eclipse, Netbeans, Mono, KDevelop, Omnis Studio)
  • 31. Installing Java & Netbeans  To install Sun Java write this commands:  sudo apt-get install sun-java6-jre  sudo apt-get install sun-java6-bin  sudo apt-get install sun-java6-jdk  sudo apt-get install sun-java6-plugin  To install Netbeans download the Linux file then:  Double click the Icon and continue the setup.  ./netbeans6.x --javahome:JavaDirectoryPath
  • 32. Installing MySQL & Oracle  MySQL server must be installed using package manager:  sudo apt-get install mysql-server-5.0  Query browser and other tools can be downloaded via Add/Remove from Applications menu.  Download the Oracle deb package from Oracle website then:  Double click on the icon.  Click on install package button and wait for setup to finish.  Go to /etc/init.d then write “chmod +x oracle-xe”  Then start script as root “sudo ./oracle-xe”
  • 33. Linux Shells (UNIX shells)  Linux uses shells to interact with user in CLI mode (good for servers and administrators).  Shells can be accessed by GUI users via terminals.  Linux shell is similar to UNIX shell but with some additional commands.  Most popular Linux shell is Bash.  Bash supports scripts with a wide range of commands.
  • 34. Linux Shell Commands  cp file1 file2 → copy file1 to file2  rm fileName → deletes the file.  mv file1 file2 → rename file1 or moves it to another location.  cd directoryName → change directory.  less fileName → view file content  clear → clear screen  man command → view command Manual.  find fileName → search for file.
  • 35. Linux Shell Commands 2  ls → list files in current directory.  ps -u UserName → view all running process for userName.  kill PID → kill process with a specific ID.  su → change to root mode.  sudo “command” → execute command in root mode.  chmod +x “file” → change file mode to executable.  ./script.xyz → execute script or file.  ifconfig → view your network interface configurations.  history → view history of command you entered.  reboot → restart system , halt → shutdown the system
  • 36. Shell Configurations  The shell configurations file of the Bash shell is found under /home/UseName/.bashrc .  We can use this file to define new environment variables to the shell by adding the following line at the end of the file:  PATH=$PATH:/xx/yy/zz;  export PATH  .bash_history → contains your command history.  .bash_logout → execute command when leaving shell.
  • 37. Bye Bye Keep Using