Pages

Wednesday, October 3, 2012

LFS



LINUX FROM SCRATCH
WEB SERVER 
Bagian I. Pendahuluan
1.1  LINUX FROM SCRATCH (LFS)           
LFS atau Linux From Scartch adalah membangun kembali kernel linux mulai dari awal. LFS system dibangun dengan menggunakan distribusi linux yang telah ada (seperti Debian, Mandriva, Red Hat, atau SUSE). Linux system ini akan dijadikan starting point untuk menyediakan software-software yag diperlukan dalam membangun LFS system seperti compiler, linker, dan shell.
1.2  Target Arsitektur LFS
Pada pembuatan LFS system ini digunakan arsitektur intel CPU 32 bit karena lebih support dengan linux dan software – softwarenya.

Bagian 2. Linux From Scratch Web Server
            2.1 Package dan Patch
Dalam membangun LFS Web Server kami menggunakan LiveCd LFS. Adapun package dan patch dibagi menjadi 2 bagian yaitu package standart dan package khusus.
Package Standart terdiri dari software-software yang dibutuhkan untuk membangun lfs system sedangkan package khusus terdiri dari software-software khusus untuk membangun sebuah web server.
Package Standart
• Autoconf
This package contains programs for producing shell scripts that can automatically configure source code from a developer's template. It is often needed to rebuild a package after updates to the build procedures.
• Automake
This package contains programs for generating Make files from a template. It is often needed to rebuild a package after updates to the build procedures.
• Bash
This package satisfies an LSB core requirement to provide a Bourne Shell interface to the system. It was chosen over other shell packages because of its common usage and extensive capabilities beyond basic shell functions.
• Binutils
This package contains a linker, an assembler, and other tools for handling object files. The programs in this package are needed to compile most of the packages in an LFS system and beyond.
• Bison
This package contains the GNU version of yacc (Yet Another Compiler Compiler) needed to build several other LFS programs.
• Bzip2
This package contains programs for compressing and decompressing files. It is required to decompress many LFS packages.
• Coreutils
This package contains a number of essential programs for viewing and manipulating files and directories. These programs are needed for command line file management, and are necessary for the installation procedures of every package in LFS.
• DejaGNU
This package contains a framework for testing other programs. It is only installed in the temporary toolchain.
• Diffutils
This package contains programs that show the differences between files or directories. These programs can be used to create patches, and are also used in many packages' build procedures.
• ExpectThis package contains a program for carrying out scripted dialogues with other interactive programs. It is commonly used for testing other packages. It is only installed in the temporary toolchain.


• E2fsprogs
This package contains the utilities for handling the ext2, ext3 and ext4 file systems. These are the most common and thoroughly tested file systems that Linux supports.
• File
This package contains a utility for determining the type of a given file or files. A few packages need it to build.
• Findutils
This package contains programs to find files in a file system. It is used in many packages' build scripts.
• Flex
This package contains a utility for generating programs that recognize patterns in text. It is the GNU version of the lex (lexical analyzer) program. It is required to build several LFS packages.
• Gawk
This package contains programs for manipulating text files. It is the GNU version of awk
(Aho-Weinberg-Kernighan). It is used in many other packages' build scripts.
• Gcc
This package is the Gnu Compiler Collection. It contains the C and C++ compilers as well as several others not built by LFS.
• GDBM
This package contains the GNU Database Manager library. It is used by one other LFS package, Man-DB.
• Gettext
This package contains utilities and libraries for internationalization and localization of numerous packages.
• Glibc
This package contains the main C library. Linux programs would not run without it.
• GMP
This package contains math libraries that provide useful functions for arbitrary precision arithmetic. It is required to build Gcc.
• Grep
This package contains programs for searching through files. These programs are used by most packages' build scripts.

