OS Installation: CentOS 5.8



Similar documents
Cloud.com CloudStack Community Edition 2.1 Beta Installation Guide

Install Cacti Network Monitoring Tool on CentOS 6.4 / RHEL 6.4 / Scientific Linux 6.4

Cloud Homework instructions for AWS default instance (Red Hat based)

OPENPROJECT INSTALL ON CENTOS 7 RUNNING IN VMWARE PLAYER

Tibbr Installation Addendum for Amazon Web Services

Installing Booked scheduler on CentOS 6.5

Monitoring Clearswift Gateways with SCOM

Setup Local Mail Server Using Postfix, Dovecot And Squirrelmail On CentOS 6.5/6.4

INUVIKA OVD INSTALLING INUVIKA OVD ON RHEL 6

Rancid Server Build and Operation Overview (v0.3) (This is being done from memory so expect some errors)

System and Network Monitoring With Zabbix

CloudPortal Business Manager 2.2 POC Cookbook

Desktop : Ubuntu Desktop, Ubuntu Desktop Server : RedHat EL 5, RedHat EL 6, Ubuntu Server, Ubuntu Server, CentOS 5, CentOS 6

Zenoss Core Installation and Upgrade

Source Code Management for Continuous Integration and Deployment. Version 1.0 DO NOT DISTRIBUTE

Installing Platform RTM. Platform RTM Version Release date: October 2011

CloudStack Basic Installation Guide

Alinto Mail Server Pro

docs.hortonworks.com

Centrify Identity and Access Management for Cloudera

Syncplicity On-Premise Storage Connector

Migrating LAMP stack from x86 to Power using the Server Consolidation Tool

Railo Installation on CentOS Linux 6 Best Practices

Oracle, the Oracle logo, Java, and MySQL are registered trademarks of the Oracle Corporation and/or its affiliates.

Extending Remote Desktop for Large Installations. Distributed Package Installs

Git Fusion Guide August 2015 Update

Network Infrastructure Security Recommendations

OpenDaylight & PacketFence install guide. for PacketFence version 4.5.0

CactoScale Guide User Guide. Athanasios Tsitsipas (UULM), Papazachos Zafeirios (QUB), Sakil Barbhuiya (QUB)

Building a Private Cloud Cloud Infrastructure Using Opensource

Newton Linux User Group Graphing SNMP with Cacti and RRDtool

BF2CC Daemon Linux Installation Guide

Integrating SAP BusinessObjects with Hadoop. Using a multi-node Hadoop Cluster

Parallels Plesk Automation

ALERT installation setup

Deployment - post Xserve

LAMP Quickstart for Red Hat Enterprise Linux 4

AlienVault Unified Security Management (USM) 4.x-5.x. Deploying HIDS Agents to Linux Hosts

Hands-on Lab Exercise Guide

The Puppet Show Managing Servers with Puppet

SAP Netweaver 7.3 on Amazon Cloud

QuickBooks Enterprise Solutions. Linux Database Server Manager Installation and Configuration Guide

Moving to Plesk Automation 11.5

Installation documentation for Ulteo Open Virtual Desktop

Installation Guidelines (MySQL database & Archivists Toolkit client)

CDH installation & Application Test Report

CentOS. Apache. 1 de 8. Pricing Features Customers Help & Community. Sign Up Login Help & Community. Articles & Tutorials. Questions. Chat.

Rapid Access Cloud: Se1ng up a Proxy Host

How to install PowerChute Network Shutdown on VMware ESXi 3.5, 4.0 and 4.1

Citrix XenServer 5.6 OpenSource Xen 2.6 on RHEL 5 OpenSource Xen 3.2 on Debian 5.0(Lenny)

Linux: 20 Iptables Examples For New SysAdmins

Plexxi Control Installation Guide Release 2.1.0

EZcast Installation guide

Linux Squid Proxy Server

How to Install XenDesktop on CloudPlatform

Using The Hortonworks Virtual Sandbox

GroundWork Monitor Open Source Installation Guide

Ulteo Open Virtual Desktop Installation

Installing and Configuring Websense Content Gateway

Dragonframe License Manager User Guide Version 1.2.2

Nagios XI - NRPE Troubleshooting and Common Solutions

Contents Set up Cassandra Cluster using Datastax Community Edition on Amazon EC2 Installing OpsCenter on Amazon AMI References Contact

