SlideShare uma empresa Scribd logo
1 de 26
Baixar para ler offline
AIESEC IT School 2011




                   Sisteme de operare
                    de tip Linux / Unix



Mihai Oaida<mihai.oaida@gmail.com>        1
Despre mine

     Mihai Oaida
         Senior Web developer @imobiliare.ro
         Instructor Tehnologii Web - Eta2u Training center
         Student M.S.E. Politehnica Timișoara
         http://www.slideshare.net/mihai.oaida




Mihai Oaida<mihai.oaida@gmail.com>                            2
Cuprins

     Istorie
     Linux
     Open-source/free software
     Distribuții
     Ubuntu
     Comenzi
     Unelte


Mihai Oaida<mihai.oaida@gmail.com>   3
Istorie

     1960 - Multics
     1970 - Limbajul C, Unix, Bell Labs
     1980 - System V vs BSD, POSIX, MIMIX
     1991 - Linux 0.01, Linus Torvalds
     1994 - Linux 1.0 ,GNU
     1996 - Linux 2.0
     astăzi - Linux 2.6.38.2


Mihai Oaida<mihai.oaida@gmail.com>           4
Linux

     Arhitectură
         Kernel + drivere
         Aplicații utilizator


     Versiunea 2.6.32-27
         2 – versiunea kernel-ului
         6 - versiunea majora
         32 - revizii minore
         27 - bug fix-uri, patch-uri securitate

Mihai Oaida<mihai.oaida@gmail.com>                 5
Linux

     Platforme
         x86, x86_64, sparc, arm, etc …

     Dezvoltare
         O nouă versiune la aprox. 3 luni
         Se folosește git

     Tux


Mihai Oaida<mihai.oaida@gmail.com>           6
Open source / free software

      Filozofie
      Fork-uri
      Licențe: GPL, MIT, Apache, BSD
      Implicare companiilor
      Scepticism
      Consultanță




Mihai Oaida<mihai.oaida@gmail.com>      7
Distribuții

     Împachetează versiuni diferite de la acela și
        software
     Alegerea unei distribuții depinde de:
         scopul pentru care este folosit
         comunitatea din spate
         versiune software-ului și stabilitatea




Mihai Oaida<mihai.oaida@gmail.com>                    8
Distribuții

     Red Hat, CentOs, Oracle Linux
     Slackware, SuSE
     Debian, Ubuntu
     FreeBSD
     Solaris
     Mac OS X
     Android
     OpenWrt

Mihai Oaida<mihai.oaida@gmail.com>    9
Ubuntu

     Bazat pe Debian
     Ubuntu 10.04 LTS
     Ubuntu 10.10 stabil
     Ubuntu 11.04 beta

     Lansare la fiecare 6 luni
     Suport 18 luni, respectiv 60 pentru LTS


Mihai Oaida<mihai.oaida@gmail.com>              10
Ubuntu

     Xubuntu, KUbuntu, Ubuntu studio
     Ubuntu server, Ubuntu desktop

     Instalare – live cd
     Configurare, partiționare
     Utilitare comune
     Preferințe
     Instalare soft

Mihai Oaida<mihai.oaida@gmail.com>      11
Comenzi

     Sistemul de fișiere
         Ierarhic
         Totul este un fișier
         Root-ul este /


     Dispozitive: /dev/sda7
     Tipuri: ext2, ext3, ext4, reiserfs, zfs, swap
     Limite

Mihai Oaida<mihai.oaida@gmail.com>                    12
Comenzi - montare dispozitive

     mount
     df -h
     fdisk -l
     umount
     umount -a
     vim /etc/fstab




Mihai Oaida<mihai.oaida@gmail.com>   13
Comenzi - editoare

     vim
     mcedit
     pico




Mihai Oaida<mihai.oaida@gmail.com>   14
Comenzi - directoare

     ls - lah
     cd
     mkdir
     cp
     mv
     pwd




Mihai Oaida<mihai.oaida@gmail.com>   15
Comenzi - fișiere

     wc
     cat
     file
     head
     tail
     grep
     find / -name '*snoop*.mp3'


