fedora 18 - installation mr. samrat guha roy mr. k. v. g. rao central library, iit kharagpur

30
Fedora 18 - Installation Mr. Samrat Guha Roy Mr. K. V. G. Rao Central Library, IIT Kharagpur

Upload: cathleen-stone

Post on 15-Jan-2016

218 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Fedora 18 - Installation Mr. Samrat Guha Roy Mr. K. V. G. Rao Central Library, IIT Kharagpur

Fedora 18 - InstallationFedora 18 - Installation

Mr. Samrat Guha Roy

Mr. K. V. G. Rao

Central Library, IIT Kharagpur

Page 2: Fedora 18 - Installation Mr. Samrat Guha Roy Mr. K. V. G. Rao Central Library, IIT Kharagpur
Page 3: Fedora 18 - Installation Mr. Samrat Guha Roy Mr. K. V. G. Rao Central Library, IIT Kharagpur
Page 4: Fedora 18 - Installation Mr. Samrat Guha Roy Mr. K. V. G. Rao Central Library, IIT Kharagpur
Page 5: Fedora 18 - Installation Mr. Samrat Guha Roy Mr. K. V. G. Rao Central Library, IIT Kharagpur
Page 6: Fedora 18 - Installation Mr. Samrat Guha Roy Mr. K. V. G. Rao Central Library, IIT Kharagpur
Page 7: Fedora 18 - Installation Mr. Samrat Guha Roy Mr. K. V. G. Rao Central Library, IIT Kharagpur
Page 8: Fedora 18 - Installation Mr. Samrat Guha Roy Mr. K. V. G. Rao Central Library, IIT Kharagpur
Page 9: Fedora 18 - Installation Mr. Samrat Guha Roy Mr. K. V. G. Rao Central Library, IIT Kharagpur
Page 10: Fedora 18 - Installation Mr. Samrat Guha Roy Mr. K. V. G. Rao Central Library, IIT Kharagpur

Technology ReviewTechnology Review

Page 11: Fedora 18 - Installation Mr. Samrat Guha Roy Mr. K. V. G. Rao Central Library, IIT Kharagpur

Linux Operating SystemUbuntu, Fedora, Debian etc...

MySQL Server

PostgreSQL Server

ApacheServer

ApacheTomcat

PHPPerl

JavaJSP

Page 12: Fedora 18 - Installation Mr. Samrat Guha Roy Mr. K. V. G. Rao Central Library, IIT Kharagpur

Prerequisites Software's

• Linux / Windows

• Apache

• Perl Modules

• MySQL

Koha DSpace

• Linux / Windows

• Apache Tomcat

• Java

• Apache Ant

• Apache Maven

• PostgreSQL

Page 13: Fedora 18 - Installation Mr. Samrat Guha Roy Mr. K. V. G. Rao Central Library, IIT Kharagpur

Prerequisites Software's

Drupal

• Linux / Windows

• Apache

• PHP Modules

• MySQL

LAMP ?

WAMP ?

Page 14: Fedora 18 - Installation Mr. Samrat Guha Roy Mr. K. V. G. Rao Central Library, IIT Kharagpur

Client / Server Architecture

User

KohaUI

Database

Web Server

Data gets stored in Hard Disk

ClientServer

DSpaceUI

UserClient

Page 15: Fedora 18 - Installation Mr. Samrat Guha Roy Mr. K. V. G. Rao Central Library, IIT Kharagpur
Page 16: Fedora 18 - Installation Mr. Samrat Guha Roy Mr. K. V. G. Rao Central Library, IIT Kharagpur
Page 17: Fedora 18 - Installation Mr. Samrat Guha Roy Mr. K. V. G. Rao Central Library, IIT Kharagpur

Client / Server Architecture

Page 18: Fedora 18 - Installation Mr. Samrat Guha Roy Mr. K. V. G. Rao Central Library, IIT Kharagpur

FrontEnd

BackEnd

Middleware

Business LogicUser

UI

Data

Storage