User Manual of the Pre-built Ubuntu 9 Virutal Machine

JAMF Software Server Installation Guide for Linux. Version 8.6

FUJITSU Cloud IaaS Trusted Public S5 Setup and Configure yum Software Package Manager with CentOS 5.X/6.X VMs

Network Security. Network Packet Analysis

Manage a Firewall Using your Plesk Control Panel Contents

OnCommand Performance Manager 1.1

TimeIPS Server. IPS256T Virtual Machine. Installation Guide

Keyword: YARN, HDFS, RAM

JobScheduler - Amazon AMI Installation

Web Server using Apache. Heng Sovannarith

owncloud 8 and DigitalOcean Matthew Davidson Bluegrass Linux User Group 03/09/2015

CONNECTING TO DEPARTMENT OF COMPUTER SCIENCE SERVERS BOTH FROM ON AND OFF CAMPUS USING TUNNELING, PuTTY, AND VNC Client Utilities

Information Security Training. Assignment 1 Networking

IT6204 Systems & Network Administration. (Optional)

Semantic based Web Application Firewall (SWAF - V 1.6)

Case Study 2 SPR500 Fall 2009

13.1 Backup virtual machines running on VMware ESXi / ESX Server

Setting Up Specify to use a Shared Workstation as a Database Server

From Idea to Working Deployment:

Quick Start Guide. Cerberus FTP is distributed in Canada through C&C Software. Visit us today at

Install and configure a Debian based UniFi controller

How To Install An Org Vm Server On A Virtual Box On An Ubuntu (Orchestra) On A Windows Box On A Microsoft Zephyrus (Orroster) 2.5 (Orner)

Lab Objectives & Turn In

The current version installed on your server is el6.x86_64 and it's the latest available.

Installing an IBM Workplace/Portal Server on Linux

Cloud.com CloudStack Installation Guide

Firewall Piercing. Alon Altman Haifa Linux Club

ACS 5.x and later: Integration with Microsoft Active Directory Configuration Example

Basic Installation of the Cisco Collection Manager

Hadoop Data Warehouse Manual

VMware vcenter Log Insight Security Guide

How To Set Up A Network Map In Linux On A Ubuntu 2.5 (Amd64) On A Raspberry Mobi) On An Ubuntu (Amd66) On Ubuntu 4.5 On A Windows Box

Table of Contents. Online backup Manager User s Guide

Installing Dspace 1.8 on Ubuntu 12.04

Transcription:

OS Installation: CentOS 5.8 OpenTUSK Training University of Nairobi Mike Prentice michael.prentice@tufts.edu Tufts University Technology for Learning in the Health Sciences July 2013

Outline 1 OS Install 2 SELinux 3 Firewall 4 Yum Packages 5 Time 6 System Accounts 7 OpenTUSK Software 8 Database

Resources Official website: http://opentusk.org/ Wiki documentation: https://wikis.uit.tufts.edu/confluence/display/ TUSKpub/Home Source code: https://github.com/opentusk/opentusk

Coming Up... 1 OS Install 2 SELinux 3 Firewall 4 Yum Packages 5 Time 6 System Accounts 7 OpenTUSK Software 8 Database

CentOS 5.8 OpenTUSK requires CentOS 5.8 Web servers on CentOS 5.8 virtual machines Database server: MySQL Version 5 or higher Installation prerequisites: Dedicated IP address hostname in DNS root account password SSH access to hardware or virtual machine

OpenTUSK Repository Configure the OpenTUSK repository for RHEL/CentOS 5.8: # curl -- output / etc / yum. repos.d/ opentusk. repo https :// raw. github. com / opentusk / Opentusk / master / install / centos -5.8/ opentusk. repo Note: If you copy and paste these commands, be careful of spaces.

Coming Up... 1 OS Install 2 SELinux 3 Firewall 4 Yum Packages 5 Time 6 System Accounts 7 OpenTUSK Software 8 Database

Disable SELinux SELinux, or security-enhanced Linux, is on by default in CentOS. SELinux interferes with the operation of OpenTUSK. We set SELinux to run in permissive mode: # sed -i 's/^ SELINUX.*/ SELINUX = permissive /g ' / etc / selinux / config # / usr / sbin / setenforce Permissive

Coming Up... 1 OS Install 2 SELinux 3 Firewall 4 Yum Packages 5 Time 6 System Accounts 7 OpenTUSK Software 8 Database

