Installing iHRIS Install iHRIS Manage on an Ubuntu System

Slides:



Advertisements
Similar presentations
WordPress from Start to Finish Day 1: Installing and Using WordPress Looking at the WordPress database.
Advertisements

Shining A Light on Open Source Software: Going Beyond LAMPP Serving Web Content Using Open Source Software.
Presentation Heading – font Arial
Getting Set-up with Hosting and WordPress Gregory Young Alternative Hosting
Dan Fleck.  WAMP – Windows Apache MySQL PHP -  LAMP – Linux Apache MySQL PHP ◦ There are.
sudo mkdir -p /var/lib/iHRIS/lib/4.1.3 cd /var/lib/iHRIS/lib/4.1.3 sudo wget ad/ihris-suite tar.bz2.
雲端計算 Cloud Computing Lab - EyeOS. Agenda Installation Programming.
Bangkok, Thailand Smokeping & Cacti intERLab at AIT Workshop March – Bangkok, Thailand Hervey Allen.
Securing LAMP: Linux, Apache, MySQL and PHP Track 2 Workshop PacNOG 7 July 1, 2010 Pago Pago, American Samoa.
SquirrelMail for Webmail AfNOG 2013 Scalable Internet Services (SS-E) Presented by Michuki Mwangi Lusaka, Zambia (Original Materials by Joelja)
Setting up a Subversion repository By: Matt Krass Last Updated: 4/11/07.
SYST Web Technologies SYST Web Technologies Installing a Web Server (XAMPP)
Linux Operations and Administration
Appendix: Installing AMP (Apache + MySQL + PHP). Training Course, CS, NCTU 2 AMP  AMP A – Apache Web Server M – MySQL Database Server P – PHP Language.
One to One instructions Installing and configuring samba on Ubuntu Linux to enable Linux to share files and documents with Windows XP.
Apache Server The Apache Server Apache is a WWW server that implements the HTTP protocol. Apache runs as a daemon. This means that it is a resident.
An introduction to Apache. Different Types of Web Servers Apache is the default web server for may Unix servers. IIS is Microsoft’s default web server.
bWAPP – Bee Bug – Installation
BZUPAGES.COM Presentation on Content Management System (CMS) Presented to. Sir Ahmad Kareem.
Apache Web Server v. 2.2 Reference Manual Chapter 1 Compiling and Installing.
Customer Relationship Management. Content CRM SugarCRM System Requirement Installation Process Configuration.
Taipei, Taiwan Smokeping & Cacti APRICOT 2008 Workshop February – Taipei, Taiwan Hervey Allen.
Apache and... Virtual Hosts ---- aliases mod_rewrite ---- htaccess AFNOG 11 Kigali, Rwanda May 2010 Dorcas Muthoni Courtesy: Hervey Allen.
Copyright (c) by CNAPTICS Corporation. All rights reserved.1 INFO Oracle Database 11g: Administration II Presented By: Marc S. Paller,
Managing Drupal with Aegir Chris Burge Burge Consulting, LLC 30 June 2013 Dublin, Ireland Drupal Dev Days.
Open Source Server Side Scripting ECA 236 Open Source Server Side Scripting Installation and Testing.
Hands On Networking Network Applications Ram P Rustagi, ISE Dept Kundan Kumar, MCA Dept Manini Sahoor, MCA Dept Ravi Teja, MCA Dept Sourav.
Linux Network Servers nginx, PHP-FPM, MySQL Rostislav Skudnov, Timo Jääskeläinen.
Apache, MySQL and PHP Installation and Configuration Chapter 1 Apache Installation and Configuration.
Ozan Şahin Ömer Üçler.  Purpose of Project  Used Technologies  Database Design  Problems&Solutions  Use Case’s  Demo.
Bloomer User Notes Installing and Running a Bloomer Installation Jack Park Latest: Project Home:
Ruby on Rails on Ubuntu Bradley Taylor Rails Machine, LLC
Multi-Domain Hosting Hosting multiple domains on one server using Apache John Beckett 1/16/2013.
LING 408/508: Programming for Linguists Lecture 17 October 28 th.
Linux Services Configuration
Apache, MySQL and PHP Installation and Configuration Chapter 2 MySQL Installation and Configuration.
Installation of PHP5 Objectives –Install PHP5 with support for Apache and MySQL Contents –Installing latest dependencies LibXML & LibSLT –Compiling and.
SQOOP INSTALLATION GUIDE Lecturer : Prof. Kyungbaek Kim Presenter : Zubair Amjad.
Web Server Apache PHP HTTP Request User types URL into browser Address resolved if nec. We use directly Most browsers request.
Installing Koha Presented By Aaron R. Williams KOHA North American Users Group.
Installation of PHP5 Objectives –Install PHP5 with support for Apache and MySQL Contents –Installing latest dependencies LibXML & LibSLT –Compiling and.
Multi-Domain Hosting CPTE 212 “Missing Slides” for 1/22/2015 John Beckett.
Mantis Bug Tracker. MantisBT features Open source web-based bug tracking system. Track software defects. Mantis is often configured by users to serve.
NX Documentation Using Windows IIS (Internet Information Services) as a http server for NX documentation.
SPARCS Wheel Seminar 08/01/14 심규현 (spotlight). 1 of 6 Web Application  A web application is an application that is accessed via web over a network such.
Building Your Own Website Using:. Install & configure LAMP. Download WordPress and run it as a local website on your Raspberry Pi. Configure WordPress.
Installing git In Linux: sudo apt-get install git In Windows: download it from run the setuphttp://git-scm.com/download/win.
WordPress and Etherpad with BlueMix and Docker. Our aim is to run on BlueMix containers (now in beta) these two famous services In the BlueMix dashboard,
Moodle Install Guide Team 5 안정현 김현수 주채진 조수아. Moodle Install Enter moodle.org web site -> Go to Standard Moodle Packages in Downloads.
I2CE Framework I2CE: Intrahealth Informatics Core Engine Base Web Framework on which iHRIS Manage and iHRIS Qualify are built on: Module Structure Magic.
L.A.M.P. İlker Korkmaz & Kaya Oğuz CS 350. Why cover a lecture on LAMP? ● Job Opportunities – There are many hosting companies offering LAMP as a web.
Linux, Apache, MySQL, PHP/Python/PERL ● a.k.a. LAMP ● Standard set of tools for configuring a Linux-based web server with database & interfacing capabilities.
Launchpad & Bazaar Use Launchpad to work on team projects Use Bazaar a Distributed Version Control System D-VCS.
Copy from Windows to Ubuntu
Installation of MySQL Objectives Contents Practical Summary
WEB APPLICATION TESTING
Apache and... Virtual Hosts ---- aliases mod_rewrite ---- htaccess
CONTENT MANAGEMENT SYSTEM CSIR-NISCAIR, New Delhi
Running the Operational Codes for the Brahmaputra
Chapter 5 Linux Services
SquirrelMail for Webmail
Unix System Administration
AES on GPU using CUDA Choi dae soon.
9 Linux on the Desktop.
Ubuntu Working in Terminal
Launchpad & Bazaar Use Launchpad to work on team projects
INSTALLING AND SETTING UP APACHE2 IN A LINUX ENVIRONMENT
LING 408/508: Computational Techniques for Linguists
Docker, Drupal and Persistence
LING 408/508: Computational Techniques for Linguists
Presentation transcript:

