Linux 2
Linux 2
Linux Installation
Core Linux: - New version of Linux. In this Linux shell and Kernel both are
separate. Ex: -RHEL 3.0, 4.0.
RHEL VERSION 3; -
In this version kernel 2.4 is available this version have many additions.
Ex: - Enterprise server (ES), Advanced server (AS), Work station (WS).
Red hat
Caldera
Menderk. Available in Middle East and Asia.
Suse.
Debian.
Turb Linux Available in China and Japan.
Gentwo
Slack ware Linux Australia.
BASIC COMMANDS
#Chmod 7 7 7 filename
User Group Other
4+2+1 4+2+1 4+2+1
USER CREATION IN GRAPHICAL MODE
1 Main menu.
2 System settings user and groups.
3 Click and user.
4 Type and name.
5 File name.
6 Password.
7 Confirm password.
8 Login shell.
9 Click OK.
1. Through Telnet.
2. Through Ligpel terminal.
3. Through ‘X’ manager.
4. Through T.S client terminal services.
In client side: -
Start
Run
Telnet IP address Linux system.
Click ok
Login and user name.
Through Hyper Terminal: -All ready Telnet services no need to do anything in
server side.
Client side: -
Start
Setting
Control panel
Add and remove programs
Add and windows components
Select accessories and utilities
Click details
Highlight hyper telnet option
Click ok
Click ok
Click next
Insert OS
Click ok
Click finish.
Progress: -
Start
Programs
Accessories
Communications
Click hyper terminal
For location information windows
Click cancel
In connection description windows, type any name
Click ok
IN connect to windows
Host address: - Linux system IP address
Port address: - 23
Connecting using: -TCP IP (win sock)
Click ok.
Through X- manager: -
To get graphical console.
Install X-manager software in windows system.
X-manager is a setup file.
Double click to X-manager icon.
Click ‘X’ start.
Name ‘Don’t change anything’.
Host ‘server system IP address Linux’.
Protocol Telnet.
User name server system.
Password server user password type.
Click RUN.
$ KSM server.
Configuration: -
#Cd/usr/share/doc/dhcp-3. Opl2
#Ls
#Cp dhcpd.conf.sample /etc/dhcpd.conf
#Vi/etc/dhcpd.conf
th
4 line IP address 192.168.100.0& subnet mask 255.255.255.0
10thoption nis-domain “Linux.com”
11thoption domain-name “Linux.com”
12thoption domain-name-server 192.168.100.8
15thoption ntp-servern 192.168.100.8
16thoption net bios-name-server 192.168.100.8
21thrange dynamic-boot up 192.168.100.100 to192.168.100.200
#Service dhcpd restart
#Dhcpd-d-p
-D=dhcp debug mode
-P=printer debug mode
FTP Configuration
Install process: -
1 #Rpm-e vsftpd
2 #Rpm-q vsttpd
3 #Eject
4 #Mount /mnt/cdrom
5 #Cd/mnt/cdrom
6 #Ls
7 #Cd Red hat
8 #Cd rpms
9 #Rpm-ivh vsftpd-1.2.0-41386.rpm
Processor: -
Required packages: -#rpm-qvsftpd
#rpm-evsttpd
#Cd/var/ftp
#Ls
#Mkdir public
#Cd pub
#Touch v1 v2 v3 v4
#Mkdir vinod
#Ssh 192.168.100.22
Press YES.
Setup commands: -
1.Authentication.
2.Firewall
3.Mouse.
4.Network
5.Printer.
6.System services.
7.Time Zone.
Authentication Configuration: -By using this option we can configuration real
interest relationship.
Printer Configuration: -By using this option we can install our printer and
Test print out.
System services: -By using this option we can enable & disable start
Services.
Time Zone configuration: -By using this option we can select time zone for
The system. Ex: - Asia/ Calcutta.
BACK UP & TYPES OF BACK UP: -
Restore: -cpio-I/home/users.cpio
1 Main menu
2 System settings
3 Printing
4 #Red hat-config-printer.
5 Click new
6 Add a new print queve
7 Click forward
8 Queue name
9 Click forward
10 Select a queue type.
1.Locally connected.
2.Network cups (IPP)
3.Networked UNIX (LPD)
4.Networked windows (SMB)
5.Networked novel (NCP)
6.Networked jet direct.
1 Select /dev/lpo
2 Click forward
3 Select printer manufacture and model.
4 Click forward (hp lacer 6l)
5 Click apply.
#Red hat-config-printer
1 Click new
2 Type Queve name and select Queve type.(Local printer device)
3 Click next
4 Select device path/dev/lpo
5 Click next
6 Select printer manufacture and model name
7 Click next
8 Click finish
SAMBA SERVER CONFIGURATION: -
Configuration of SAMBA: -
#Vi/etc/samba/smb.conf
Package requirements: -
Rpm-q send mail
Rpm-qsend mail-cf
Rpm-qImap
Rpm-squirrel mail
Rpm-qM4
Rpm-qhttpd
Configuration: -
#Vi/etc/mail/send mail
#Vi/etc/mail/sendmail.mc
Goto84 line
Port smpt address (IP addressof system)
122 Remote the name and type full computer name(vinod.Linux.com)
Save; WQ
#M4 /etc/mail/sendmail.mc> /etc/mail/sendmail.cf
#Serviece send mail restart
#Chk config Imap ON
#Service Xitented restart
#Servicehttpd start
#Chk config IDOP3 ON
#User add mail1
#User add mail 2
#Password mail 1
#Password mail 2
#mail mail1
Subject: ---------===---==------
Matter: -
CC: mail2
APACHEE SERVER: -
Min requirements: -
Configuration: -
#Vi/etc/httpd/config/httpd.conf
Windows will open.
; Set nu
151line nu 151 ---Litern IP no and port no
Litern 192.168.100.5:80
252 lines Type your domain name. Server ad using root a Linux.com
265 Total name #server name vino.linux.com:80
392 Direct Index Index.html
Save: WQ
#Cd/var/www/html.
#Vi index .html write web page
<html>
<head> <title> Welcome </title> </head><body back ground colour-
Pink TEXT –green><marquels>
<h1>
WELCOME TO APACHEE SERVER.
<h1> </marquels>
</body> </html>
; WQ
#Service httpd start.
#Mozilla
Windows will open.
WWW.LINUX.COM
MODEM INSTALLATION: -
#Red hat-config-network.
1 Click new
2 Select modem connection
3 Forward
4 Probing for modem
5 Select modem (manually).
6 Dev/modem
7 Click forward
8 Select provider
1 Click forward
2 Select automatically obtain IP address setting.
3 Click forward
4 Click apply
5 Select modem
6 Click activate
7 Click YES
8 Click OK
After the modem Installation we want access Internet.
Right click desktop.
Open terminal.
#Kppp
Connect to popup open.
Select login name and password.
Click connect.