Basic Service & Settings pmli. Basic Service e.g. http, ftp, etc.

Slides:



Advertisements
Similar presentations
Chapter 9: Understanding System Initialization The Complete Guide To Linux System Administration.
Advertisements

Web Application Server Apache Tomcat Downloading and Deployment Guide.
1 Configuring Internet- related services (April 22, 2015) © Abdou Illia, Spring 2015.
20-753: Fundamentals of Web Programming 1 Lecture 11: Web Server Case Study Fundamentals of Web Programming Lecture 11: Web Server Case Study.
Chapter Apache Installation on Linux. Acknowledgement The contribution made by Darrin Morison is acknowledged.
Homework 5b: Samba. Computer Center, CS, NCTU 2 Network-based File Sharing (1)  NFS (UNIX-based) mountd is responsible for mount request nfsd and nfsiod.
Linux Boot Up Process Bootstrapping –Bootstrapping is the standard term for “ starting up a computer”. During bootstrapping, the kernel is loaded into.
Chapter Apache Installation in Linux- Mandrake. Acknowledgment The following information has been obtained directly from
Apache : Installation, Configuration, Basic Security Presented by, Sandeep K Thopucherela, ECE Department.
Network File System Joe Paulowskey Joe Paulowskey Susan Mulholland Joe Woulfe.
Linux Operations and Administration
AppCMD Quick Reference Guide for IIS 7 installed on Win2k8 Servers.
Booting and boot levels
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.
MARC 10.5 Update John Harvey. MARC 10.5 Changes  Backup Scripts restructured  Added a script to generate scripts outside of MARC  Generate Scripts.
CCA Port, Component & Application Build Skeleton Templates “A new script toolkit for generating CCA build skeletons” Torsten Wilde and James Kohl Oak Ridge.
VsFTP in Linux. Introduction to FTP The File Transfer Protocol (FTP) is used as one of the most common means of copying files between servers over the.
1 Managing Printers (Week 12, Monday 3/26/2007) © Abdou Illia, Spring 2007.
1 Apache. 2 Module - Apache ♦ Overview This module focuses on configuring and customizing Apache web server. Apache is a commonly used Hypertext Transfer.
COEN 252: Computer Forensics Network Analysis and Intrusion Detection with Snort.
Maintain Installed Applications. Computer Center, CS, NCTU 2 In Ports Tree  / Makefile  COMMENT pkg-descr  WWW pkg-message  Shown after installed.
FTP File Transfer Protocol. Computer Center, CS, NCTU 2 FTP  FTP File Transfer Protocol Used to transfer data from one computer to another over the internet.
Guide to Linux Installation and Administration, 2e1 Chapter 10 Managing System Resources.
Linux Services Muhammad Amer. 2 xinetd Programs  In computer networking, xinetd, the eXtended InterNET Daemon, is an open-source super-server daemon.
Cisco ASA 5505 Joseph Cicero Northeast Wisconsin Technical College.
Basic Router Configuration 1.1 Global configuration Cisco allows us to configure the router to support various protocols and interfaces. The router stores.
Week #3 Objectives Partition Disks in Windows® 7 Manage Disk Volumes Maintain Disks in Windows 7 Install and Configure Device Drivers.
1 Programming with MATLAB ผศ. ดร. อนันต์ ผลเพิ่ม Anan Phonphoem
Network Security: Lab#5 Port Scanners and Intrusion Detection System
Agilent Technologies Copyright 1999 H7211A+221 v Capture Filters, Logging, and Subnets: Module Objectives Create capture filters that control whether.
FTP File Transfer Protocol. Computer Center, CS, NCTU 2 FTP  FTP File Transfer Protocol Used to transfer data from one computer to another over the internet.
COMP075 OS2 Managing Linux Services. Services? Services are processes that start, usually when the system starts, and run, usually, until the system stops.
Free Powerpoint Templates Page 1 Free Powerpoint Templates Users and Documents.
Copyright © 2002 Delmar Thomson Learning Chapter 14 Documenting Your PLC System.
CCNA2 Chapter 2 Cisco IOS Software. Cisco’s operating system is called Cisco Internetwork Operating System (IOS) IOS provides the following network services:
Linux Operations and Administration
Basic Service & Settings xclin. Computer Center, CS, NCTU 2 If you want to transfer a file…
Linux Operations and Administration
Unicenter NSM Debugging Tips & Tricks -Release r11.
Integrity Check As You Well Know, It Is A Violation Of Academic Integrity To Fake The Results On Any.
Lab 8 Overview Apache Web Server. SCRIPTS Linux Tricks.
Module 4 DNS Installation. DNS Software BIND (80+ %) Berkeley Internet Name Domain NSD (Name Server Daemon)
Installing Applications in FreeBSD lctseng. Computer Center, CS, NCTU 2 Before we start  Permission issue root: the super user Like administrator in.
IBM Http Server Basic Administration. CONTENTS Web server IHS How does IHS differ from Apache Basic configurations Advanced Configurations Performance.
Router Startup and Setup Honolulu Community College Cisco Academy Training Center Semester 2 Version 2.1.
SVN code server for AliRoot P.Hristov 18/10/2007.
1 Figure 6-5: Turning Off Unnecessary Services Unnecessary Services  Operating system vendors used to install many services by default  This made them.
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.
Installing VERITAS Cluster Server. Topic 1: Using the VERITAS Product Installer After completing this topic, you will be able to install VCS using the.
CACI Proprietary Information | Date 1 PD² SR13 Client Upgrade Name: Semarria Rosemond Title: Systems Analyst, Lead Date: December 8, 2011.
Apache Web Server v. 2.2 Reference Manual Chapter 2 Starting Apache.
1 Dr. Tom Hicks Computer Science Department Trinity University 1.
© 2007 IBM Corporation ® Netcool Impact 7.x Clustering Setup Pedro Guerra - IBM Tivoli Support Engineer This call is being recorded, You may hang up if.
Technical Notification When upgrade to Firmware V02.040
PRESENTED BY ALI NASIR BITF13M040 AMMAR HAIDER BITF13M016 SHOIAB BAJWA BITF13M040 AKHTAR YOUNAS BITF13M019.
FTP File Transfer Protocol hlku. Computer Center, CS, NCTU 2 FTP  FTP File Transfer Protocol Used to transfer data from one computer to another over.
Section 4 – Link Access Module (Lam) aka Data Adapters
CHAPTER 7.
DHCP server & Client Objectives Contents
Services & Settings.
June 2011 David Front Weizmann Institute
Configuring Internet-related services
OPS235: Week 1 Installing Linux (Lab1: Investigations 4 - )
Computer System Administration Homework 3 – File Server
Services & Settings.
APACHE WEB SERVER.
Services & Settings cyen.
Services Management frank.
Onno W. Purbo ddclient in Linux Onno W. Purbo
Services & Settings lctseng.
Presentation transcript:

