using linux on the server side

38
Using Linux on the Server side Using Linux on the Server side 1

Upload: char-hettiarachchi

Post on 09-Apr-2018

223 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Using Linux on the Server Side

8/8/2019 Using Linux on the Server Side

http://slidepdf.com/reader/full/using-linux-on-the-server-side 1/38

Using Linux on the Server sideUsing Linux on the Server side

1

Page 2: Using Linux on the Server Side

8/8/2019 Using Linux on the Server Side

http://slidepdf.com/reader/full/using-linux-on-the-server-side 2/38

Client Server ArchitectureClient Server Architecture

y T he Internet based on the client-serverarchitecture.

y Your computer runs software called theclient and it interacts with another

software known as the server located ata remote computer.

2

Page 3: Using Linux on the Server Side

8/8/2019 Using Linux on the Server Side

http://slidepdf.com/reader/full/using-linux-on-the-server-side 3/38

Page 4: Using Linux on the Server Side

8/8/2019 Using Linux on the Server Side

http://slidepdf.com/reader/full/using-linux-on-the-server-side 4/38

y A client does not share any of itsresources, but requests a server's contentor service function. C lients thereforeinitiate communication sessions with

servers which await incoming requests.

4

Page 5: Using Linux on the Server Side

8/8/2019 Using Linux on the Server Side

http://slidepdf.com/reader/full/using-linux-on-the-server-side 5/38

5

Page 6: Using Linux on the Server Side

8/8/2019 Using Linux on the Server Side

http://slidepdf.com/reader/full/using-linux-on-the-server-side 6/38

W hat is Server?W hat is Server?y T he server component provides a

function or service to one or manyclients, which initiate requests for suchservices.

y A server machine is a host that is runningone or more server programs which

share their resources with clients.

6

Page 7: Using Linux on the Server Side

8/8/2019 Using Linux on the Server Side

http://slidepdf.com/reader/full/using-linux-on-the-server-side 7/38

W hat is server?W hat is server? contdcontdy Servers provide essential services across

a network, either to private users inside alarge organization or to public users viathe Internet .

y Many servers have dedicated functionalitysuch as web servers , print servers , and

database servers .

7

Page 8: Using Linux on the Server Side

8/8/2019 Using Linux on the Server Side

http://slidepdf.com/reader/full/using-linux-on-the-server-side 8/38

W hat is web server?W hat is web server?y A web server can be referred to as

either the hardware, the computer or thesoftware, the computer application thathelps to deliver content that can beaccessed through the internet.

y Most people think a web server is just thehardware computer,but a web server isalso referred to asthe softwarethat is installed in the

hardware computer. 8

Page 9: Using Linux on the Server Side

8/8/2019 Using Linux on the Server Side

http://slidepdf.com/reader/full/using-linux-on-the-server-side 9/38

y T he hardware part is what houses the

content, while the software part is whatmakes the content accessible through theinternet.

y T he most common use of web servers areto host websites but there are other useslike data storage or for running enterpriseapplications.

y There are also different ways to requestcontent from a web server. T he most

common request is the HTTP , but there arealso other requests like the IMAP or the FTP .

9

Page 10: Using Linux on the Server Side

8/8/2019 Using Linux on the Server Side

http://slidepdf.com/reader/full/using-linux-on-the-server-side 10/38

Common features of WebCommon features of Web

server server

y Virtual hostingy Large file supporty Band w idth throttlingy Server-side scripting

10

Page 11: Using Linux on the Server Side

8/8/2019 Using Linux on the Server Side

http://slidepdf.com/reader/full/using-linux-on-the-server-side 11/38

Using Linux on server sideUsing Linux on server sidey Since Linux is more stable and customizable,

it makes the operating system especiallysuitable for running servers which can·tafford to have downtime.

y Now in industry we are using Linux basedsoftware solutions to do various types of works in server side

Ex: Server OS, Server applications

11

Page 12: Using Linux on the Server Side

8/8/2019 Using Linux on the Server Side

http://slidepdf.com/reader/full/using-linux-on-the-server-side 12/38

W hy Linux?W hy Linux?A s mentioned earlier, Linux isan open source which meansthat the code is open forexperts to peruse and point

