Services & Settings cyen.

Slides:



Advertisements
Similar presentations
Introduction to Linux Linux startup process Unix Shells and scripts.
Advertisements

Web Application Server Apache Tomcat Downloading and Deployment Guide.
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.
Apache Installation by Jack Davis. Web Servers The Apache HTTP Server is the most widely used web server on the Internet. Apache is fast, free, and full-featured.
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
Processes & Daemons Chapter IV / Part III. Commands Internal commands: alias, cd, echo, pwd, time External commands, code is in a file: grep, ls, more.
Web Client/Server Communication A290/A590, Fall /09/2014.
SquirrelMail for Webmail AfNOG 2013 Scalable Internet Services (SS-E) Presented by Michuki Mwangi Lusaka, Zambia (Original Materials by Joelja)
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.
Basic Service & Settings pmli. Basic Service e.g. http, ftp, etc.
Network Services CSCI N321 – System and Network Administration Copyright © 2000, 2007 by Scott Orr and the Trustees of Indiana University.
1 Apache. 2 Module - Apache ♦ Overview This module focuses on configuring and customizing Apache web server. Apache is a commonly used Hypertext Transfer.
Apache Web Server v. 2.2 Reference Manual Chapter 1 Compiling and Installing.
BIND THE DNS SERVER TO USE !. DNS Domain Name Services Name to IP resolving /etc/hosts /etc/resolv.conf.
Open Source Server Side Scripting ECA 236 Open Source Server Side Scripting Installation and Testing.
Linux Services Muhammad Amer. 2 xinetd Programs  In computer networking, xinetd, the eXtended InterNET Daemon, is an open-source super-server daemon.
Basic Router Configuration 1.1 Global configuration Cisco allows us to configure the router to support various protocols and interfaces. The router stores.
Apache Web Server Quick and Dirty Evelyn NAMARA for AfNOG 2014 (Originally by Joel Jaeggli for AfNOG 2007) ‏
Drush: The Drupal Shell Utility Trevor Mckeown Founder & Owner Sublime Technologies
1 Session 1: Introduction to PHP & MySQL iNET Academy Open Source Web Development.
Apache Web Server Quick and Dirty Kevin G. Chege for AfNOG 2013 (Originally by Joel Jaeggli for AfNOG 2007) ‏
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
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)
Sys Admin Course Service Management Fourie Joubert.
1 Figure 6-5: Turning Off Unnecessary Services Unnecessary Services  Operating system vendors used to install many services by default  This made them.
Package Administration 3/14/ Software package administration adds software to systems and removes software from systems Sun and its third-party.
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.
LINUXCHIX WEBMAIL. Software run by an ISP or online service that provides access to send, receive, and review using only your Web browser. Users.
Apache Web Server v. 2.2 Reference Manual Chapter 2 Starting Apache.
CACI Proprietary Information | Date 1 Upgrading to webMethods Product Suite Name: Semarria Rosemond Title: Systems Analyst, Lead Date: December 8,
PRESENTED BY ALI NASIR BITF13M040 AMMAR HAIDER BITF13M016 SHOIAB BAJWA BITF13M040 AKHTAR YOUNAS BITF13M019.
Troubleshooting Directories and Files Debugging
Fundamental of Databases
Chap-I Network and System Configuration in Linux
Update on revised HEPiX Contextualization
Section 4 – Link Access Module (Lam) aka Data Adapters
beas WEB App Installation
SquirrelMail for Webmail
Upgrade SFX V3 to V4 Lieve Rottiers.
Chapter 11 – Processes and Services
CHAPTER 7.
DHCP server & Client Objectives Contents
SUBMITTED BY: NAIMISHYA ATRI(7TH SEM) IT BRANCH
CDT Build/Run/Debug in Container
Services & Settings.
June 2011 David Front Weizmann Institute
Network Services CSCI N321 – System and Network Administration
Network Services.
Module 1 Introduction to PHP 11/30/2018 CS346 PHP.
OPS235: Week 1 Installing Linux (Lab1: Investigations 4 - )
COP 4343 Unix System Administration
Configuration Of A Pull Network.
Computer System Administration Homework 3 – File Server
Services & Settings.
System Administration Practice Homework2 - File System Server
APACHE WEB SERVER.
Linux Filesystem Management
Services Management frank.
Services & Settings lctseng.
Presentation transcript:

Services & Settings cyen

Why do we have this talk 看到這個,我囧rz了

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

Common Flow of Running a Service Installation Through ports, packages, or source tarballs Configuration Service specific config file(s) rc.conf Start rc.d/* Maintenance Updating

Configuration Files (1/3) Local installed programs’ configuration files are located under /usr/local/etc Daemon → program-name.conf pure-ftpd.conf user-program → program-namerc wgetrc screenrc Default config file usually installed with .sample or .default suffix pure-ftpd.conf.sample or different suffix for different purpose php.ini-dist php.ini-recommended copy before use it

Configuration Files (2/3) A program with multiple config files are usually located in /usr/local/etc/program-name/ apache22 postfix Most config files have clear comment at the beginning or before each description Most popular styles key <space>value key = value Read documents to know each option’s meaning pure-ftpd.conf: # IP address/port to listen to (default=all IP and port 21) # Bind 127.0.0.1,21 # Fork in background Daemonize yes 6

Configuration Files (3/3) Some with local effectiveness Markup language-like <directory /path> setting-for-this-path… </direction> Samba、rsync [xxxx] settings… [yyyy] settings….

Scripts for starting/stopping a service RC Script Scripts for starting/stopping a service

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 ….

How to use rc script(1/2) Example ntpd 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”

How to use rc script(2/2) Status Reload [One | fast | force] 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 set rc_force=yes Fast Skip pid check

Local installed service 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 /usr/local/etc/rc.d/pure-ftpd