Client / Server Architecture

Page 19: Fedora 18 - Installation Mr. Samrat Guha Roy Mr. K. V. G. Rao Central Library, IIT Kharagpur

Fedora 18 PPT , OSSLM 2013, IIT KGP

Objectives – Fedora 18 Configuration

Installing Fedora 18 Configuring yum repository Installation of phpMyAdmin Configuring Network Proxy Configuring mysql Server Disabling SELinux Reboot the system

Page 20: Fedora 18 - Installation Mr. Samrat Guha Roy Mr. K. V. G. Rao Central Library, IIT Kharagpur
Page 21: Fedora 18 - Installation Mr. Samrat Guha Roy Mr. K. V. G. Rao Central Library, IIT Kharagpur
Page 22: Fedora 18 - Installation Mr. Samrat Guha Roy Mr. K. V. G. Rao Central Library, IIT Kharagpur
Page 23: Fedora 18 - Installation Mr. Samrat Guha Roy Mr. K. V. G. Rao Central Library, IIT Kharagpur

Fedora 18 PPT , OSSLM 2013, IIT KGP 23 / 35

Fedora File System

Page 24: Fedora 18 - Installation Mr. Samrat Guha Roy Mr. K. V. G. Rao Central Library, IIT Kharagpur

Some Useful Linux Commands

cd – change directorymkdir – make a directoryyum commandsclear – clear screenls –l – listing directoryyum commandsystemctl for start/stop/status of services

Page 25: Fedora 18 - Installation Mr. Samrat Guha Roy Mr. K. V. G. Rao Central Library, IIT Kharagpur

Configuring yum & phpMyAdmin

Fedora 18 PPT , OSSLM 2013, IIT KGP

Set Network Proxy as 144.16.192.218:8080

Copy paste the two files from DVD’s yum folder in the location /etc/yum.repo.d

# Yum update

# yum install phpMyAdmin

Page 26: Fedora 18 - Installation Mr. Samrat Guha Roy Mr. K. V. G. Rao Central Library, IIT Kharagpur

Start apache and mysql server

Fedora 18 PPT , OSSLM 2013, IIT KGP

# systemctl start httpd.service

# systemctl start mysqld.service

# mysql –uroot –p [enter]

mysql> UPDATE mysql.user SET Password=PASSWORD('el123') WHERE User='root';

Page 27: Fedora 18 - Installation Mr. Samrat Guha Roy Mr. K. V. G. Rao Central Library, IIT Kharagpur

Start apache and mysql server

Fedora 18 PPT , OSSLM 2013, IIT KGP

mysql>FLUSH PRIVILEGES;

mysql>exit

Browse to the URL of phpMyAdmin

http://localhost/phpMyAdmin

Page 28: Fedora 18 - Installation Mr. Samrat Guha Roy Mr. K. V. G. Rao Central Library, IIT Kharagpur

http://localhost/phpMyAdmin

Fedora 18 PPT , OSSLM 2013, IIT KGP

Page 29: Fedora 18 - Installation Mr. Samrat Guha Roy Mr. K. V. G. Rao Central Library, IIT Kharagpur

Disabling SELinux

Fedora 18 PPT , OSSLM 2013, IIT KGP 29 / 35

Sample output# This file controls the state of SELinux on the system. # SELINUX= can take one of these three values:# enforcing - SELinux security policy is enforced.# permissive - SELinux prints warnings instead of enforcing.# disabled - No SELinux policy is loaded.SELINUX=disabled# SELINUXTYPE= can take one of these two values:# targeted - Targeted processes are protected,# mls - Multi Level Security protection.SELINUXTYPE=targeted

Browse / Open the file /etc/selinux/config

And add a line SELINUX = disabled

Page 30: Fedora 18 - Installation Mr. Samrat Guha Roy Mr. K. V. G. Rao Central Library, IIT Kharagpur

Samrat Guha Roy, IIT Kharagpur

[email protected]

K. V. G. Rao, IIT Kharagpur

[email protected]