out improvements.

T he goal of the developers who have beenstudying and refining the open source code is to

make it faster, simpler, more efficient and bug-free.

T hat·s why Linux web hosting is considered to bemore stable and reliable than W indows web hosting.

12

Page 13: Using Linux on the Server Side

8/8/2019 Using Linux on the Server Side

http://slidepdf.com/reader/full/using-linux-on-the-server-side 13/38

y Linux is an open source software product and thusit does not need the high licensing fees that otheroperating systems do; you can freely download anduse it at no cost.

y A Linux website can easily be converted to aW indows website without much hassle. A lso, thewebsite can easily be changed as the requirementof the user grows.

W hy Linux?W hy Linux? ² ² Reasons««.Reasons««.

13

Page 14: Using Linux on the Server Side

8/8/2019 Using Linux on the Server Side

http://slidepdf.com/reader/full/using-linux-on-the-server-side 14/38

y Linux web hosting is very economical as Linux is a freeoperating system. Usually, only the cost of distribution is

borne by the host or owner.

y W hen the scripting language like P HP, My-SQL, or Perletc. are required for your website then Linux server

hosting is the most reliable and cost effective.

y By lots of circles Linux web hosting is supposed to bemuch securing than windows hosting.

y If you need not to have any unique features for yourwebsite, like cart, searchable database etc, Linux serverhosting is a finest alternative for your needs.

14

Page 15: Using Linux on the Server Side

8/8/2019 Using Linux on the Server Side

http://slidepdf.com/reader/full/using-linux-on-the-server-side 15/38

y In September 2006 that eight of the tenmost reliable internet hosting companiesran Linux distributions on their webservers.

y

Linux was also selected as the operatingsystem for the world's most powerfulsupercomputer, ex: IBM's Sequoia

y Recently the world's fastestsupercomputer. It uses the C ray LinuxEnvironment as its operating system.

15

Page 16: Using Linux on the Server Side

8/8/2019 Using Linux on the Server Side

http://slidepdf.com/reader/full/using-linux-on-the-server-side 16/38

Vendor Product Web SitesHosted Percent

A pache A pache 148,08 5 ,963 5 9.36%

Microsoft IIS 5 6,637,980 22.70%

Igor Sysoev nginx 1 5 ,05 8,114 6.04%

Google G W S 14,827,15 7 5 .94%

lighttpd lighttpd 2,070,300 0.83%

Market StructureMarket StructureBelow is the most recent statistics of the market share of thetop web servers on the internet by Netcraft survey inNovember 2010

16

Page 17: Using Linux on the Server Side

8/8/2019 Using Linux on the Server Side

http://slidepdf.com/reader/full/using-linux-on-the-server-side 17/38

y Linux distributions are the cornerstone of the LA MP server-software combination

y Linuxy A

pachey MySQLy P HP / Perl / P ython

which has achieved popularity amongdevelopers, and which is one of the morecommon platforms for website hosting.

17

Page 18: Using Linux on the Server Side

8/8/2019 Using Linux on the Server Side

http://slidepdf.com/reader/full/using-linux-on-the-server-side 18/38

A pacheA pache -- TomcatTomcaty A web server softwarey A pache is primarily used to serve both static

content and dynamic W eb pages on theW orld W ide W eb.

y Many web applications are designedexpecting the environment and features thatA pache provides.

y P rogrammers developing web applicationsoften use a locally installed version of A pachein order to preview and test code as it isbeing developed.

18

Page 19: Using Linux on the Server Side

8/8/2019 Using Linux on the Server Side

http://slidepdf.com/reader/full/using-linux-on-the-server-side 19/38

MySqlMySqly My SQL is a relational database

management system (RDBMS) that runs asa server providing multi-user access to anumber of databases.

y Open source DBMS software solution.y It is a popular choice of database for use

in web applications.

19

Page 20: Using Linux on the Server Side

8/8/2019 Using Linux on the Server Side

http://slidepdf.com/reader/full/using-linux-on-the-server-side 20/38

P HPP HP

y P HP is a general-purpose scriptinglanguage that is especially suited to server-side web development where P HP

