Langsung ke konten utama

Pengenalan Sistem Operasi Linux


Sejarah GNU/Linux
~ GNU
*  Free UNIX clone by Richard Stallman in 1980
*  GNU = GNU's Not Unix
*  Lacked a kernel
~  Linux kernel
*  Free UNIX kernel by Linus Torvalds in 1991
*  Linux = Linus + Unix
*  Based on Minix
*  Supported by the community

Manfaat GNU/Linux
*  Free software
*  Open source
*  Dukungan komunitas yang besar
*  Dukungan vendor-vendor besar: Sun, IBM, Google, dll
*  Kestabilan tinggi

Logo Linux

*  Logo sebagai simbol yang mewakili Linux
* Karakter: Penguin
*  Nama: Tux (Torvalds UniX)
*  Karya Larry Ewing – 1996

Aplikasi Linux vs Windows
Aplikasi GNU/Linux saat ini sudah tidak kalah dengan aplikasi di Windows
Aplikasi
Windows

Linux

Office Suite
Microsoft Office

Open Office

Internet Browser

Ms Internet Explorer

Mozilla Firefox

Diagram maker

Ms Visio

Dia, Kivio

Programming IDE

Ms Visual Studio

Eclipse, KDevelop

Programming framework

Ms .NET

Monocc

Video Player

Windows Media Player

Kaffeine, Totem

Email client
Image Editor

Ms Outlook, Win Mail
Adobe Photoshop

Evolution, Thunderbird
Gimp

Music Player

WinAmp

Xmms


Instalasi Linux
~  Source
*  CDROM
*  Harddisk
*  USB drive
*  Network
~  Metode
*  Dual-booting
*  Install within Windows (wubi)
*  Virtual computer (vmWare)
*  Live CD
*  PXE (Pre-eXecution Environment)

Arsitektur Linux



Linux Kernel
~ Inti/nukleus dari sistem operasi Linux
Menjalankan fungsi-fungsi dasar sistem operasi
* Manajemen proses
*  Manajemen I/O
*  Manajemen memori
*  Manajemen perangkat keras
*  Manajemen file
~ Dalam menjalankan fungsinya, didukung oleh pustaka (library) dan utility

Linux Console/Shell
~ Antarmuka antara user dengan OS
~ Berupa CLI (Command Line Interface)
~ Bertindak sebagai penerjemah perintah (command interpreter)
~ Diakses melalui dua cara
*  desktop terminal program (terminal emulator)
→ Applications > Accessories > Terminal
*  virtual console (virtual terminal)
→ <Ctrl+Alt+F2> (ada 6 terminal F1..F6, desktop = <Ctrl+Alt+F7>)

Linux Console/Shell (cont)


