05/09/2002
Introduction and Installation
GNU/Linux
Presented by
Aphirak Jansang
1
05/09/2002
Outline
Introduction to GNU/Linux
Install GNU/Linux Slackware
2
05/09/2002
What is GNU?
GNU is
project in Free Software Foundation (FSF)
http://www.gnu.org/fsf/fsf.html
Organization that maintain and collect
many free software
Ex. bash, gcc, make and etc...
GNU stand for Gnu ‘s Not Unix
http://www.gnu.org
Initiated by Richard Stallman since 1984
3
05/09/2002
What is Linux?
Linux is
Linux - LInux ‘s Not UniX
name of core kernel of GNU/Linux
Initiated development by Linus Trovals since 1991
Based on GPL (GNU Public Licensed)
http://developer.thai.net/gpl/ (Thai)
http://www.gnu.org/copyleft/gpl.html#SEC1 (English)
4
05/09/2002
Linux Kernel Release Number
Release Number a.b.c
a - means major release
b - if b is odd means development release
if b is event means stable release
c - minor number ( patch number of major release )
Linux Kernel maintainer
Release 2.0.x - ??? ( Outdate now )
Release 2.2.x - Alan Cox
Release 2.4.x - Marcelo Tosatti ( Current Stable )
Release 2.5.x - Linus Trovals ( Current Development )
5
05/09/2002
What is GNU/Linux?
GNU/Linux is
Operating System that compose with
LINUX – Core Kernel
GNU Software– Free software
GNU/Linux is free.
You can redistribute and modify
GNU/Linux while you don’t break GPL.
6
05/09/2002
GNU/Linux Distribution
GNU/Linux Distribution is
Collection of setup suite, binary software
and Linux kernel.
Example of GNU/Linux Distributions
TLE, SIS, Redhat, Mandrake, Slackware
Setup suite interface
Text – Slackware, Debian, …
Graphic – TLE, SIS, Redhat, Mandrake, …
7
05/09/2002
GNU/Linux Slackware
Currently stable version of Slackware is
8.1
Running on i386 compatible only
Currently based around the 2.4 Linux
kernel series
Running Mode: Text or Graphic
Text based installation interface
8
05/09/2002
System Requirement
1 Slackware 8.1 CD
2 Installation Disk Set
( if Slackware CD can not boot )
3 Free space of harddisk about 3 GByte
for full installation
4 Minimum RAM 32 Mbyte
9
05/09/2002
Basic Installation Step
1 Prepare Installation Floppy disk set
( if your Slackware CD is not bootable )
2 Boot system from floppy disk or
Slackware CD
3 Create Linux partition
4 Use setup program for install Linux
5 Restart
10
05/09/2002
1. Create Slackware
Installation Floppy Disk Sets
11
05/09/2002
Create Slackware Installation
Floppy Disk Sets
Step1 Download all boot/root floppy disk from
ftp://ftp.slackware.com/pub/slackware/slackware-8.1/bootdisks/
ftp://ftp.slackware.com/pub/slackware/slackware-8.1/rootdisks/
12
05/09/2002
Create Slackware Installation
Floppy Disk Sets
Step2 use rawrite.exe program from
bootdisks directory to create boot/root floppy
disks from following files
bootdisks/bare.i
rootdisks/install.1
rootdisks/install.2
rootdisks/install.3
rootdisks/install.4
rootdisks/install.5
13
05/09/2002
Create Slackware Installation
Floppy Disk Sets
Example Using rawrite.exe to create floppy
from bare.i
1. Image file
2. Destination Floppy Drive
3. Press Enter
14
05/09/2002
2. Boot system from floppy disk
Or Slackware CD
15
05/09/2002
Boot system from floppy disk
or Slackware CD
Step3 Restart the machine and set the
bios for booting from floppy disk (bare.i
floppy disk) or Slackware CD
16
05/09/2002
3. Create Linux Partition
17
05/09/2002
Create Linux Partition
Harddisk Symbolic in Linux
For IDE Harddisk
hda means ide-primary-master
hdb means ide-primary-slave
hdc means ide-secondary-master
hdd mean ide-secondary-slave
For SCSI Harddisk
sda means SCSI on LUN0
sdb means SCSI on LUN1
18
05/09/2002
Create Linux Partition
HowTo call “cfdisk”
1 Decided what harddisk will be use ( hda,
hdb, hdc or hdd)
2 Use cfdisk command follow by /dev/hd?
Example if we would like to install linux in
primary master
cfdisk /dev/hda
19
05/09/2002
Create Linux Partition
cfdisk interface
20
05/09/2002
Create Linux Partition
What partition have to be created
/ size 2.5 Gbyte partition type “linux”
swap size 0.5 Gbyte partition type “linux swap”
21
05/09/2002
4. Use setup program for install
Linux
22
05/09/2002
Setup program for install Linux
Call setup program by use “setup” after
quit from “cfdisk” program
1. Select ADDSWAP – Enter OK
23
05/09/2002
Setup program for install Linux
After select ADDSWAP. System will detect and
ask for install linux swap partition.
2. Enter Yes
24
05/09/2002
Setup program for install Linux
Successful result from install linux swap
partition.
3. Enter Exit
25
05/09/2002
Setup program for install Linux
Choose Yes for continue install Linux.
4. Choose Yes
26
05/09/2002
Setup program for install Linux
Select target partition for install Linux
5. Select partition to be / and Enter Select
27
05/09/2002
Setup program for install Linux
System ask for
Format
Format with check
no format target partition.
28
6. Select Format and Enter OK
05/09/2002
Setup program for install Linux
System ask for type of Linux partition
Ext3
Reiserfs
Ext2
29
7. Select ext3 and Enter OK
05/09/2002
Setup program for install Linux
Choose default and Press OK
8. Select 4096 (default value) and Enter OK
30
05/09/2002
Setup program for install Linux
Press Yes -> continue installation
9. Enter Yes
31
05/09/2002
Setup program for install Linux
Select source media for installation
10. Select Install from CD-Rom and Enter OK
32
05/09/2002
Setup program for install Linux
Search Method for Slackware CD
Auto
Manual
11. Select Auto and Enter OK
33
05/09/2002
Setup program for install Linux
This screen will show after found
Slackware CD. Press Yes to continue.
12. Enter Yes
34
05/09/2002
Setup program for install Linux
Select Package Series to install
35
13. Select Package Series and Enter OK
05/09/2002
Setup program for install Linux
Select Mode for install and press OK
36
14. Select full and Enter OK
05/09/2002
Setup program for install Linux
Waiting for Installing Process - ZZzz
37
05/09/2002
Setup program for install Linux
Choose Skip and Press OK
15. Select skip and Enter OK 38
05/09/2002
Setup program for install Linux
Make bootdisk
16. Select skip and Enter Create
39
05/09/2002
Setup program for install Linux
Custom screen font setting
17. Enter No – Use default screen font
40
05/09/2002
Setup program for install Linux
Install LILO (LInux LOader)
18. Select simple and Enter OK
41
05/09/2002
Setup program for install Linux
Choose text mode screen at boot time
Real Text Mode
Frame Buffer Mode
42
19. Select standard and Enter OK
05/09/2002
Setup program for install Linux
Location to be installed Linux Loader
20. Enter MBR and Enter OK
43
05/09/2002
Setup program for install Linux
Configuration Mose Type
21. Select PS/2 and Enter OK 44
05/09/2002
Setup program for install Linux
Setting up Host Information
22. Enter OK – Type Hostname in Input Box
45
05/09/2002
Setup program for install Linux
Setting network information
23. Enter OK – Static IP – Manual Setting 46
05/09/2002
Setup program for install Linux
We have to confirm that our network
information is correct before go to next step.
24. Enter Yes – Confirm Network Information Setting
47
05/09/2002
Setup program for install Linux
Choose configuration for sendmail program
25. Select SMTP and Enter OK
48
05/09/2002
Setup program for install Linux
Setting up clock reference
26. Select No and Enter OK ( Asia/Bangkok )
49
05/09/2002
Setup program for install Linux
Choose Default Windows Manager
27. Enter OK – Select what you would like to use
50
05/09/2002
Setup program for install Linux
Setting root password
28. Enter Yes and type root password
51
05/09/2002
Setup program for install Linux
Setup finish now – Choose Exit
6. Select Exit - Enter OK
52
05/09/2002
5. Restart Machine
53
05/09/2002
Restart Machine
Restart machine after we exit from
setup program by use 3 keys
(Ctrl+Alt+Del)
54
05/09/2002
Finish Install GNU/Linux Slackware
55
05/09/2002
Resouces
GNU Linux Distribution
Thai Distributions
Linux TLE – http://linux.thai.net/linux-tle/
Linux SIS – http://www.nectec.or.th/linux-sis/
Other Distributions
Redhat – http://www.redhat.com
Mandrake – http://www.linux-mandrake.com/
Debian – http://www.debian.org/
Slackware – http://www.slackware.com/
SuSE – http://www.suse.com/
Etc,…
56