Basic Service & Settings pmli

Basic Service e.g. http, ftp, etc.

Computer Center, CS, NCTU 3 Most Common Flow 1.Install  Package, ports and tar-ball 2.Configuration  Program specified config file  rc.conf 3.Startup 4.Maintenance after installation of a service rc.conf: used for booting process

Computer Center, CS, NCTU 4 Configuration Files (1/3)  Local-installed programs’ configuration files can be found in /usr/local/etc Daemon → program-name.conf  dhcpd.conf user-program → program-namerc  wgetrc  tinrc  Default config file usually installed with.sample or.default suffix dhcpd.conf.sample or different suffix for different purpose php.ini-dist php.ini-recommended copy before use it We got sample files accompanied! Location of files And naming convention

Computer Center, CS, NCTU 5 Configuration Files (2/3)  A program with many config files are usually located in /usr/local/etc/program-name/ apach22 postfix  Most config files have clear comment at the beginning or before each description  Most popular styles name value name = value Read documents to know each option’s meaning Example: proftpd.conf # Port 21 is the standard FTP port. Port 21 # To prevent DoS attacks, set the maximum # number of child processes to 30. ….. MaxInstances 30 Put into dir. if more than one file Configuration files with comments inside and consistent naming convention

Computer Center, CS, NCTU 6 Configuration Files (3/3)  Some with local effectiveness Markup language-like setting-for-this-path… Samba 、 rsync [xxxx] settings… [yyyy] settings…. Settings for specific conditions…

RC Script Scripts for starting/stopping a service

Computer Center, CS, NCTU 8 RC Script  Dependency between each service is described in header of the script  Rcorder is used to find out dependency ordering of each script  Each rc script define what to do when start/stop …  /etc/rc.subr defines what to do & check before/after start stop …. Automatically starting and… Dependency!! Dependency!!

Computer Center, CS, NCTU 9 How to use rc script(1/2)  Example ntpd >/etc/rc.d/ntpd Usage: /etc/rc.d/ntpd [fast|force|one](start|stop|restart|rcvar|status|poll)  After booting… (rc.conf) Pidfile: Record (master) process id of the service  Start / Stop / Restart (Start after stop)  Rcvar Display which rc.conf variable are used to control the startup of service Ex: ntpd_enable=“YES” Usage of RC script on a service: Take ntpd as an example Display settings in rc.conf – you can’t start a service without setting Enable to “YES”

Computer Center, CS, NCTU 10 How to use rc script(2/2)  Status Check the service is running or not  Reload Reload configuration file if the service support  [One | fast | force] One  set rcvar = yes  Start the service even if XXXX_enable=NO Force  Set rcvar = yes and Fast  Skip pid check Force a service to run… (skip rc.conf check) (skip pid check)

Computer Center, CS, NCTU 11 Local installed service  After install a service by ports, ports will display This port has installed the following startup scripts which may cause these network services to be started at boot time. /usr/local/etc/rc.d/pure-ftpd  Use path-to-rcscript rcvar command to know which variable should set to “YES” to enable this service  For further information, read comments from that script # Add the following lines to /etc/rc.conf to enable pure-ftpd: # # pureftpd_enable="YES" # # For launch uploadscript daemon define # pureftpd_upload_enable="YES" # pureftpd_uploadscript="/full/path/to/launch_script"