Linux Console/Shell (cont)
~ Jenis shell
*  Bourne shell (sh), original shell
*  C shell (csh), C-type syntax
*  Korn shell (ksh)
*  Bourne Again shell (bash)
~  Shell prompt
*  Tempat memasukkan perintah
  Default prompt bash untuk user: $ (untuk root: #)

Linux Users
~  Two types of user:
*  Root → super user
*  Standar user
Every users has a home directory:
/home/[username]
~ Tiap file memiliki atribut yang berkaitan dengan hak akses user terhadap file tersebut.
~ Root:
*  Have the ability to do anything i.e: delete files, install software, admin system, dll

Linux GUI/Desktop
~  Linux awal hanya mode teks (CLI)
~  Linux GUI menggunakan desktop/windows manager di atas layanan X Server
~  X Server mengatur penggunaan resource GUI (mouse, keyboard, display card, dll)
~  Jenis Desktop/Windows Manager
*  KDE (K Desktop Environment)
*  GNOME (GNU Network Object Model Environment)
*  Xfce, blackbox, equinox, dll.

Linux GUI/Desktop (cont)
Perbedaan antara Desktop/Windows Manager
*  Usability
*  Program pendukung
*  User Interface
~  KDE → lebih banyak opsi konfigurasi & aplikasi pendukung
~  GNOME → lebih menonjolkan kemudahan dan kesederhanaan
~  Fitur unik: Virtual Desktop

Linux Virtual Desktop


Linux File System
~  Menggunakan sistem hirarki yang dimulai dari root /
(Windows: berbasis drive partisi harddisk)
~  Berbagai obyek (device, media, dll) diperlakukan sebagai file. Untuk bisa mengakses obyek tersebut dilakukan proses mounting sehingga obyek menjadi bagian dari hirarki sistem.
~  Hirarki file system mengikuti FHS (Filesystem Hierarchy Standard) dari UNIX

Linux File System – FHS

Dir
Deskripsi
/bin
Essential OS softwares
/boot
Boot related files
/dev
Virtual device file
/etc
System configuration files
/home
User's personal folders
/lib
Support library files
/media
Storage mount points
/opt
Add on softwares
/sbin
System essential software
/tmp
Temporary folder
/usr
Softwares & utilities
Dir
Deskripsi
/bin
Essential OS softwares
/boot
Boot related files
/dev
Virtual device file
/etc
System configuration files
/home
User's personal folders
/lib
Support library files
/media
Storage mount points
/opt
Add on softwares
/sbin
System essential software
/tmp
Temporary folder
/usr
Softwares & utilities
/var
System data
/root
Super user (root) directory
/proc
Virtual folder for settings

Nautilus File Browser


Penamaan File
~  Penamaan file di Linux bersifat case sensitive.
~  Percobaan 1:
1.       Gunakan Nautilus File Browser untuk membuat file tes.txt di direktori home Anda:
Places > Home Folder (membuka lokasi home di Nautilus).
File > Create Document > Empty File > [isi nama file].
2.       Dengan cara yang sama buat file-file berikut ini di direktori yang sama: Tes.txt, TES.TXT, tes.TXT, tes.txt
Perhatikan apa yang terjadi, bandingkan bila aksi tersebut dilakukan di Windows

File Extensions
~  Linux pada umumnya tidak mengharuskan penggunaan extension untuk file-file sistem.
~  Untuk membedakan sebuah file bisa dijalankan/dieksekusi, digunakan atribut dari file (di Windows menggunakan file extension .exe)
~  Untuk file-file personal, penggunaan extension tetap diperlukan, a.l: .jpg, .doc, .pdf, dll.
~  Percobaan 2 :
Buat file baru bernama tesfile (tanpa extension), lalu buka file tersebut (double klik), perhatikan apa yang terjadi.
Menyembunyikan File
~  Berbeda dengan Windows, untuk membuat file menjadi tersembunyi (hidden) di Linux cukup dengan mengawali nama file dengan tanda '.'
~  Percobaan 3:
1.       Gunakan Nautilus File Browser untuk membuat file .tes2.txt di direktori home Anda:
2.       Reload/Refresh tampilan melalui View>Reload atau <Ctrl+R>. Perhatikan apa yang terjadi.
3.       Atur opsi agar bisa menampilkan file yang tersembunyi melalui View>Show Hidden Files atau <Ctrl+H>

Manajemen Aplikasi
~  Berbeda dengan Windows, Linux berbasis sistem Package Management untuk menginstal, mengupdate dan menghapus aplikasi.
~  Berbasis software repository/package center (vs Windows yang berbasis setup file dari cd/dvd/download)
~  Menerapkan dependency management
~  Dasar perbedaan → Open Source

Komentar

Postingan populer dari blog ini

Operasi File Sederhana dengan VB.NET

Ada kalanya kita perlu melakukan operasi file sederhana dalam program yang kita buat. Adapun yang saya maksud operasi file sederhana di sini adalah membuat file, memindahkan file, menyalin file, menghapus file dan memeriksa keberadaan file. Jika kita menggunakan VB.Net, maka untuk melakukan operasi-operasi file sederhana tersebut cukup menggunakan beberapa method yang ada di class File, semuanya sangat mudah untuk digunakan dan sudah disediakan oleh VB.NET. Berikut ini adalah contoh penggunaan  method-method tersebut dan penjelasan singkatnya: Membuat file dengan method File.Create File.Create ("C:\Folder Saya\Tes.txt") Perintah di atas akan membuat sebuah file bernama “Tes.txt” di folder “Folder Saya” pada drive C. Jika file tersebut sudah ada maka file yang ada akan ditimpa dengan file baru, namun jika drive C atau folder “Folder Saya” tidak ada (tidak dapat diakses) maka akan tampil eror “ The filename, directory name, or volume label synt...

10 Most Popular Internet Browser on 2012 + Download Link

Internet browser is an application to assist users in navigating the virtual world , each year Internet / Web browser that we use are always fix bugs , ranging from security , features , speed browsing and so forth . According to the review / testing in 2012 , that this year there is a change from previously ranked number one occupied by the output of the Mozilla Firefox browser , but this year the first rank is taken over by the output google chrome browser . Chrome is already worthy of occupying the first position , given in terms of chrome speed noticeably faster than other browsers and not only that chrome does not burden the CPU as well , when browsing activity . Simply look at the review below . 10 Internet Browser of the Year 2012 : 1. Google Chrome Spesifikasi & Reviews : Rating: Feature Set: 5 Star (Excellent) Securit...

New 7 Wonder in the Word 2012

1. Jeju Island di  South Korea    Gambar: Waves crashing on Jeju seashore.   (Sumber:Wikipedia) Early history Cheonjiyeon Waterfall in Jeju Island. Waves crashing on the coast of Jeju. Mount Halla in Jeju. Cheonjiyeon Waterfall in Jeju. According to legend, three demi-gods emerged from Samsung hyeol is said to have been on the northern slope of Mt. Halla and became the ancestors of Jeju people who founded the Kingdom of Tamna. It has also been stated that the three brothers including Ko-hu who Koulla 15 offspring, one of the ancestors of Jeju people, were received by the court upon which the Tamna Silla officially recognized name, while the official government posts of Commander, Prince and Governor of the given by a court of three. However, there is no concrete evidence of when the "Three Names" (Samseong-Ko, Yang and Pu) appeared nor to the exact date of when Ko-hu and his broth...