Configure the Firewall Allow connections to http (port 80) and https (port 443): /etc/sysconfig/iptables... -A RH - Firewall -1 - INPUT -m state -- state NEW -m tcp -p tcp -- dport 22 -j ACCEPT -A RH - Firewall -1 - INPUT -m state -- state NEW -m tcp -p tcp -- dport 80 -j ACCEPT -A RH - Firewall -1 - INPUT -m state -- state NEW -m tcp -p tcp -- dport 443 -j ACCEPT -A RH - Firewall -1 - INPUT -j REJECT --reject - with icmp -host - prohibited COMMIT Restart the firewall: # / sbin / service iptables restart

Coming Up... 1 OS Install 2 SELinux 3 Firewall 4 Yum Packages 5 Time 6 System Accounts 7 OpenTUSK Software 8 Database

Install Packages Install services and Perl packages needed for OpenTUSK: # cd / tmp # curl -O https :// raw. github. com / opentusk / Opentusk / master / install / centos -5.8/ install_yum_packages. bash # bash install_yum_packages. bash

Coming Up... 1 OS Install 2 SELinux 3 Firewall 4 Yum Packages 5 Time 6 System Accounts 7 OpenTUSK Software 8 Database

Set the Timezone Set your local timezone from /usr/share/zoneinfo. For example, to set Nairobi time: # rm / etc / localtime # ln -s / usr / share / zoneinfo / Africa / Nairobi / etc / localtime

Update Time Note: The network time (NTP) steps may not be necessary depending on your virtual machine setup. Set the network time using NTP: # / usr / sbin / ntpdate 0. africa. pool. ntp. org

Fix NTP Edit /etc/ntp.conf to comment out the local clock and add African NTP servers to the pool:... server server server server 0. africa. pool. ntp. org 1. africa. pool. ntp. org 2. africa. pool. ntp. org 3. africa. pool. ntp. org /etc/ntp.conf... # Undisciplined Local Clock. This is a fake driver... # server 127.127.1.0 # local clock # fudge 127.127.1.0 stratum 10

Start NTP Start/restart the NTP time service: # / sbin / service ntpd restart # / sbin / chkconfig ntpd on

Coming Up... 1 OS Install 2 SELinux 3 Firewall 4 Yum Packages 5 Time 6 System Accounts 7 OpenTUSK Software 8 Database

tusk Create tusk user account: # / usr / sbin / groupadd -g 1100 tusk # / usr / sbin / useradd -c ' Tusk ' -u 1100 -g tusk -d / usr / local / tusk tusk # / usr / sbin / usermod -a -G tusk apache # chmod 755 / usr / local / tusk

tuskoper Create a tuskoper account with system privileges: # / usr / sbin / useradd tuskoper # / usr / sbin / usermod -a -G tuskoper wheel, apache, tusk # passwd tuskoper Note: Creating a tusk operator account is optional but recommended.

sudo Setup sudo for tuskoper and the wheel group with visudo Add tuskoper line below root Uncomment wheel line No spaces, only tabs /etc/sudoers... ## Allow root to run any commands anywhere root ALL =( ALL ) ALL tuskoper ALL =( ALL ) ALL... ## Allows people in group wheel to run all commands % wheel ALL =( ALL ) ALL...

Coming Up... 1 OS Install 2 SELinux 3 Firewall 4 Yum Packages 5 Time 6 System Accounts 7 OpenTUSK Software 8 Database

Download OpenTUSK Download OpenTUSK from Github: # cd / usr / local / tusk # git clone https :// github. com / opentusk / Opentusk. git # ln -s Opentusk current

Coming Up... 1 OS Install 2 SELinux 3 Firewall 4 Yum Packages 5 Time 6 System Accounts 7 OpenTUSK Software 8 Database

Start MySQL Recommended: Secure MySQL root user with the mysql secure installation command. Start the MySQL database and add an administrative user: # / sbin / chkconfig mysqld on # / sbin / service mysqld start # mysql -u root mysql > grant all on *.* to ' tuskoper '@' localhost ' -> identified by '< password >' with grant option ; mysql > flush privileges ; Optional: Setup.my.cnf file for tuskoper

Resources Official website: http://opentusk.org/ Wiki documentation: https://wikis.uit.tufts.edu/confluence/display/ TUSKpub/Home Source code: https://github.com/opentusk/opentusk