Mihai Oaida<mihai.oaida@gmail.com>   16
Comenzi - utilizatori

     adduser mihai
     useradd -g developers mihai
     chown -R mihai:developers poze/




Mihai Oaida<mihai.oaida@gmail.com>      17
Comenzi - fișiere - drepturi

     drwxr-xr-x - 755
         r - 4
         w - 2
         x - 1
     ex:664,777,755,600
     chmod -R 775 poze/




Mihai Oaida<mihai.oaida@gmail.com>   18
Comenzi - compresie

     Tar
         tar -zcvf proiect.tar.gz tema3
         tar -xvf proiect.tar.gz
     Zip
         zip -r tema3.zip tema3/
         unzip tema3.zip
     Rar
         unrar x pack.rar


Mihai Oaida<mihai.oaida@gmail.com>         19
Comenzi - bash

     bash
     Ctrl+R, Ctrl+Alt+F1
     history
     autocomplete
     redirectare output
     pipes
     procese background
     shell scripting

Mihai Oaida<mihai.oaida@gmail.com>   20
Comenzi – instalare pachete

     sudo apt-get update
     sudo apt-cache search php
     sudo apt-get install php5
     Upgrade
         sudo apt-get upgrade
         sudo apt-get dist-upgrade
     sudo apt-get clean
     SAU: sudo aptitude

Mihai Oaida<mihai.oaida@gmail.com>    21
Comenzi - rețea

     Configurare
         /etc/network/interfaces
         /etc/resolv.conf
         /etc/hosts
         sudo /etc/init.d/networking restart
     Verificare
         ifconfig
         ping
         tracepath
         mtr
Mihai Oaida<mihai.oaida@gmail.com>              22
Comenzi - informații sistem

     top, htop
     isostat, vmstat,dstat
     free
     cat /proc/cpuinfo
     lshw




Mihai Oaida<mihai.oaida@gmail.com>   23
Comenzi - servicii

     ssh
     ftp
     php
     mysql
     contab -e




Mihai Oaida<mihai.oaida@gmail.com>   24
Unelte în Linux

     Office
     Programare în C/C++
     Programare în Java
     Programare în Python
     Programare Web
     Virtualizare
     Programe de pe Windows
     Versionare cu svn

Mihai Oaida<mihai.oaida@gmail.com>   25
Mulțumesc




Mihai Oaida<mihai.oaida@gmail.com>               26

Mais conteúdo relacionado

Semelhante a Linux/Unix-based Operating Systems

"Introducing Red Hat Training Center" by Radu Radulescu @ eLiberatica 2008
"Introducing Red Hat Training Center" by Radu Radulescu @ eLiberatica 2008"Introducing Red Hat Training Center" by Radu Radulescu @ eLiberatica 2008
"Introducing Red Hat Training Center" by Radu Radulescu @ eLiberatica 2008eLiberatica
 
09 server mgmt_ii_ro
09 server mgmt_ii_ro09 server mgmt_ii_ro
09 server mgmt_ii_romcroitor
 
catana-Wordpress application deployment
catana-Wordpress application deploymentcatana-Wordpress application deployment
catana-Wordpress application deploymentIonut Catana
 

Semelhante a Linux/Unix-based Operating Systems (6)

Fedora 12
Fedora 12Fedora 12
Fedora 12
 
"Introducing Red Hat Training Center" by Radu Radulescu @ eLiberatica 2008
"Introducing Red Hat Training Center" by Radu Radulescu @ eLiberatica 2008"Introducing Red Hat Training Center" by Radu Radulescu @ eLiberatica 2008
"Introducing Red Hat Training Center" by Radu Radulescu @ eLiberatica 2008
 
09 server mgmt_ii_ro
09 server mgmt_ii_ro09 server mgmt_ii_ro
09 server mgmt_ii_ro
 
catana-Wordpress application deployment
catana-Wordpress application deploymentcatana-Wordpress application deployment
catana-Wordpress application deployment
 
