Review Security Hardening IPTables SELinux. Today Installations and updates – Rpm command and packages Apache “Issue Ownership”

Slides:



Advertisements
Similar presentations
Introduction to Linux Recap Installing programs Introduction to Video Editing with Linux.
Advertisements

FIRST SESSION - XAMPP Jeongmin Lee.  Jeongmin Lee  CS  PHD  Machine Learning, AI  Web System Development.
Copyright GeneGo CONFIDENTIAL »« MetaCore TM (System requirements and installation) Systems Biology for Drug Discovery.
1 Web Servers / Deployment Alastair Dawes Original by Bhupinder Reehal.
20-753: Fundamentals of Web Programming 1 Lecture 11: Web Server Case Study Fundamentals of Web Programming Lecture 11: Web Server Case Study.
Adding scalability to legacy PHP web applications Overview Mario A. Valdez-Ramirez.
OAAIS Enterprise Information Security Security Awareness, Training & Education (SATE) Program or UCSF Campus VPN.
UWWD In our quest to eliminate bad websites, we present…. HALLELUJAH!!
Apache : Installation, Configuration, Basic Security Presented by, Sandeep K Thopucherela, ECE Department.
Securing LAMP: Linux, Apache, MySQL and PHP Track 2 Workshop PacNOG 7 July 1, 2010 Pago Pago, American Samoa.
Penn State University College Of Education Understanding College of Education Resources.
SYST Web Technologies SYST Web Technologies Installing a Web Server (XAMPP)
Web Page A page displayed by the browser. Website Collection of multiple web pages Web Browser: A software that displays web pages on client computer.
Open Source Software WampServer Presented By Mr. R.Aravindhan.
By Jeerarat Boonyanit. As you can see I have chosen Cpanel for my server management tool. cPanel is a Linux based web hosting control panel that provides.
TOPIC 1 – SERVER SIDE APPLICATIONS IFS 234 – SERVER SIDE APPLICATION DEVELOPMENT.
Use my floppy disk. 1. copy short cut to desktop. 2.run NoAdHOSTS.exe 3. Surf without ad’s. 4.to reverse everything -edit out all url s you want to return.
Module 10 – Linux Installations. Wikipedia: Red Hat Package Manager or RPM Package Manager (RPM) is a package management system. The name RPM variously.
Web Server Configuration Alokes Chattopadhyay Computer & Informatics Centre IIT Kharagpur.
LGC Website and Customer On-line Tools LGC RESOURCE 2014.
UNIX ™ /Linux Overview Unix/IP Preparation Course June 9, 2013 Lusaka, Zambia.
Linux Operations and Administration
IOTA Improved Design and Implementation of a Modular and Extensible Website Framework Andrew Hamilton – TJHSST Computer Systems Lab Abstract.
Chromium OS is an open-source project that aims to build an operating system that provides a fast, simple, and more secure computing experience for people.
Session 10 Windows Platform Eng. Dina Alkhoudari.
1 ITSK 2611 Welcome. 2 Operating System 3 What is an OS Resource Manager –Disk –Memory –CPU Device Manager –Printers –Video Card –Sound Card Utility.
1 Apache. 2 Module - Apache ♦ Overview This module focuses on configuring and customizing Apache web server. Apache is a commonly used Hypertext Transfer.
FTP Server and FTP Commands By Nanda Ganesan, Ph.D. © Nanda Ganesan, All Rights Reserved.
Introduction to Linux ( I ) Sidney Fong 4 th Feb 2006.
Installing and Using MySQL and phpMyAdmin. Last Time... Installing Apache server Installing PHP Running basic PHP scripts on the server Not necessary.
Go to your school’s web locker site school name.schoolweblockers.com) Your user name is the first letter of your first name, the first 4.
Viruses Hackers Backups Stuxnet Portfolio Computer viruses are small programs or scripts that can negatively affect the health of your computer. A.
Intermediate 2 Software Development Process. Software You should already know that any computer system is made up of hardware and software. The term hardware.
Turning Windows 7 into a Web Server Ch 28. Understanding Internet Information Services.
What is a port The Ports Collection is essentially a set of Makefiles, patches, and description files placed in /usr/ports. The port includes instructions.
IT320 OPERATING SYSTEM CONCEPTS Unit 3: Welcome to Linux September 2012 Kaplan University 1.
General rules 1. Rule: 2. Rule: 3. Rule: 10. Rule: Ask questions ……………………. 11. Rule: I do not know your skill. If I tell you things you know, please stop.
 Load balancing is the process of distributing a workload evenly throughout a group or cluster of computers to maximize throughput.  This means that.
