Professional Documents
Culture Documents
HISTORY OF LINUX:
Linus Torvalds was studying at the University of Helsinki (Finland). He was using a version of the UNIX operating system called Minix.
WHAT IS GNU/Linux ?
GNU operating system, initiated in 1983 by Richard Stallman.
Free Software Foundation Name (GNU/Linux) . GNU is not Unix project.
www.linuxdoc.org.
Open source omit the above conditions. Linux can be downloaded at no cost from various web sites.
WHAT IS LINUX ?
An open source version of Unix operating system.
Linux like computer operating system.
1. On stand alone Workstation/PC 2. In Network Environment 3. File and Print or Application Server
Continue :
So we can use Linux for: 1. Personal Work.
2. Web Server.
3. Software Development Workstation. 4. Workgroup Server. 5. Data Center (FTP, Telnet, SSH, Web, Mail, Proxy, Proxy Cache Appliance etc).
LINUX KERNEL ?
Kernel is hart of Linux Os.
It manages resource of Linux Os.
Facility to store data Print data on printer Memory File management, etc
Kernel decides who will use this resource How long and when. It runs your programs (set up to execute binary files)
Continue
kernel acts as an intermediary between the computer hardware and various programs/application/shell
Kernel Functions:
I/O management Process management Device management File management Memory management
LINUX DISTRIBUTIONS :
Various for-profit companies and non-profit organizations make various Applications , Utilities and other Software.
These combinations of the OS and Software are called distributions.
BEST LIVECD :
LINUX :
Multitasking
Remote tasking ("real networking") Multiuser
HELP :
$ man # general help $ man wc # manual on program 'word count' wc $ wc --help # short help on wc $ info wc # more detailed information system (GNU) $ apropos wc # retrieves pages where wc appears $ help <command> #view the command information
FILESYSTEM CONCEPT :
Arrangement of files that can be stored on disk. Easy to find the information from the hard disk. File system is created on a disk partition using the formatting process. Linux uses primarily the Second Extended File System (ext2) or Third Extended File System (ext3). Windows uses FAT, FAT32, NTFS. A hard disk may have one or more partitions or file systems.
Vi EDITOR :
Powerful Unix based text editor.
It is a command line text editor. Basic functions of vi editor:
Starting mode
Inserting Text Appending Text Saving the Text Deleting line words and characters. Closing mode
Vi continue
Create a new file by typing
$vi filename Open an already existing file by typing
$vi newname
Open a new file called "testvi," $vi testvi
Vi continue :
Inserting The text into your file.
Press i to inserting the text
PARTITIONS CREATION :
Creating number of disk from your hard disk.
There are two types we can create the partition.
1. 2. Text mode installation Graphical mode installation
#sfdisk
#parted (advanced)
Listing Processes
View Process information with ps command. -a includes processes on all terminals -x includes processes not attached to terminals -u prints process owner information -f prints process parentage
NETWORK CLIENTS :
Browse the web
Exchange email and instant messages Access a Linux system remotely Transfer files between systems Use network diagnostic tools
WEB CLIENTS :
Firefox GUI Web Browsers
Fast, lightweight, feature-rich web browser
Tabbed browsing
Popup blocking Cookie management Multi-engine search bar Support for many popular plug-ins Themes and Extensions
links http://www.redhat.com
INSTALLING APPLICATION :
Fedora yum can download and install packages from the Internet.
yum install packagename yum remove packagename yum update yum update packagename #install the new software #remove the already installed software #update your Fedora Linux os. #update the particular software
APACHE :
Introduction
The world's most popular Web server (HTTP server). Originally designed for Unix environments, Provides The full range of Web server features. Including CGI, SSL, and virtual domains. Apache also supports plug-in modules for extensibility. Apache is free software. The name "Apache" derives from the word "patchy"
Step 2 :
#vi /var/www/virtual/www.mega.com/html/index.html
Step 3:
<html>
<body style="background-color:red"> <form name="input" action="html_form_action.htm" method="get"> First name: <input type="text" name="FirstName" value="SCAS" /><br /> Last name: <input type="text" name="LastName" value="MSCIT" /><br /> <input type="submit" value="Submit" /> </form> <p>If you click the "Submit" button, the form-data will be sent to a page called "html_form_action.asp".</p> </body>
</html>
Step 3 continue :
Step 4:
# ifconfig
Step 6 :
# vi /etc/httpd/conf/httpd.conf
Step 7:
# service httpd restart
Step 8:
# links 192.168. 1. 5 or open in browser window
STEP 2:
Edit the host file add your Domain name 192.168.1.5 www.mega.com
STEP 3:
Restart your Apache server
#service httpd restart
STEP 4 :
Open your browser then check your web page. www.mega.com
STEP 5:
Open your web page using IP. 192.168.1.5
menetworkengineering.blogspot.in