Linux Installation Procedures

You might also like

Download as ppt, pdf, or txt
Download as ppt, pdf, or txt
You are on page 1of 33

Chapter 9 Linux Installation Procedures

9.1 Pre-Installation Tasks 9.2 Installing and Configuring Linux 9.3 X Server 9.4 Post Installation Configuration and Tasks

Pre-Installation Tasks

The Boot Method


Choices are a floppy disk, hard drive, CD-ROM, a network drive that has the files stored on a server, or a high capacity removable drive like a Jaz or Zip drive. Another way to begin the installation process is by using the existing OS bootstrap method.

Installation Media
The easiest and quickest way to do an installation is with the installation CD. Currently every distribution of Linux comes on CD. Linux may also be installed from a Network connection and is recommended if there is a fast network connection. Linux can be installed from files that are located on a different partition, even if this partition has a different OS running in it. This is known as installing from a hard disk.

Selecting the Appropriate Parameters for Installation


One of the first options to be displayed will be the choice of what language is to be used. A window will be displayed to choose the type of mouse and keyboard that is attached to the computer if is not auto detected. Features like the number of buttons the mouse has and if it has a wheel or not can be selected.

Creating the Linux file system


Linux creates the file system, it is formatting the hard drive. This is the process in which the ext2, ext3, or Reiser file system will be written to the partition. One option that is included with most distributions of Linux when formatting is the option to perform a bad block check. There are two types of formatting that may be done,Low-Level and High-Level format. fdformat command will perform a low-level format and the mkfs command will perform a highlevel format.

Selecting Packages to Install


There are many packages to choose from, depending on which distribution is being installed. Keep in mind that here is the amount of disk space that is available to work with. Installing all of these packages will consume disk space.

Linux Multimedia
Most new sound cards have at least basic support in Linux. Video is generally the last mile in Linux multimedia. Full motion video utilities can display hardware accelerated output through the X-Video (Xv) extensions available in XFree86 4.X.

Installing and Configuring Linux

Linux Hardware Requirements


Linux can be installed on all Pentium class processors. There are still systems running on 80386 and 80486 processors, however, this is not recommended. A floppy disk or a CD-ROM and a hard drive with at least 900MB of free disk space will be required. The minimum requirement for RAM is 16 MB, but 64 MB of RAM minimum is preferred.

Starting the Installation


The installation will start once the CD is inserted and the BIOS is configured to boot from the CD.
Select the settings for the system Choose the type of installation, server, or workstation Partition the hard drive Configure network settings and the time zone

For a server installation the next step is to install the operating system. If the workstation installation is selected, the installer will be prompted to first configure the X-Windows Environment before the installation will begin.

Configuring Appropriate Security Settings


During the installation process there will be a prompt to create the root password, and then an option to create user accounts that are to be added to the system. If there is only one user, (the administrator), a separate user account should also be created. Security issues may arise if only the root account is used.

Configuring Appropriate Security Settings


The Root account in Linux is also known as the superuser or system administrator account. This account is mandatory, during installation the user will be prompted to enter the password twice to protect against typing errors. There are advantages and disadvantages in creating user accounts during the installation. Understanding these will help any administrator determine which is best based on the security implementations that have been planned.

Configuring Network Settings


When selecting the option to configure network setting during the installation process, the first choice that will need to be made is, to have the system auto-detect what type of network connection is being used. A prompt to configure the network settings (IP address, subnet mask, host name, DNS server, and default gateway) appears. If the system is connected to a DHCP server it will provide the information automatically

Other Configurations and Settings


A screen will appear that will allow the selection of which time zone the system is located. Scroll through the different time zones and select the one that fits the location. There are two printing systems that Mandrake provides, Common UNIX Printing System (CUPS) or the lpr printing system. The installation program will install additional packages from the CD after selecting the printing system.

Other Configurations and Settings


Linux systems will have different services running on them. If the system is going to be a workstation, Web server, or mail server the appropriate services will need to be installed on the system. Select and configure the system to use the proper boot loader Linux uses one of two programs:
Linux Loader (LILO) or Grand Unified Bootloader (GRUB)

The system will summarize the boot loader options.

X Server

Video Card Chipset