ASP. What is ASP? ASP stands for Active Server Pages ASP is a Microsoft Technology ASP is a program that runs inside IIS IIS stands for Internet Information.
Linux services troubleshooting. If you cannot connect to your service.. When you start service, check that it says ok (most services say that when starting.
Linux Services Configuration
TrainingRegister® Training Management Software Maintain Permanent Training Records for Each Individual Monitor and Track Required Training Know Who Needs.
Introduction TO Network Administration
Apache Web Server Architecture Chaitanya Kulkarni MSCS rd April /23/20081Apache Web Server Architecture.
Virtual Machines Module 2. Objectives Define virtual machine Define common terminology Identify advantages and disadvantages Determine what software is.
Day 15 Apache. Being a web server Once your system is correctly connected to the network, you could be a web server. –When you go to a web site such as.
XAMPP.
INTERNET APPLICATIONS CPIT405 Install a web server and analyze packets.
Website Update and Use of Official accounts Dr.Lasantha Ranwala ( MBBS,MSc-Biomedical Informatics) Medical Officer - Health Informatics RDHS Office.
APACHE INSTALL Linux: CentOS 6.5 WHAT IS APACHE Apache is an open source application which is governed by the GNU licensing for use and alteration of.
Installing a Moodle Test Site The painless and easy way.
Project Dragon Small Business Website Content Management System.
Linux Basics Part 2. VIM Editor vi improved Installed on most Linux machines Can be a bit confusing at first... o Cheat sheets FTW Other popular editors:
APACHE INSTALL AWS Linux (Amazon Web Services EC2)
Unit 3 Virtualization.
IT320 Operating System Concepts
Class Projects and Environment
COP 4343 Unix System Administration
CompTIA Server+ Certification (Exam SK0-004)
DHCP server & Client Objectives Contents
Benefits To Used PHP To Create Websites. PHP – Hypertext Transfer Protocol PHP consider the most famed programming language for developing websites or.
THE ARCHITECTURE AND FUNCTIONALITIES OF SELECTED MODULES.
Developing Web-Based Applications
Cloud based Open Source Backup/Restore Tool
Module 3 Building a web app.
Amazon Web Services as a team project platform
DHCP, DNS, Client Connection, Assignment 1 1.3
Web Servers / Deployment
Class Projects and Environment
Install MySQL Community Server and MySQL Workbench
Presentation transcript:

Review Security Hardening IPTables SELinux

Today Installations and updates – Rpm command and packages Apache “Issue Ownership”

Installing Items Several Different Ways – Build from source works on all systems – Download source code, unzip it, run ‘make file’ – Compiles it on your system – Annoying, time consuming, etc… Different distributions have ‘package managers’ – Debian/Ubuntu – Apt-Get / dpkg – SuSE - YaST

CentOS/RHEL Online (aka, requires internet connection) – yum – yum install # or update or…. – VERY easy, very nice, I highly recommend it Offline (aka, no internet connection) – Must know package name – rpm (RedHat Package Manager) – Flags will then lead us to install, uninstall, update, etc…

RPM Usage Simple installation – rpm -i – rpm -ivh List installed programs – rpm -qa #optional: Uninstall program – rpm -ev Notice difference between filename and package

RPM File Names An RPM filename will end in.rpm The name will usually contain package, version, OS version, and architecture CentOS 6 Apache installation file httpd el6.x86_64.rpm – Package: httpd – Apache version: – OS version: ‘Enterprise Linux’ 6 (el6) – Architecture: x86_64 (Intel, 64-bit)

Complex Installations Some packages will require a ‘depdency’ A dependency is another install package – Possibly another program, possibly a library For example, to run the GNU C++ Compiler (g++), you have to have the GNU C Compiler installed (gcc) g++ has a dependency of gcc rpm -R

Failures Dependencies 2 packages, 2 libraries Packages will most likely appear with that name Libraries will have to be Google’d for

Library Packages libapr-1.so.0 – library package In an offline install this will not show up as libapr.rpm or any variation

Libapr-1.so.0 Easily handled - apr package and apr-util packages contain the libapr and libapr-util libraries Go through each dependency from the top, install all the ones you can easily Then try to install the main packages and Google anything left over

Successful Install rpm -ivh apr-util el6_0.1.x86_64.rpm

So We Can Use It We can see it in the output of rpm -qa httpd Even more, we can use it

What Is A Web Server? “The hardware or software that delivers web content” –wikipedia Thanks, wikipedia, that’s helpful Web server is a computer running – Windows OS & IIS application – Linux OS & Apache application – There are others, those are the big ones They hold the code files that make up web pages (facebook, Amazon, ESPN, etc…)

Apache Web Server “LAMP Stack” – Linux, Apache, MySQL, PHP – Everything you need to build a ‘feature-rich’ website (ESPN.com) Config file in /etc/httpd/conf/httpd.conf Contains ‘modules’ that help develop web site Code files in /var/www – Expected to be ‘feature rich’

Apache Details Service named httpd (so we can control it by the services command & see it in ps) – What would that command be? Starts about 8 processes named httpd Sits “on top” of our networking scripts, opens port 80 to “listen” for incoming web (http) connections, etc…

Apache Config So when we browse to the IP

Quick Aside – Regular Tasks Starting out in IT, expect: Programmers: documenting code – Possibly minor bug fixes Networking: monitoring – I actually know the least about what entry-level networking is Sysadmin: Password resets, low-level user calls – Aka, help desk

Help Desk Help desk isn’t a bad place to be But it’s hard to move out into ‘sysadmin’ work – Easier to move up to L2/L3 support – Internships are the way to go Regardless, you’ll usually have a ‘script’

Help Desk In that script you won’t have too much freedom, which means you won’t have too much opportunity to show off skills Sometimes you do, and sticking with something (especially the really annoying things) are what managers look for They call it “issue ownership” – Do you take the next step when it’s not in your script?

Example Apache is not installed on our VM’s

Or You Might Get A Ticket “User X Can’t Log In” – Login to what?! – Obviously not the ticketing system This is why I structure our class this way – This is also the least-favorite assignment of many students “Scope” the problem Outline the fix Implement Write-up

Your Homework and Practical Install Apache on our vm’s – Using rpm, not using yum Turn in a short write-up of what you did and how Documentation is necessary – 1) tells you where you are – 2) tells you what you’re doing – 3) covers your behind

Tickets IDS was owned by ‘Enterasys’ (now Dell) Awful support, except for 2/3 guys Used their tickets to show their mgmt they weren’t responding (many times) Got 2 of the “good” responders dedicated to our account I’m sure they were chewed out after the 4 th /5 th /6 th time we escalated through our mgmt

Own Study Installations and updates – Rpm command and packages – command-examples/ command-examples/ Apache – inistration/s1-apache-inshttpd-CA.html inistration/s1-apache-inshttpd-CA.html