Chapter 5 Linux Services

Slides:



Advertisements
Similar presentations
Linux+ Guide to Linux Certification, Second Edition Chapter 14 Network Configuration.
Advertisements

Layer 7- Application Layer
1 實驗十:以 Linux 架設 Internet/Intranet 伺服 器 教師: 助教:. 2 Outline  Background  Linux system  Popular Internet services  Internet services  Internet  HTTP.
How Clients and Servers Work Together. Objectives Learn about the interaction of clients and servers Explore the features and functions of Web servers.
Guide To UNIX Using Linux Third Edition
Apache : Installation, Configuration, Basic Security Presented by, Sandeep K Thopucherela, ECE Department.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Application Layer Functionality and Protocols Network Fundamentals – Chapter.
E-Commerce The technical side. LAMP Linux Linux Apache Apache MySQL MySQL PHP PHP All Open Source and free packages. Can be installed and run on most.
Securing LAMP: Linux, Apache, MySQL and PHP Track 2 Workshop PacNOG 7 July 1, 2010 Pago Pago, American Samoa.
Linux Operations and Administration
Telnet/SSH: Connecting to Hosts Internet Technology1.
Section 6.1 Explain the development of operating systems Differentiate between operating systems Section 6.2 Demonstrate knowledge of basic GUI components.
Eucalyptus Virtual Machines Running Maven, Tomcat, and Mysql.
UNIX ™ /Linux Overview Unix/IP Preparation Course June 9, 2013 Lusaka, Zambia.
Chapter 7: Using Windows Servers to Share Information.
Chapter 9: Novell NetWare
1 Web Server Administration Chapter 1 The Basics of Server and Web Server Administration.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Application Layer Functionality and Protocols.
The Saigon CTT Chapter 16 Remote Connectivity. The Saigon CTT  Objectives  Explain : telnet rsh ssh  Configure FTP.
FTP Server and FTP Commands By Nanda Ganesan, Ph.D. © Nanda Ganesan, All Rights Reserved.
Linux+ Guide to Linux Certification, Second Edition Chapter 14 Network Configuration.
AE6382 Secure Shell Usually referred to as ssh, the name refers to both a program and a protocol. The program ssh is one of the most useful networking.
Hour 7 The Application Layer 1. What Is the Application Layer? The Application layer is the top layer in TCP/IP's protocol suite Some of the components.
1 Electronic Messaging Module - Electronic Messaging ♦ Overview Electronic messaging helps you exchange messages with other computer users anywhere in.
The Internet The internet is simply a worldwide computer network that uses standardised communication protocols to transmit and exchange data.
Internet Business Foundations © 2004 ProsoftTraining All rights reserved.
Application Services COM211 Communications and Networks CDA College Theodoros Christophides
Computer Networking From LANs to WANs: Hardware, Software, and Security Chapter 13 FTP and Telnet.
Ozan Şahin Ömer Üçler.  Purpose of Project  Used Technologies  Database Design  Problems&Solutions  Use Case’s  Demo.
1 Linux Security. 2 Linux is not secure No computer system can ever be "completely secure". –make it increasingly difficult for someone to compromise.
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.
ORAFACT The Secure Shell. ORAFACT Secure Shell Replaces unencrypted utilities rlogin and telnet rsh rcp Automates X11 authentication Supports tunneling.
Protocols COM211 Communications and Networks CDA College Olga Pelekanou
Linux Services Configuration
Introduction TO Network Administration
Linux Operations and Administration Chapter Twelve Configuring a Mail Server.
Web programming Part 1: environment 由 NordriDesign 提供
SSH. 2 SSH – Secure Shell SSH is a cryptographic protocol – Implemented in software originally for remote login applications – One most popular software.
Chapter 7: Using Network Clients The Complete Guide To Linux System Administration.
When you cannot be there Remote access and collaboration Raul Suarez Dec 2009.
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 Password Vault by Ali Can Oğul. Codefellas2 Developer: Ali Can Oğul Sponsor: Özgür Yazılım A. Ş.
1 Chapter 1 INTRODUCTION TO WEB. 2 Objectives In this chapter, you will: Become familiar with the architecture of the World Wide Web Learn about communication.
Web and Proxy Server.
2nd year Computer Science & Engineer
Secure services Unit-IV CHAP-1
Chapter 7: Using Windows Servers
Instructor Materials Chapter 5 Providing Network Services
Web Development Web Servers.
Chapter 9 Router Configuration (Ospf, Rip) Webmin, usermin Team viewer
Chapter 3 Maintaining Security
Labs – Installing a FTP Server
Module 4 Remote Login.
Chapter 4 Booting and Shutdown
Chapter 7 Installing Program &Backup Tool
SUBMITTED BY: NAIMISHYA ATRI(7TH SEM) IT BRANCH
FTP - File Transfer Protocol
Lab 1 introduction, debrief
Chapter 2 User Management
File Transfer Olivia Irving and Cameron Foss
Telnet/SSH Connecting to Hosts Internet Technology.
Networks Software.
Single Sign-on with Kerberos
Computer Security Distributed System Security
Web Servers / Deployment
Applications Layer Functionality & Protocols
Distributed Systems Bina Ramamurthy 4/22/2019 B.Ramamurthy.
APACHE WEB SERVER.
Chapter 7 Network Applications
Web Application Development Using PHP
Presentation transcript:

Chapter 5 Linux Services CSNB113 SYSTEM ADMINISTRATION College of Information Technology Universiti Tenaga Nasional (UNITEN) SN 2017