• Groff
This package contains programs for processing and formatting text. One important function of these programs is to format man pages.
• GRUB
This package is the Grand Unified Boot Loader. It is one of several boot loaders available, but is the most flexible.
• Gzip
This package contains programs for compressing and decompressing files. It is needed to decompress many packages in LFS and beyond.
• Iana-etc
This package provides data for network services and protocols. It is needed to enable proper networking capabilities.
• Inetutils
This package contains programs for basic network administration.
• IProute2
This package contains programs for basic and advanced IPv4 and IPv6 networking. It was chosen over the other common network tools package (net-tools) for its IPv6 capabilities.
• Kbd
This package contains key-table files, keyboard utilities for non-US keyboards, and a number of console fonts.
• Less
This package contains a very nice text file viewer that allows scrolling up or down when viewing a file. It is also used by Man-DB for viewing manpages.
• Libtool
This package contains the GNU generic library support script. It wraps the complexity of using shared libraries in a consistent, portable interface. It is needed by the test suites in other LFS packages.
• Linux Kernel
This package is the Operating System. It is the Linux in the GNU/Linux environment.
• M4
This package contains a general text macro processor useful as a build tool for other programs.

• Make
This package contains a program for directing the building of packages. It is required by almost every package in LFS.
• Man-DB
This package contains programs for finding and viewing man pages. It was chosen instead of the man package due to superior internationalization capabilities. It supplies the man program.
• Man-pages
This package contains the actual contents of the basic Linux man pages.
• Module-Init-Tools
This package contains programs needed to administer Linux kernel modules.
• MPC
This package contains functions for the arithmetic of complex numbers. It is required by Gcc.
• MPFR
This package contains functions for multiple precision arithmetic. It is required by Gcc.
• Ncurses
This package contains libraries for terminal-independent handling of character screens. It is often used to provide cursor control for a menuing system. It is needed by a number of packages in LFS.
• Patch
This package contains a program for modifying or creating files by applying a patch file typically created by the diff program. It is needed by the build procedure for several LFS packages.
• Perl
This package is an interpreter for the runtime language PERL. It is needed for the installation and test suites of several LFS packages.
• Pkg-config
This package contains a tool for passing the include path and/or library paths to build tools during the configure and make processes. It is needed by many LFS packages.
• Procps
This package contains programs for monitoring processes. These programs are useful for system administration, and are also used by the LFS Bootscripts.

• Psmisc
This package contains programs for displaying information about running processes. These programs are useful for system administration.
• Readline
This package is a set of libraries that offers command-line editing and history capabilities. It is used by Bash.
• Sed
This package allows editing of text without opening it in a text editor. It is also needed by most LFS packages' configure scripts.
• Shadow
This package contains programs for handling passwords in a secure way.
• Sysklogd
This package contains programs for logging system messages, such as those given by the kernel or daemon processes when unusual events occur.
• Sysvinit
This package provides the init program, which is the parent of all other processes on the Linux system.
• Tar
This package provides archiving and extraction capabilities of virtually all packages used in LFS.
• Tcl
This package contains the Tool Command Language used in many test suites in LFS packages. It is only installed in the temporary toolchain.
• Texinfo
This package contains programs for reading, writing, and converting info pages. It is used in the installation procedures of many LFS packages.
• Udev
This package contains programs for dynamic creation of device nodes. It is an alternative to creating thousands of static devices in the /dev directory.
• Util-linux
This package contains miscellaneous utility programs. Among them are utilities for handling file systems, consoles, partitions, and messages.


• Vim
This package contains an editor. It was chosen because of its compatibility with the classic vi editor and its huge number of powerful capabilities. An editor is a very personal choice for many users and any other editor could be substituted if desired.
• XZ Utils
This package contains programs for compressing and decompressing files. It provides the highest compression generally available and the useful for decompressing packages XZ or LZMA format.
• Zlib
This package contains compression and decompression routines used by some programs.
                        Sumber : Gerard Beeckmans. Linux From ScratchVersion 6.6
                           


API (APPLICATION PROGRAMMING INTERFACE)


A.   Pengertian API (Aplication Programing Interface)

            API adalah Kumpulan fungsi-fungsi atau perintah-perintah untuk menggantikan bahasa yang digunakan dalam system call dengan bahasa yang lebih terstruktur dan mudah dimengerti.

Keuntungan memprogram dengan menggunakan API adalah:
1.  Portabilitas. Programmer yang menggunakan API dapat menjalankan programnya dalam sistem operasi mana saja asalkan sudah ter- install API tersebut. Sedangkan system call  berbeda antar sistem operasi, dengan catatan dalam implementasinya mungkin saja berbeda.

