Fedora 18 - Installation

judgedrunkshipΔιακομιστές

17 Νοε 2013 (πριν από 3 χρόνια και 8 μήνες)

109 εμφανίσεις

Fedora 18
-

Installation

Mr. Samrat Guha Roy

Mr. K. V. G. Rao

Central Library, IIT Kharagpur



Technology Review

Linux Operating System

Ubuntu, Fedora, Debian etc...

MySQL

Server

PostgreSQL

Server

Apache

Server

Apache

Tomcat

PHP

Perl

Java

JSP

Prerequisites Software's


Linux / Windows


Apache


Perl Modules


MySQL

Koha

DSpace


Linux / Windows


Apache Tomcat


Java


Apache Ant


Apache Maven


PostgreSQL

Prerequisites Software's

Drupal


Linux / Windows


Apache


PHP Modules


MySQL

LAMP ?

WAMP ?

Client / Server Architecture

User

Koha

UI

Database


Web Server

Data gets stored

in Hard Disk

Client

Server

DSpace

UI

User

Client

Client / Server Architecture

Front

End

Back

End

Middleware

Business Logic

User

UI

Data

Storage

Client / Server Architecture

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

Fedora 18 PPT , OSSLM 2013, IIT KGP

23

/ 35

Fedora File System

Some Useful Linux Commands


cd


change directory


mkdir


make a directory


yum commands


clear


clear screen


ls

l


listing directory


yum command


systemctl for start/stop/status of services

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

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';




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


http://localhost/phpMyAdmin

Fedora 18 PPT , OSSLM 2013, IIT KGP

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

Samrat Guha Roy, IIT Kharagpur

samrat@library.iitkgp.ernet.in

K. V. G. Rao, IIT Kharagpur

venu@library.iitkgp.ernet.in