Installing iHRIS Install iHRIS Manage on an Ubuntu System Install the LAMP Server Configuring MySQL Configuring PHP PEAR and PECL Configuring Apache Downloading iHRIS MySQL Database Creation IHRIS Site Configuration IHRIS Site Initialization

LAMP Server Install the LAMP (Linux Apache Mysql PHP) server: sudo tasksel install lamp-server

MySQL Configuration Want to increase the cache size for the results of a mysql query to increase server speed. From a termnial: sudo gedit /etc/mysql/my.cnf and make sure you have: query_cache_limit = 4M query_cache_size = 64M

Configuring Apache Enable the rewrite module for nice URLs sudo a2enmod rewrite Make sure we can use the .htaccess file sudo gedit /etc/apache2/sites-available/default Change None to All in: <Directory /var/www/> Options Indexes FollowSymLinks MultiViews AllowOverride None Order allow,deny allow from all </Directory> Restart Apache sudo /etc/init.d/apache restart

PHP Configuration We need to increase the default memory limit for PHP for site inititialization and reporting. From a terminal: sudo gedit /etc/php5/apache2/php.ini and change the line memory_limit = 32M to the line memory_limit = 128M

Installing PEAR and PECL Packages These add extra functionality to php sudo apt-get install php-pear php-mdb2 php-mdb2-driver-mysql libmagic-dev php5-dev sudo pear install text_password console_getopt sudo pecl install Fileinfo If the last command doesn't work try sudo pear install pecl/Fileinfo echo extension=fileinfo.so | sudo tee /etc/php5/apache2/conf.d/fileinfo.ini