Ini bisa sulit untuk menemukan apa chipset kartu video memiliki, kecuali kartu baru sedang dipasang. Ada cara untuk mendapatkan informasi ini: sistem akan secara otomatis mendeteksi kartu video jalankan tool konfigurasi X setelah instalasi baca dokumentasi produk ambil kartu video dari komputer dan memeriksanya

X Server Options
XFree86 adalah X server bebas yang datang dengan setiap distribusi utama yang mendukung antarmuka GUI. Kebanyakan distribusi Linux yang dikirim setelah tahun 2001 datang dengan versi 4.0.x XFree86. Dengan semakin populernya Linux, banyak manufaktur telah membuat driver yang tersedia yang akan didukung oleh XFree86. Periksa situs web produsen untuk driver yang sesuai.

Configuring X Server
Konfigurasi X server akan dilakukan secara berbeda tergantung di mana versi server X telah terinstal. Nama dari file untuk versi 4 dari XFree86 adalah XF86Config-4. Nama-nama file konfigurasi untuk versi 3 akan berbeda dari versi 4. Untuk pihak ketiga komersial X server, mereka akan memiliki file konfigurasi sendiri.

Configuring X Server
Seperti dengan konfigurasi Linux yang paling ada dua cara untuk mengkonfigurasi X server. 1 adalah dengan menggunakan alat konfigurasi grafis, maka sistem operasi secara otomatis menulis perubahan ke file teks XF86Config. File XF86Config adalah file teks yang dapat diedit secara manual. Hal ini memerlukan menggunakan editor teks untuk membuka file dan manual membuat perubahan. Kecuali pengguna berpengalaman dengan menggunakan editor teks, ini bukan cara yang direkomendasikan. Metode ini biasanya digunakan untuk menyesuaikan konfigurasi bekerja untuk mendapatkan kinerja yang lebih baik dan tidak untuk awalnya mengkonfigurasi X server.

Configuring X Server
Ada alat konfigurasi tiga yang digunakan dengan XFree86 3.3.x:

1.Xf86config: - Ini beroperasi sepenuhnya dalam mode teks 2.Xconfigurator: - Alat ini dapat digunakan baik dalam mode teks atau mode GUI 3.XF86Setup: - Alat ini hanya dapat digunakan dalam modus GUI

Hardware Configurations
Beberapa perangkat keras utama yang perlu dikonfigurasi dengan server X keyboard, mouse, monitor, dan kartu video. Jika salah satu dari perangkat ini tidak dikonfigurasi dengan benar server X tidak akan beroperasi pada kinerja yang optimal atau tidak dapat bekerja sama sekali.

Post-Instalasi Konfigurasi dan Tugas

Post-Installation of Applications and Programs


jika menggunakan Linux Red Hat 7.x-, file linuxconf tidak ditambahkan ke sistem secara default. File ini dapat ditambahkan setelah instalasi selesai dengan loading. Ada tiga jenis manajer paket yang administrator Linux perlu tahu. Package Manager Red Hat (RPM), Paket Debian, dan Tarball digunakan untuk menginstal dan menghapus aplikasi dan program di sistem Linux setelah proses instalasi telah selesai.

Post-Installation of Applications and Programs


RPM adalah jenis yang paling populer dari paket. Ini menyediakan alat yang diperlukan seperti database paket yang dibutuhkan untuk menginstal dan menghapus program, bagaimanapun, tidak semua aplikasi atau program menggunakan RPM. Perbedaan antara Debian dan paket RPM adalah bahwa mereka tidak dapat dipertukarkan. Debian berisi database paket yang memiliki fitur yang sama sebagai database RPM, bagaimanapun, Debian database disimpan di / var / lib / direktori dpkg. Tarball yang jauh jenis yang paling banyak didukung dari paket yang tersedia dengan Linux. Setiap distribusi dapat menggunakan tarball untuk menginstal atau menghapus aplikasi dan program. Namun, tarball tidak semaju RPM atau paket Debian.

Creating Achieves and Basic makefile changes


