fedora 18 - installation mr. samrat guha roy mr. k. v. g. rao central library, iit kharagpur
Post on 15-Jan-2016
218 Views
Preview:
TRANSCRIPT
Fedora 18 - InstallationFedora 18 - Installation
Mr. Samrat Guha Roy
Mr. K. V. G. Rao
Central Library, IIT Kharagpur
Technology ReviewTechnology Review
Linux Operating SystemUbuntu, Fedora, Debian etc...
MySQL Server
PostgreSQL Server
ApacheServer
ApacheTomcat
PHPPerl
JavaJSP
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
KohaUI
Database
Web Server
Data gets stored in Hard Disk
ClientServer
DSpaceUI
UserClient
Client / Server Architecture
FrontEnd
BackEnd
Middleware
Business LogicUser
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 directorymkdir – make a directoryyum commandsclear – clear screenls –l – listing directoryyum commandsystemctl 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
top related