OpenSUSE 11.2
OpenSUSE 11.2OpenSUSE 11.2
OpenSUSE 11.2
 
Qt Application Development
Qt Application DevelopmentQt Application Development
Qt Application Development
 

Mais de Mihai Oaida

Building faster websites Front-end performance
Building faster websites Front-end performanceBuilding faster websites Front-end performance
Building faster websites Front-end performanceMihai Oaida
 
Scaling web-applications
Scaling web-applicationsScaling web-applications
Scaling web-applicationsMihai Oaida
 
Notiuni avansate MySQL - LVLE 2009
Notiuni avansate MySQL - LVLE 2009Notiuni avansate MySQL - LVLE 2009
Notiuni avansate MySQL - LVLE 2009Mihai Oaida
 
Teme - Proiectarea si normalizarea bazelor de date - Infoeducatie 2008
Teme - Proiectarea si normalizarea bazelor de date - Infoeducatie 2008Teme - Proiectarea si normalizarea bazelor de date - Infoeducatie 2008
Teme - Proiectarea si normalizarea bazelor de date - Infoeducatie 2008Mihai Oaida
 
jQuery - GeekMeet Timisoara
jQuery - GeekMeet TimisoarajQuery - GeekMeet Timisoara
jQuery - GeekMeet TimisoaraMihai Oaida
 
Advanced Mysql - GeekMeet Timisoara
Advanced Mysql - GeekMeet TimisoaraAdvanced Mysql - GeekMeet Timisoara
Advanced Mysql - GeekMeet TimisoaraMihai Oaida
 
Notiuni avansate MySQL - Infoeducatie 2009
Notiuni avansate MySQL - Infoeducatie 2009Notiuni avansate MySQL - Infoeducatie 2009
Notiuni avansate MySQL - Infoeducatie 2009Mihai Oaida
 
jQuery - Infoeducatie 2008
jQuery - Infoeducatie 2008jQuery - Infoeducatie 2008
jQuery - Infoeducatie 2008Mihai Oaida
 
Arhitecturi de caching server-side - Infoeducatie 2008
Arhitecturi de caching server-side - Infoeducatie 2008 Arhitecturi de caching server-side - Infoeducatie 2008
Arhitecturi de caching server-side - Infoeducatie 2008 Mihai Oaida
 
Notiuni avansate MySQL - Infoeducatie 2008
Notiuni avansate MySQL - Infoeducatie 2008Notiuni avansate MySQL - Infoeducatie 2008
Notiuni avansate MySQL - Infoeducatie 2008Mihai Oaida
 
Proiectarea si normalizarea bazelor de date - Infoeducatie 2008
Proiectarea si normalizarea bazelor de date - Infoeducatie 2008Proiectarea si normalizarea bazelor de date - Infoeducatie 2008
Proiectarea si normalizarea bazelor de date - Infoeducatie 2008Mihai Oaida
 
Arhitectura Si Managementul Proiectelor - Infoeducatie 2007
Arhitectura Si Managementul Proiectelor - Infoeducatie 2007Arhitectura Si Managementul Proiectelor - Infoeducatie 2007
Arhitectura Si Managementul Proiectelor - Infoeducatie 2007Mihai Oaida
 

Mais de Mihai Oaida (12)

Building faster websites Front-end performance
Building faster websites Front-end performanceBuilding faster websites Front-end performance
Building faster websites Front-end performance
 
Scaling web-applications
Scaling web-applicationsScaling web-applications
Scaling web-applications
 
Notiuni avansate MySQL - LVLE 2009
Notiuni avansate MySQL - LVLE 2009Notiuni avansate MySQL - LVLE 2009
Notiuni avansate MySQL - LVLE 2009
 
Teme - Proiectarea si normalizarea bazelor de date - Infoeducatie 2008
Teme - Proiectarea si normalizarea bazelor de date - Infoeducatie 2008Teme - Proiectarea si normalizarea bazelor de date - Infoeducatie 2008
Teme - Proiectarea si normalizarea bazelor de date - Infoeducatie 2008
 
