Difference between revisions of "Linux: CLI untuk Survival"
Jump to navigation
Jump to search
Onnowpurbo (talk | contribs) |
Onnowpurbo (talk | contribs) |
||
(5 intermediate revisions by the same user not shown) | |||
Line 18: | Line 18: | ||
* '''less namafile''' - melihat isi file di bagian akhir-nya saja. | * '''less namafile''' - melihat isi file di bagian akhir-nya saja. | ||
+ | |||
+ | * '''nano namafile''' - mengedit file namafile. | ||
==bekerja dengan repository== | ==bekerja dengan repository== | ||
Line 24: | Line 26: | ||
* '''apt-get install namaaplikasi''' - menginstalasi sebuah aplikasi | * '''apt-get install namaaplikasi''' - menginstalasi sebuah aplikasi | ||
− | |||
==beberapa folder / file penting== | ==beberapa folder / file penting== | ||
Line 31: | Line 32: | ||
* '''/etc/apt/sources.list''' - file tempat informasi repository yang akan digunakan. | * '''/etc/apt/sources.list''' - file tempat informasi repository yang akan digunakan. | ||
+ | |||
+ | ===Mempelajari CLI=== | ||
+ | |||
+ | Ada baiknya lihat (menggunakan ls) folder | ||
+ | |||
+ | ls /bin | ||
+ | ls /sbin | ||
+ | ls /usr/bin | ||
+ | ls /usr/sbin | ||
+ | |||
+ | untuk mengetahui fungsi masing-masing perintah, ketik, misalnya | ||
+ | |||
+ | perintahcli -h | ||
+ | perintahcli --help | ||
+ | man perintahcli | ||
+ | |||
+ | contoh | ||
+ | |||
+ | ps -h | ||
+ | ps --help | ||
+ | man ps | ||
+ | |||
+ | |||
+ | ==Aplikasi untuk Kuliah Sistem Operasi== | ||
+ | |||
+ | * '''dd''' | ||
+ | |||
+ | * '''fdisk''' | ||
+ | |||
+ | * '''mkfs''' | ||
+ | |||
==Pranala Menarik== | ==Pranala Menarik== | ||
Line 36: | Line 68: | ||
* [[Linux]] | * [[Linux]] | ||
* [[Ubuntu]] | * [[Ubuntu]] | ||
+ | * [[Buku Sistem Operasi]] | ||
+ | |||
+ | ===Secara Umum=== | ||
+ | |||
+ | * [[Sistem Operasi]] | ||
+ | |||
+ | ===Instalasi Linux=== | ||
+ | |||
* [[Linux: CLI untuk Survival]] | * [[Linux: CLI untuk Survival]] | ||
− | * [[ | + | * [[Linux: Skema Partisi di Linux]] |
* [[Linux: Instalasi Sistem Operasi]] | * [[Linux: Instalasi Sistem Operasi]] | ||
− | * [[ | + | * [[Membuat Repository Ubuntu Lokal menggunakan debmirror]] |
+ | |||
+ | ===Compile Kernel=== | ||
+ | |||
* [[Kernel]] | * [[Kernel]] | ||
+ | * [[OS: Linux Kernel]] | ||
+ | * [[Kernel: Anatomi Kernel Source]] | ||
* [[Compile Kernel]] | * [[Compile Kernel]] | ||
* [[Compile Kernel: Konfigurasi Kernel]] | * [[Compile Kernel: Konfigurasi Kernel]] | ||
− | * [[ | + | |
− | * [[ | + | ===Remaster Linux=== |
+ | |||
+ | * [[Cara Cepat Melakukan Remastering Ubuntu]] | ||
+ | |||
+ | ===Sistem Operasi untuk Embedded=== | ||
+ | |||
+ | * [[OpenWRT]] | ||
+ | * [[OpenWRT: Download Firmware yang sudah jadi]] | ||
+ | * [[OpenWRT: Source Repository Download]] | ||
+ | * [[OpenWRT: Melihat Daftar Package]] | ||
+ | |||
+ | ====Membuat Firmware Sendiri==== | ||
+ | |||
+ | * [[OpenWRT: Build Firmware]] | ||
+ | * [[OpenWRT: Build Firmware Buffalo WZRHPG450H]] | ||
+ | * [[OpenWRT: Build Firmware Buffalo WZRHPG300N]] | ||
+ | * [[OpenWRT: Build Firmware Ubiquiti NanoStation2]] | ||
+ | * [[OpenWRT: Build Firmware Mikrotik RB433]] | ||
+ | * [[OpenWRT: Build Firmware Linksys WRT160NL]] | ||
+ | * [[OpenWRT: Build Firmware Linksys WRT54GL]] | ||
+ | |||
+ | ====Flash ke Device==== | ||
+ | |||
+ | * [[OpenWRT: Flash Linksys WRT54GL]] | ||
+ | * [[OpenWRT: Flash Buffalo WZRHP450H]] | ||
+ | * [[OpenWRT: Flash Buffalo WZRHP300N]] | ||
+ | * [[OpenWRT: Flash UBNT NanoStation2]] | ||
+ | * [[OpenWRT: Flash Linksys WRT160NL]] | ||
+ | |||
+ | ====Beberapa Tip==== | ||
+ | |||
+ | * [[OpenWRT: Mikrotik RB433]] | ||
+ | * [[OpenWRT: 3G modem]] | ||
+ | * [[OpenWRT: Build Firmware dengan 3G Modem Support]] | ||
+ | * [[OpenWRT: Setup Firewall]] | ||
+ | * [[OpenWRT: Konfigurasi UBNT NanoStation2 tanpa WebGUI]] | ||
+ | |||
+ | ===Tuning Kernel=== | ||
+ | |||
* [[OS: Parameter Kernel Default]] | * [[OS: Parameter Kernel Default]] | ||
+ | |||
+ | ====Tuning Kernel Scheduler==== | ||
+ | |||
* [[OS: Kernel Scheduler]] | * [[OS: Kernel Scheduler]] | ||
+ | * [[OS: Tuning Kernel Scheduler]] | ||
+ | * [[OS: Tuning Completely Fair scheduler CFS]] | ||
* [[OS: Complete Teori Tuning Kernel Scheduler]] | * [[OS: Complete Teori Tuning Kernel Scheduler]] | ||
+ | |||
+ | ====Tuning I/O Scheduler==== | ||
+ | |||
+ | * [[OS: Tuning Completely Fair Queueing CFQ I/O scheduler]] | ||
* [[OS: Complete Teori Tuning I/O Performance]] | * [[OS: Complete Teori Tuning I/O Performance]] | ||
+ | |||
+ | ====Tuning Manajemen Memory==== | ||
+ | |||
* [[OS: Tuning Manajemen Memory]] | * [[OS: Tuning Manajemen Memory]] | ||
− | * [[OS: | + | |
− | * [[OS: | + | ===Android=== |
− | * [[OS: | + | |
+ | * [[OS: Android - Download]] | ||
+ | |||
+ | ===Membuat Kernel Module=== | ||
+ | |||
+ | * [[OS: Mengerti System Call]] | ||
+ | * [[OS: Membuat Kernel Modul]] | ||
+ | |||
+ | ===Monitoring & Benchmark=== | ||
+ | |||
* [[OS: Build in Monitoring Tool]] | * [[OS: Build in Monitoring Tool]] | ||
* [[Linux Benchmarking]] | * [[Linux Benchmarking]] | ||
* [[OS: Benchmarking menggunakan UnixBench]] | * [[OS: Benchmarking menggunakan UnixBench]] | ||
* [[OS: Benchmarking menggunakan LLCBench]] | * [[OS: Benchmarking menggunakan LLCBench]] | ||
− | |||
− | |||
− |
Latest revision as of 04:58, 9 February 2014
Beberapa perintah Command Line Interface (CLI) yang mungkin akan dibutuhkan untuk bisa survive dalam mengoperasikan Linux CLI.
super user
- sudo su - perintah untuk menjadi superuser. Ini banyak di perlukan kalau kita ingin melakukan hal-hal yang hanya bisa dilakukan oleh administrator mesin.
- cat namafile - perintah yang sering digunakan untuk melihat parameter kernel, misalnya "cat /proc/cpuinfo"
perintah di file sistem
- ls - melihat isi directory / folder
- cd /nama/directory/ - pindah ke folder /nama/directory
- cp file1 file2 - copy file1 ke file2
- more namafile - melihat isi file
- less namafile - melihat isi file di bagian akhir-nya saja.
- nano namafile - mengedit file namafile.
bekerja dengan repository
- apt-get update - update "catalog" repository.
- apt-get install namaaplikasi - menginstalasi sebuah aplikasi
beberapa folder / file penting
- /etc - lokasi file konfigurasi linux.
- /etc/apt/sources.list - file tempat informasi repository yang akan digunakan.
Mempelajari CLI
Ada baiknya lihat (menggunakan ls) folder
ls /bin ls /sbin ls /usr/bin ls /usr/sbin
untuk mengetahui fungsi masing-masing perintah, ketik, misalnya
perintahcli -h perintahcli --help man perintahcli
contoh
ps -h ps --help man ps
Aplikasi untuk Kuliah Sistem Operasi
- dd
- fdisk
- mkfs
Pranala Menarik
Secara Umum
Instalasi Linux
- Linux: CLI untuk Survival
- Linux: Skema Partisi di Linux
- Linux: Instalasi Sistem Operasi
- Membuat Repository Ubuntu Lokal menggunakan debmirror
Compile Kernel
- Kernel
- OS: Linux Kernel
- Kernel: Anatomi Kernel Source
- Compile Kernel
- Compile Kernel: Konfigurasi Kernel
Remaster Linux
Sistem Operasi untuk Embedded
- OpenWRT
- OpenWRT: Download Firmware yang sudah jadi
- OpenWRT: Source Repository Download
- OpenWRT: Melihat Daftar Package
Membuat Firmware Sendiri
- OpenWRT: Build Firmware
- OpenWRT: Build Firmware Buffalo WZRHPG450H
- OpenWRT: Build Firmware Buffalo WZRHPG300N
- OpenWRT: Build Firmware Ubiquiti NanoStation2
- OpenWRT: Build Firmware Mikrotik RB433
- OpenWRT: Build Firmware Linksys WRT160NL
- OpenWRT: Build Firmware Linksys WRT54GL
Flash ke Device
- OpenWRT: Flash Linksys WRT54GL
- OpenWRT: Flash Buffalo WZRHP450H
- OpenWRT: Flash Buffalo WZRHP300N
- OpenWRT: Flash UBNT NanoStation2
- OpenWRT: Flash Linksys WRT160NL
Beberapa Tip
- OpenWRT: Mikrotik RB433
- OpenWRT: 3G modem
- OpenWRT: Build Firmware dengan 3G Modem Support
- OpenWRT: Setup Firewall
- OpenWRT: Konfigurasi UBNT NanoStation2 tanpa WebGUI
Tuning Kernel
Tuning Kernel Scheduler
- OS: Kernel Scheduler
- OS: Tuning Kernel Scheduler
- OS: Tuning Completely Fair scheduler CFS
- OS: Complete Teori Tuning Kernel Scheduler