generally runs on a web server.y P HP can be deployed on most web servers ,

many operating systems and platforms, and canbe used with many relational database

management systems (RDBMS).y It is available free of charge, and the P HP Group

provides the complete source code for users tobuild, customize and extend for their own use.

20

Page 21: Using Linux on the Server Side

8/8/2019 Using Linux on the Server Side

http://slidepdf.com/reader/full/using-linux-on-the-server-side 21/38

P ythonP ythony P ython is an interpreted, general-

purpose high-level programming languagey P ython interpreters are available for many

operating systems.y P ython is often used as a scripting

language for web applications .y P ython is managed by the non-profit

P ython Software Foundation.

21

Page 22: Using Linux on the Server Side

8/8/2019 Using Linux on the Server Side

http://slidepdf.com/reader/full/using-linux-on-the-server-side 22/38

PerlPerly Perl is a high-level, general-purpose,

interpreted, dynamic programminglanguage

y It is used for graphics programming ,system administration , network programming , applications that requiredatabase access and C GI programming onthe W eb

y Perl is Open Source software, licensedunder its A rtistic License, or the GNUGeneral P ublic License (G P L).

22

Page 23: Using Linux on the Server Side

8/8/2019 Using Linux on the Server Side

http://slidepdf.com/reader/full/using-linux-on-the-server-side 23/38

Server Operating SystemsServer Operating Systemsy A server operating system is software

that was especially developed to serve asa platform for running multi-usercomputer programs, applications that arenetworked.

y Server-oriented operating systems tend

to have certain features in common thatmake them more suitable for the serverenvironment.

23

Page 24: Using Linux on the Server Side

8/8/2019 Using Linux on the Server Side

http://slidepdf.com/reader/full/using-linux-on-the-server-side 24/38

Server OS SpecificationsServer OS Specificationsy GUI not available or optionaly A bility to reconfigure and update both

hardware and software to some extentwithout restart

y A dvanced backup facilitiesy Flexible and advanced networking

capabilitiesy T ight system security, with advanced user,

resource, data, and memory protection.24

Page 25: Using Linux on the Server Side

8/8/2019 Using Linux on the Server Side

http://slidepdf.com/reader/full/using-linux-on-the-server-side 25/38

Widel y Use Linux Server Widel y Use Linux Server

DistributionsDistributionsy Ubuntu

A t the top of almost every Linux-relatedlist, Debian-based Ubuntu is in a class byitself. It surpasses all other distributionsfrom its simple installation to its excellent

hardware discovery to its world-classcommunity support.

25

Page 26: Using Linux on the Server Side

8/8/2019 Using Linux on the Server Side

http://slidepdf.com/reader/full/using-linux-on-the-server-side 26/38

y SUSE

Novell-owned SUSE Linux is stable, easy-to-maintain and offers Novell's 24x7rapid-response support. SUSE LinuxEnterprise Server is a highly reliable,

scalable and secure server operatingsystem, built to power both physical andvirtual mission-critical workloads.

26

Page 27: Using Linux on the Server Side

8/8/2019 Using Linux on the Server Side

http://slidepdf.com/reader/full/using-linux-on-the-server-side 27/38

y Red Hat

Red Hat Enterprise Linux (RHEL) startedout as the "little Linux company thatcould" and is now a major force in the

quest for data center rack space.T

heLinux darling of large companiesthroughout the world, Red Hat'sinnovations and non-stop support willhave you coming back for more.

27

Page 28: Using Linux on the Server Side

8/8/2019 Using Linux on the Server Side

http://slidepdf.com/reader/full/using-linux-on-the-server-side 28/38

y MandrivaT

his incredibly well-constructed Linuxdistribution hails from France and claimsextreme acceptance in Europe and SouthA merica. It is, as its website claims, aworldwide Linux provider. Its name andits construction derive from theMandrake Linux and C onnectiva Linux

distributions.

28

Page 29: Using Linux on the Server Side

8/8/2019 Using Linux on the Server Side

http://slidepdf.com/reader/full/using-linux-on-the-server-side 29/38

y X androsT he company's products empowerW indows-centric businesses to benefit from