jQuery - GeekMeet Timisoara
jQuery - GeekMeet TimisoarajQuery - GeekMeet Timisoara
jQuery - GeekMeet Timisoara
 
Advanced Mysql - GeekMeet Timisoara
Advanced Mysql - GeekMeet TimisoaraAdvanced Mysql - GeekMeet Timisoara
Advanced Mysql - GeekMeet Timisoara
 
Notiuni avansate MySQL - Infoeducatie 2009
Notiuni avansate MySQL - Infoeducatie 2009Notiuni avansate MySQL - Infoeducatie 2009
Notiuni avansate MySQL - Infoeducatie 2009
 
jQuery - Infoeducatie 2008
jQuery - Infoeducatie 2008jQuery - Infoeducatie 2008
jQuery - Infoeducatie 2008
 
Arhitecturi de caching server-side - Infoeducatie 2008
Arhitecturi de caching server-side - Infoeducatie 2008 Arhitecturi de caching server-side - Infoeducatie 2008
Arhitecturi de caching server-side - Infoeducatie 2008
 
Notiuni avansate MySQL - Infoeducatie 2008
Notiuni avansate MySQL - Infoeducatie 2008Notiuni avansate MySQL - Infoeducatie 2008
Notiuni avansate MySQL - Infoeducatie 2008
 
Proiectarea si normalizarea bazelor de date - Infoeducatie 2008
Proiectarea si normalizarea bazelor de date - Infoeducatie 2008Proiectarea si normalizarea bazelor de date - Infoeducatie 2008
Proiectarea si normalizarea bazelor de date - Infoeducatie 2008
 
Arhitectura Si Managementul Proiectelor - Infoeducatie 2007
Arhitectura Si Managementul Proiectelor - Infoeducatie 2007Arhitectura Si Managementul Proiectelor - Infoeducatie 2007
Arhitectura Si Managementul Proiectelor - Infoeducatie 2007
 