2.   Lebih Mudah Dimengerti. API menggunakan bahasa yang lebih terstruktur dan mudah dimengerti daripada bahasa system call. Hal ini sangat penting dalam hal editing dan pengembangan.

   B.   Youtube API

Youtube merupakan salah satu perusahan Web besar yang menyedikan layanan video streaming. Mulai dari video musik, triler, movie, olahraga dan lebih banyak lagi bahkan tutorial pun ada. Dengan mengakases www.youtube.com user sudah dapat menonton video yang mereka inginkan. Selain itu youtube pun menyediakan layanan upload video. Dimana user dapat mengupload video mereka kedalam situs sehingga dapat di tonton oleh para pengunjung yang lain. Disisi lain youtube pun menyediakan API, sehingga video di youtube dapat diintegrasikan di site yang lain. Dengan adanya API ini user tidak perlu lagi membuka situs youtube
 YouTube API adalah kumpulan fungsi-fungsi yang disediakan oleh pengembang Youtube sehingga memungkinkan konten-konten video YouTube dan fungsionalitasnya dapat di integrasikan ke situs web, aplikasi perangkat lunak, atau perangkat lainnya.   Data API memungkinkan kita menggunakan fingsionalitas yang umum ada di website YouTube. Player API memungkinkan kita mengontrol youtube player menggunakan javascript atau actionscript. Untuk pemula dalam hal programming, Youtube menyediakan basic embedded player yang telah menyediakan player control, pengguna hanya perlu menanamkan (embeded) saja di web atau aplikasinya. Untuk yang lebih advance Youtube menyediakan chromeless player, dimana pengguna dapat membuat player controlnya sendiri.

1.    Player API

Player API menyediakan layanan dimana user atau programmer dapat mengontrol video Youtube, mulai dari tampilan sampai bagaimana video tersebut ingin ditampilkan di sitenya. Ada 2 macam player di youtube: Embeded player yang umum digunakan di web-web yang ada yang sudah lengkap dengan control-controlnya. Yang kedua yaitu chromeless player yang hanya menyediakan box untuk video tanpa control. Keduanya menggunakan API yang sama berbasis javascript dan actionscript

1.1.        Embedded Player

Embeded player adalah player yang paling sederhana di youtube  dimana pengguna hanya perlu menanamkan player yang telah disediakan oleh youtube di sitenya, lengkap beserta control-controlnya. Player ini direkomendasikan untuk yang pertama kali menggunakan API youtube karena lebih sederhana. Karena kesederhanaannya, player ini banyak digunakan di website-website.

1.2.        Chromeless Player

Chromeless player disediakan bagi para programmer yang sudah advance. Player ini hanya menyediakan box video saja tanpa control. Dengan begitu programmer atau user dapat menetukan sendiri controlnya ingin seperti apa.

2.    Data Api

Data API memungkinkan sebuah program dapat memiliki banyak operasi seperti yang ada di website Youtube itu sendiri. Contohnya seperti mencari video, melihat content yang berkaitan. Selain itu, dengan data API sebuah program dapat mengautentikasi user sehingga dapat mengupload video dan menggunakan fitur-fitur user lainnya

     C.   Manfaat dan Pengaruh API Youtube

a. Flexible: Pengguna tidak harus mengakses website youtube secara langsung bahkan pengguna dapat mengaksesnya lewat aplikasi mobile, 

b. Lahan bisnis baru: Dengan adanya API Youtube, banyak para pengembang software berlomba-lomba dalam membangun aplikasi yang langsung terintegrasi dengan youtube, khususnya mobile application. Mulai dari aplikasi yang gratisan sampai berbayar. Berlaku pula bagi para pengembang perangkat mobile berlomba-lomba dalam fitur mobile mereka.

c.     Bagi Perusahan Youtube sendiri, API youtube ini memberikan keuntungan sehingga situs Youtube semakin terkenal dan banyak di akses oleh masyarakat dunia karena tidak hanya dapat dilihat lewat web youtube saja, melainkan bisa lewat situs-situs lain dan aplikasi-aplikasi yang telah terintegrasi langsung dengan youtube.

CLOUD COMPUTING

Pengertian