Ubuntu and APC Want to install APC a module that allows caching of data between http requests sudo apt-get install php-apc sudo gedit /etc/php5/conf.d/apc.ini Add the following lines: apc.shm_size=100 apc.slam_defense = Off

Ubuntu Lucid and APC Work aournd APC bug in Ubuntu Lucid: sudo apt-get install php5-dev apache2-prefork-dev sudo apt-get remove php-apc sudo pecl config-set preferred_state beta sudo pecl install APC-3.1.2 sudo pecl config-set preferred_state stable Set the configuration options for APC: sudo gedit /etc/php5/conf.d/apc.ini Contents extension=apc.so apc.shm_size=100 apc.write_lock=1 apc.slam_defense=0

Configuring Memcahced (Optional) Install memcached for speedy generation of iHRIS reports in the background sudo apt-get install memcached grep ENABLE /etc/default/memcached Ensure that it says ENABLE_MEMCACHED=yes Now enable php memcached module sudo apt-get install php5-memcached

Downloading the Software Download iHRIS Release from Launchpad sudo mkdir -p /var/lib/iHRIS/lib/4.0.7 cd /var/lib/iHRIS/lib/4.0.7 sudo wget http://launchpad.net/ihris-manage/4.0/4.0.7/+download/ihris-manage-full-4_0_7.tar.bz2 sudo tar -xjf ihris-manage-full-4_0_7.tar.bz2 For iHRIS Qualify, change manage to qualify in the above

iHRIS Site Configuration Copy the sample ”blank” site to our own site sudo mkdir -p /var/lib/iHRIS/sites sudo cp -R /var/lib/iHRIS/lib/4.0.7/ihris-manage/sites/blank /var/lib/iHRIS/sites/manage If installing iHRIS Qualify change manage to qualify

Link iHRIS Site with iHRIS Library We now need to edit the site configuration file sudo gedit /var/lib/iHRIS/sites/manage/iHRIS-Manage-BLANK.xml to point to the iHRIS base code. Change: <path name='modules'> <value>./modules</value> <!-- If this site module is not installed under the iHRIS Manage ...--> </path> to: <path name='modules'> <value>./modules</value> <value>/var/lib/iHRIS/lib/4.0.7</value> </path> Change manage to qualify if installing iHRIS Qualify

MySQL Database Creation Create a database for iHRIS Manage to use (password is your login password) mysql -u root -p Will take to the mysql ”shell” where you enter CREATE DATABASE ihris_manage; GRANT ALL PRIVILEGES ON ihris_manage.* TO ihris_manage@localhost identified BY 'PASS'; SET GLOBAL log_bin_trust_function_creators = 1; exit Change PASS to a password of your choosing Change manage to qualify if installing iHRIS Qualify

Connecting iHRIS To Mysql Need to set MySQL database for iHRIS site sudo cp /var/lib/iHRIS/sites/manage/pages/config.values.php /var/lib/iHRIS/sites/manage/pages/local/config.values.php sudo gedit /var/lib/iHRIS/sites/manage/pages/local/config.values.php Set the following variables $i2ce_site_i2ce_path = ”/var/lib/iHRIS/lib/4.0.7/I2CE”; $i2ce_site_dsn = ”mysql://ihris_manage:PASS@localhost/ihris_manage”; $i2ce_site_module_config = ”/var/lib/iHRIS/sites/manage/iHRIS-Manage-BLANK.xml”; Change PASS to databse password you choose above Change manage to qualify if installing iHRIS Qualify

Make the Site Available Need to make the site visibile to Apache sudo ln -s /var/lib/iHRIS/sites/manage/pages /var/www/manage Change mange to qualify if installing iHRIS Qualify

Pretty URLS Get rid of the index.php in URLs Change To sudo cp /var/www/manage/htaccess.TEMPLATE /var/www/manage/.htaccess sudo gedit /var/www/manage/.htaccess Change RewriteBase /iHRIS/manage-Blank To RewriteBase /manage

Installing the site Point your web browser to http://localhost/manage Administrative User is i2ce_admin Administrative Password is PASS, the database password you chose above