Linux/Unix-based Operating Systems

  • 1. AIESEC IT School 2011 Sisteme de operare de tip Linux / Unix Mihai Oaida<mihai.oaida@gmail.com> 1
  • 2. Despre mine  Mihai Oaida  Senior Web developer @imobiliare.ro  Instructor Tehnologii Web - Eta2u Training center  Student M.S.E. Politehnica Timișoara  http://www.slideshare.net/mihai.oaida Mihai Oaida<mihai.oaida@gmail.com> 2
  • 3. Cuprins  Istorie  Linux  Open-source/free software  Distribuții  Ubuntu  Comenzi  Unelte Mihai Oaida<mihai.oaida@gmail.com> 3
  • 4. Istorie  1960 - Multics  1970 - Limbajul C, Unix, Bell Labs  1980 - System V vs BSD, POSIX, MIMIX  1991 - Linux 0.01, Linus Torvalds  1994 - Linux 1.0 ,GNU  1996 - Linux 2.0  astăzi - Linux 2.6.38.2 Mihai Oaida<mihai.oaida@gmail.com> 4
  • 5. Linux  Arhitectură  Kernel + drivere  Aplicații utilizator  Versiunea 2.6.32-27  2 – versiunea kernel-ului  6 - versiunea majora  32 - revizii minore  27 - bug fix-uri, patch-uri securitate Mihai Oaida<mihai.oaida@gmail.com> 5
  • 6. Linux  Platforme  x86, x86_64, sparc, arm, etc …  Dezvoltare  O nouă versiune la aprox. 3 luni  Se folosește git  Tux Mihai Oaida<mihai.oaida@gmail.com> 6
  • 7. Open source / free software  Filozofie  Fork-uri  Licențe: GPL, MIT, Apache, BSD  Implicare companiilor  Scepticism  Consultanță Mihai Oaida<mihai.oaida@gmail.com> 7
  • 8. Distribuții  Împachetează versiuni diferite de la acela și software  Alegerea unei distribuții depinde de:  scopul pentru care este folosit  comunitatea din spate  versiune software-ului și stabilitatea Mihai Oaida<mihai.oaida@gmail.com> 8
  • 9. Distribuții  Red Hat, CentOs, Oracle Linux  Slackware, SuSE  Debian, Ubuntu  FreeBSD  Solaris  Mac OS X  Android  OpenWrt Mihai Oaida<mihai.oaida@gmail.com> 9
  • 10. Ubuntu  Bazat pe Debian  Ubuntu 10.04 LTS  Ubuntu 10.10 stabil  Ubuntu 11.04 beta  Lansare la fiecare 6 luni  Suport 18 luni, respectiv 60 pentru LTS Mihai Oaida<mihai.oaida@gmail.com> 10
  • 11. Ubuntu  Xubuntu, KUbuntu, Ubuntu studio  Ubuntu server, Ubuntu desktop  Instalare – live cd  Configurare, partiționare  Utilitare comune  Preferințe  Instalare soft Mihai Oaida<mihai.oaida@gmail.com> 11
  • 12. Comenzi  Sistemul de fișiere  Ierarhic  Totul este un fișier  Root-ul este /  Dispozitive: /dev/sda7  Tipuri: ext2, ext3, ext4, reiserfs, zfs, swap  Limite Mihai Oaida<mihai.oaida@gmail.com> 12
  • 13. Comenzi - montare dispozitive  mount  df -h  fdisk -l  umount  umount -a  vim /etc/fstab Mihai Oaida<mihai.oaida@gmail.com> 13
  • 14. Comenzi - editoare  vim  mcedit  pico Mihai Oaida<mihai.oaida@gmail.com> 14
  • 15. Comenzi - directoare  ls - lah  cd  mkdir  cp  mv  pwd Mihai Oaida<mihai.oaida@gmail.com> 15
  • 16. Comenzi - fișiere  wc  cat  file  head  tail  grep  find / -name '*snoop*.mp3' Mihai Oaida<mihai.oaida@gmail.com> 16
  • 17. Comenzi - utilizatori  adduser mihai  useradd -g developers mihai  chown -R mihai:developers poze/ Mihai Oaida<mihai.oaida@gmail.com> 17
  • 18. Comenzi - fișiere - drepturi  drwxr-xr-x - 755  r - 4  w - 2  x - 1  ex:664,777,755,600  chmod -R 775 poze/ Mihai Oaida<mihai.oaida@gmail.com> 18
  • 19. Comenzi - compresie  Tar  tar -zcvf proiect.tar.gz tema3  tar -xvf proiect.tar.gz  Zip  zip -r tema3.zip tema3/  unzip tema3.zip  Rar  unrar x pack.rar Mihai Oaida<mihai.oaida@gmail.com> 19
  • 20. Comenzi - bash  bash  Ctrl+R, Ctrl+Alt+F1  history  autocomplete  redirectare output  pipes  procese background  shell scripting Mihai Oaida<mihai.oaida@gmail.com> 20
  • 21. Comenzi – instalare pachete  sudo apt-get update  sudo apt-cache search php  sudo apt-get install php5  Upgrade  sudo apt-get upgrade  sudo apt-get dist-upgrade  sudo apt-get clean  SAU: sudo aptitude Mihai Oaida<mihai.oaida@gmail.com> 21
  • 22. Comenzi - rețea  Configurare  /etc/network/interfaces  /etc/resolv.conf  /etc/hosts  sudo /etc/init.d/networking restart  Verificare  ifconfig  ping  tracepath  mtr Mihai Oaida<mihai.oaida@gmail.com> 22
  • 23. Comenzi - informații sistem  top, htop  isostat, vmstat,dstat  free  cat /proc/cpuinfo  lshw Mihai Oaida<mihai.oaida@gmail.com> 23
  • 24. Comenzi - servicii  ssh  ftp  php  mysql  contab -e Mihai Oaida<mihai.oaida@gmail.com> 24
  • 25. Unelte în Linux  Office  Programare în C/C++  Programare în Java  Programare în Python  Programare Web  Virtualizare  Programe de pe Windows  Versionare cu svn Mihai Oaida<mihai.oaida@gmail.com> 25