the flexibility, reliability and security of Linuxand open source, without requiring Linuxexpertise.X andros was founded in 2001, and is

headquartered in New York, with offices inOttawa, Frankfurt and Sao P aulo., X androsand Microsoft collaborate in what's knownin technical circles as "cooperatition." T his

means that they compete. 29

Page 30: Using Linux on the Server Side

8/8/2019 Using Linux on the Server Side

http://slidepdf.com/reader/full/using-linux-on-the-server-side 30/38

y SlackwareW hile not generally associated withcommercial distributions, Slackware

maintains relationships with severalcompanies that provide fee-basedsupport. One of the earliest availabledistributions, Slackware has an extensiveand faithful fan base. Its developersregularly release new versions.

30

Page 31: Using Linux on the Server Side

8/8/2019 Using Linux on the Server Side

http://slidepdf.com/reader/full/using-linux-on-the-server-side 31/38

y Debian

If you're confused by Debian's inclusionhere, don't be. Debian doesn't have formal

commercial support but you can connectwith Debian-savvy consultants around theworld via their C onsultants page. Debianhas spawned more child distributions thanany other parent distribution includingUbuntu, Linux Mint and Vyatta.

31

Page 32: Using Linux on the Server Side

8/8/2019 Using Linux on the Server Side

http://slidepdf.com/reader/full/using-linux-on-the-server-side 32/38

y Vyatta

Vyatta is revolutionizing the networkingindustry by delivering a software-based,open-source, network operating system

that is portable to standard x86 hardwareas well as common virtualization andcloud computing platforms. Vyatta workswell for your secure communicationsneeds.

32

Page 33: Using Linux on the Server Side

8/8/2019 Using Linux on the Server Side

http://slidepdf.com/reader/full/using-linux-on-the-server-side 33/38

y C entOSC entOS isn't strictly commercial but sinceit's based on Red Hat Enterprise Linux,you can leverage commercial support for

it. C entOS has its own repositories andcommunity support and is not the sameas Fedora Linux.

33

Page 34: Using Linux on the Server Side

8/8/2019 Using Linux on the Server Side

http://slidepdf.com/reader/full/using-linux-on-the-server-side 34/38

y Unbreakable Linux

Oracle's Unbreakable Linux is Red HatEnterprise Linux with some Oracle logosand art. Oracle competes directly with

Red Hat with their distribution and quiteeffectively, since purchased supportthrough Oracle is half the price of RedHat's equivalent model.

34

Page 35: Using Linux on the Server Side

8/8/2019 Using Linux on the Server Side

http://slidepdf.com/reader/full/using-linux-on-the-server-side 35/38

Samba ServerSamba Servery Its use to share resources in

heterogeneous Unix- W indows networks.y P articularly it is focused on a Linux

system with Samba in order to run someservices, typically provided by W indowsoperating systems.

y Linux server with Samba substitutes allfunctions of a server based on Microsoftoperating system, with no changes in theclients computers.

35

Page 36: Using Linux on the Server Side

8/8/2019 Using Linux on the Server Side

http://slidepdf.com/reader/full/using-linux-on-the-server-side 36/38

T he LinuxT he Linux VirtualVirtual ServerServer -- LVSLVSy T he Linux Virtual Server is a highly

scalable and highly available server builton a cluster of real servers, with the load

balancer running on the Linux operatingsystem.y T he architecture of the server cluster is

fully transparent to end users, and the

users interact as if it were a single high-performance virtual server.y It is an open source project

36

Page 37: Using Linux on the Server Side

8/8/2019 Using Linux on the Server Side

http://slidepdf.com/reader/full/using-linux-on-the-server-side 37/38

Group MembersGroup Members

y W .M.D.M.W ijesundara 10020926y M.H.S.Kumarasiri 10020934y C

.Hettiarachchi 10020942y G.T.T.K.P ushpasiri 100209 5 2y H.L.S.Milinda 10020969y Vikum Madushan 10020977y Kasuri T hyumini 1002098 5

37

Page 38: Using Linux on the Server Side

8/8/2019 Using Linux on the Server Side

http://slidepdf.com/reader/full/using-linux-on-the-server-side 38/38

T hank T hank YouYou38