Makefile-makefile digunakan untuk kompilasi program dan paket. Aturan eksplisit - aturan eksplisit memberitahu membuat file mana yang tergantung pada kompilasi file lainnya, dan perintah yang diperlukan untuk mengkompilasi file tertentu. Aturan implisit - Implicit aturan seperti aturan eksplisit, kecuali tercantum tanpa perintah. GZIP-Jika nama arsip berakhir dengan. Z, itu dikompresi dengan program kompres. Cpio-copy file ke dalam atau keluar dari cpio atau arsip tar. Ketika menambahkan file cpio jarang untuk arsip, ia menyimpan sebagai file nonjarang tetapi juga menyimpan atribut jarang. Ketika sebuah file dengan atribut jarang diekstraksi pada sistem file NTFS (yang mendukung file yang jarang), file tersebut diekstrak sebagai file jarang.

Installing and Reconfiguring the Boot Loader


Hal pertama tentang mengkonfigurasi bootloader LILO adalah untuk mengetahui file lilo.conf. Setiap baris dalam file ini berisi informasi tentang bagaimana sistem di-boot. Ini mendefinisikan yang partisi untuk boot dari, yang merupakan default OS untuk boot jika ada lebih dari satu, dan berapa lama layar LILO akan menunda saat booting up.

Installing and Reconfiguring the Boot Loader


Ada dua hal yang perlu dipertimbangkan saat menambahkan atau menginstal sistem operasi lain. 1. Ini adalah ide yang baik untuk menggunakan LILO karena LILO dapat digunakan untuk boot sistem operasi lain.
2. Pertimbangkan jika OS lain Linux atau OS lain seperti Windows yang akan ditambahkan.

Konfigurasi LILO untuk OS kedua tidak sulit. Instalasi Boot Loa Baru mudah dilakukan bila menggunakan boot loader LILO dan menggantinya dengan yang lain seperti GRUB boot loader.

Kernel Issues
Kernel sistem operasi menyediakan fungsi seperti manajemen memori, driver hardware tingkat rendah (termasuk driver X video dan driver printer), penjadwalan ketika proses tertentu mendapatkan akses ke CPU, memungkinkan program untuk mengakses jaringan, dan akses kontrol untuk sistem file pada hard drive.An administrator must make sure that the kernel version is
up-to-date.

Sebuah versi Linux Kernel khas mungkin terlihat seperti Linux 2.4.3.
- Nomor 2 menunjukkan jika versi adalah versi stabil atau eksperimental - Nomor 3 mewakili setiap perbaikan kecil atau minor biasanya dilakukan untuk versi kernel yang sudah stabil

- Nomor 1 adalah nomor utama

Environment Variables
Variabel Lingkungan dalam sistem Linux berisi informasi seperti direktori home user, ruang disk, nama host, nama shell saat ini, atau sumber daya yang tersedia pada sistem. Ada berbagai jenis variabel lingkungan yang dapat diatur untuk sistem Linux. Untuk melihat daftar, ketik perintah env pada prompt.

Verifying Proper Application Functioning and Performance


Tahap akhir dari proses instalasi terdiri dari pengujian dan memverifikasi bahwa program, aplikasi, dan sistem operasi dalam berfungsi dengan baik.Install the operating system first in a test network. Kemudian instal semua program dan aplikasi ke sistem dan memverifikasi segala sesuatu yang akan bekerja dengan baik. Pengujian dan evaluasi perangkat lunak baru pada sistem pengujian membantu mengurangi masalah. Untuk mengatur lingkungan pengujian yang tepat, menciptakan sedekat mungkin sistem yang ada atau sistem.

Verifying Proper Application Functioning and Performance


Instal perangkat lunak dalam sistem produksi setelah semuanya telah diuji. Backup semua pada sistem tujuan pertama dalam hal bahwa sesuatu yang tidak beres. Menetapkan tolok ukur kinerja sebelum upgrade. Ini dapat dibandingkan setelah upgrade selesai untuk menguji apakah sistem dapat secara efektif menangani perangkat lunak baru. Sistem produksi akan kemungkinan besar perlu diambil offline untuk melakukan upgrade atau instalasi. Menjaga sistem tes yang tersedia untuk sementara menggantikan sistem produksi saat itu sedang ditingkatkan. Beritahu pengguna pekerjaan yang dilakukan sehingga mereka sadar dan dapat mempersiapkan diri untuk downtime server di muka.

You might also like