Objectives Know the services running on the server SN 2017

Introduction A Linux service is an application (or set of applications) that runs in the background waiting to be used, or carrying out essential tasks. Please remember that services is a application, so that that a lot of application can be used for some certain services. SN 2017

Types of common services A lot of services running But we will only focus 5 services related to Linux server. Web server Database server Email server FTP server SSH server SN 2017

Webserver Webserver services is a services that that sends the web browser the code to display a web page. So me of the example of the webserver application that can be run is Apache, Nginx, Tomcat and lighthttpd. We will use the Apache web server for our class. SN 2017

Webserver To start the services, use this command: To install the apache, use this command sudo apt-get install apache2 To start the services, use this command: sudo /etc/init.d/apache2 start To stop the services, use this command: sudo /etc/init.d/apache2 stop SN 2017

Webserver /var/www The webserver configuration file is “httpd.conf” This conf file is located at /etc/apache2. It stores information on various functions of the server, which can be edited by removing or adding a number sign "#" at the beginning of the line, thus setting values for each directive. The root directories for Apache is at /var/www SN 2017

Database server Dedicated host to run and serve up the resources, typically one or more software applications. There are also several clients who can connect to the server and use the resources offered and hosted by this server. Most of the Database servers works with the base of Query Language. Each Database understands its query language and converts it to Server readable form and executes it to retrieve the results. Ubuntu provides two popular database servers: MySQL PostgreSQL SN 2017

Database server To start the services, use this command: To install the mysql, use this command sudo apt-get install mysql-server To start the services, use this command: sudo service mysql start /etc/init.d/mysql start To stop the services, use this command: sudo service mysql stop /etc/init.d/mysql stop SN 2017

Database server This file is located at /etc/mysql/my.cnf The database server configuration file is “my.cnf” This file is located at /etc/mysql/my.cnf Phpmyadmin also must be install along with mysql. Phpmyadmin is specifically written for administering MySQL servers. Written in PHP, and accessed through a web browser, phpMyAdmin provides a graphical interface for database administration tasks SN 2017

Database server To install and link the apache and phpmyadmin to the mysql server, use this command: sudo apt-get install libapache2-mod-auth-mysql php5-mysql phpmyadmin sudo ln-s /usr/share/phpmyadmin /var/www/phpmyadmin SN 2017

Email server E-mail server is a services that works as your virtual post office. A mail server usually consists of: Storage area - where e-mail is stored for local users. User definable rules - determine how the mail server should react to the destination of a specific message Database of user accounts - mail server recognizes and will deal with locally Communications modules - components that actually handle the transfer of messages to and from other mail servers and email clients. Ubuntu provides two popular email servers which is sendmail dan postfix SN 2017

Email server To start the services, use this command: To install the postfix, use this command sudo apt-get install postfix To start the services, use this command: sudo postfix start To stop the services, use this command: sudo postfix stop SN 2017

Email server /etc/postfix The email server configuration file is “main.cf” This conf file is located at /etc/postfix. The Postfix main.cf configuration file specifies a very small subset of all the parameters that control the operation of the Postfix mail system. Parameters not explicitly specified are left at their default values. The root directories for Postfix is at /etc/postfix SN 2017

Email server To reconfigure the email server sudo dpkg-reconfigure postfix This configuration has been save at main.cf file. It can be change by editing the main.cf file. Administering a Postfix server can be a very complicated task. At some point you may need to turn to the Ubuntu community for more experienced help SN 2017

FTP server FTP is an acronym for File Transfer Protocol. FTP is used to transfer files between computers on a network. FTP is use to exchange files between computer accounts, transfer files between an account and a desktop computer, or access online software archives. The popular FTP server in Ubuntu is vsftpd, wu-ftpd, proftpd, SN 2017

FTP server To start the ftp services, use this command: To install the ftp server , use this command sudo apt-get install vsftpd To start the ftp services, use this command: sudo /etc/init.d/vsftpd start To stop the ftp services, use this command: sudo /etc/init.d/vsftpd stop SN 2017

FTP server The email server configuration file is “vsftpd.conf” This conf file is located at /etc/vsftpd.conf The vsftpd.cont configuration file may be used to control various aspects of vsftpd's behavior. This behaviour is useful because you may wish to use an advanced inetd such as xinetd to launch vsftpd with different configuration files on a per virtual host basis. SN 2017

SSH server SSH server is a software program which uses the secure shell protocol to accept connections from remote computers. SSH is actually a suite of three utilities - slogin, ssh, and scp - that are secure versions of the earlier UNIX utilities, rlogin, rsh, and rcp. SSH commands are encrypted and secure in several ways. Both ends of the client/server connection are authenticated using a digital certificate, and passwords are protected by being encrypted. SSH allows you to connect to your server securely and perform Linux command-line operations SFTP/SCP file transfers and remote terminal connections are popular use cases for an SSH server SN 2017

SSH server To start the ssh services, use this command: To install the ssh server, use this command sudo apt-get install openssh-server To start the ssh services, use this command: sudo service sshd start To stop the ssh services, use this command: sudo service sshd stop SN 2017

SSH server The ssh server configuration file is “sshd_config” The main sshd configuration file is located at /etc/ssh/sshd_config SN 2017

References Das, S. (2012). Your UNIX/LINUX The Ultimate Guide: Third Edition. McGraw-Hill Hahn, H. (2008). Harley Hahn's Guide to Unix and Linux. California: McGraw-Hill Higher Education SN 2017