Cloud computing adalah Pengoperasian komputer dimana service service yang diberikan kepada pengguna harus menggunakan jaringan (biasanya berupa internet) untuk mengaksesnya. Cloud sendiri metafora dari internet.




  A.    Layer – layer pada cloud computing

1.    Aplication
Aplikasi-aplikasi yang dipakai sebagai service disebut juga SaaS (Software as a Service)
2.      Platform
Tempat aplikasi berdiri, disini disimpan berbagai resource untuk menjalankan atau membuat aplikasi. Disebut juga PaaS (Platform as a service)
3.      Infrastrukture
IaaS (Infrastrukture as a Service) layanan berupa infrastuktur
Disebagian sumber lain untuk layer pada cloud computing ada 5 yaitu Client, Aplication, Platform, infrastruktur dan server.

       B.      Jenis-jenis Cloud Computing
1.      Private
Cloud yang hanya bisa diakses oleh orang-orang tertentu, kelompok atau sebuah perusahaan tertentu saja.
2.      Public
Cloud yang bisa diakses oleh siapa saja selama user tersebut terhubung kedalam jaringan internet
3.      Hibryd
Gabungan penggunaan dari private cloud dan public.

       C.      Layanan Cloud Computing
1.      Software as a Service (SaaS)
2.      Platform as a Service (PaaS)
3.      Infrastucture as a Service (IaaS)

        D.     Server Virtualization
Server Virtualization adalah mempartisi sebuah /sejumlah kecil server menjadi beberapa server yang mana server-server virtualisasi tersebut memiliki kemampuan yang mirip dengan server inti.


Saturday, April 23, 2011

Satelite

Sejarah Satelit

Satelit buatan manusia pertama adalah Sputnik 1, diluncurkan oleh Soviet pada tanggal 4 Oktober 1957, dan memulai Program Sputnik Rusia, dengan Sergei Korolev sebagai kepala disain dan Kerim Kerimov sebagai asistentnya. Peluncuran ini memicu lomba ruang angkasa (space race) antara Soviet dan Amerika.

Sputnik 1 membantuk mengidentifikasi kepadatan lapisan atas atmosfer dengan jalan mengukur perubahan orbitnya dan memberikan data dari distribusi signal radio pada lapisan ionosphere. Karena badan satelit ini diisi dengan nitrogen bertekanan tinggi, Sputnik 1 juga memberi kesempatan pertama dalam pendeteksian meteorit, karena hilangnya tekanan dalam disebabkan oleh penetrasi meteroid bisa dilihat melalui data suhu yang dikirimkannya ke bumi.

Monday, April 18, 2011

Pendahuluan Keamanan Jaringan

# 3 Konsep dasar keamanan jaringan
1. Risk (Resiko atau tingkat bahaya)
2. Threat (Ancaman)
3. Vulnerability (Kerapuhan Syatem)

# 3 elemen dasar keamanan jaringan
1. Network security
2. Application security
3. Computer security
Untuk lebih mudah, bisA disingkat CAN

# Kompleksitas keamanan jaringan
1. Sharing Resource
2. Keragaman System
3. Batasan yang tidak jelas
4. Banyak titik rawan
5. Anonymity
6. Jalur yang ditempuh tidak diketahui

# Aspek Keamanan jaringan CIA
1. Confidentiality/ privacy
2. Integrity
3. Aviability

Dan 4 aspek tambahan
1. Non-repudiation
2. Authentication
3. Access control
4. Accountability

Monday, April 4, 2011

KRIPTOGRAFI

Kriptografi berasal dari bahasa yunani: "Cryptos" artinya "secret", sedangkan "graphein" artinya "writing". Jadi kriptografi adalah "secret-writing". Ada beberapa definisi dari kriptografi, salah satunya definisi lama tentang kriptografi adalah ilmu dan seni menyembunyikan pesan dengan cara menyandikannya kedalam bentuk tulisan yang tidak dimengerti lagi. Akan tetapi. pada saat ini kriptografi adalah ilmu yang mempelajari teknik-teknik keamanan informasi -Privacy- dengan tujuan confidentiality, data integrity, authentication, non-repudiation. kriptografi biasanya berdasarkan pada matematika.