Published on

This Include YUM, NFS, SAMBA, FTP, APACHE (HTTP) servers. which include snapshots how to configure above defined servers. Good for Fresher in Linux.

Published in: Technology
1 Like
  • Be the first to comment

No Downloads
Total views
On SlideShare
From Embeds
Number of Embeds
Embeds 0
No embeds

No notes for slide


  2. 2. RH253 arms students with in-depth knowledge needed to configure common Red Hat Enterprise Linux RH133 focuses on skills in network services. Network systems administration on Red Hat Linux, to a level where you and local security tasks are can attach and configure a also topics of this courseThe first course for both RHCT workstation on an existingand RHCE certification tracks, network. This course providesRH033 is for who have never intensive hands-on training onused Linux or UNIX, and who Red Hat Enterprise Linux, and ithave no prior command line prepare for the RHCTexperience in any other Certification .operating system. You aretaught the basics of a Red HatEnterprise Linux environment,and it prepares you for yourfuture role as a systemadministrator.
  4. 4. Redhat Package ManagementTo query what software packages have been installed • $ rpm -qaTo query a software package • $ rpm -q emacsTo install a software package • $ rpm -i emacs-21.4-19.el5.i386.rpm • Error: Failed dependencies:Disadvantages • Very primitive • Have to resolve software dependencies manually
  5. 5.  Yellowdog Update, Modified To find out what software packages have been installed on a system • $ yum list  Installed Packages …  gawk.i386 3.1.5-14.e15 installed  gcc.i386 4.1.2-14.e15 installed …  Available Packages …  emacs.i386 21.4-19.e16 base …
  6. 6.  To find out if nfs has been install • $ yum list nfs To install nfs • $ yum install nfs To remove nfs • $ yum remove nfs
  7. 7. Class-full addressing• Class A(1-127)• Class B(128-191) Class-less addressing• Class C(192-223) • CIDR(Classless Inter-Domain• Class D(224-239) Routing)• Class E(240-255) • FLSM(Fixed Length Subnet Masking) • VLSM(Variable Length Subnet Masking)
  8. 8. Created by the Host Configuration Working Dynamic Host Standard protocol Group of the InternetConfiguration Protocol Engineering Task Force (IETF) Utilizing ports: • 67 – connections to server Uses client–server Runs over UDP • 68 – connections to client model in general
  9. 9. • Extensions: • Supports temporary allocation (“leases”) of IP addresses • DHCP client can acquire all IP configuration parameters needed to operate• DHCP is the preferred mechanism for dynamic assignment of IP addresses• DHCP can interoperate with BOOTP clients. 13
  10. 10. The Network File System (NFS) is a distributed file system that allowsusers to access files and directories located on remote computers andtreat those files and directories as if they were local. For example,users can use operating system commands to create, remove, read,write, and set file attributes for remote files and directories.NFS was developed by Sun Microsystems in 1994NFS allows fill or partial file systems from other hosts to be mounted tothe local file system
  11. 11. NFS makes files on a remote host appear as part of the localhost’s file systemNFS allows you to centralize administration of disks instead ofduplicating directories on every systemOnly the servers need to be backed up if clients do not storedata locallyResources that need to be shared must be exported by theserverAny file system or subset may be exported
  12. 12. Limited security Clients and servers trust each other unconditionallyHost names can be spoofed (a machineclaiming to be another)
  13. 13. Means making a local directory of file available for mounting The file is /etc/exports over the network by NFS clients One line per resource NFS server maintain a table of containing the path to the exported resources directory to be exported • $ exportsfs #shows current exportsfollowed by a space separated table • $ exprotsfs -a #exports all resources list of hosts that may access in exports file the resource followed by a parenthesized list of options
  14. 14. Samba is an Open Source Suite, that provides seamless file and printservices to SMB/CIFS clients. Samba is freely available. With Samba, you can share a Linux file system with Windows and vice versa. You can also share printers connected to either Linux or a system with Windows.Samba enables a Linux or Unix server to function as a file server forclient PCs running Windows software.
  15. 15. •What is SMB?•SMB stands for – Server Message Block.•It is a protocol by which a lot of PC-related machines sharefiles and printers and other information such as lists ofavailable files and printers.•Operating systems that support this natively includeWindows NT, OS/2, and Linux.•What is CIFS?•CIFS – Common Internet File System is a protocol that isbasically an updated SMB.
  16. 16. The File Transfer Protocol (FTP) is used as one of the most common file server, which used to download/upload filesfrom/to web server over the Internet. Most web based download sites use the built in FTP capabilities of web browsers and therefore most server oriented operating systems usually include an FTP server application as part of the software suite. Linux is no exception.This will show you how to make your Linux server into an FTPserver using the default Very Secure FTP Daemon (VSFTPD) package included in RHEL 6.
  17. 17. Type -: System V-managed servicePackage -: vsftpdDaemon -: /usr/sbin/vsftpdScript -: /etc/init.d/vsftpdPorts -: 21 (ftp), 20 (ftp-data)Configuration -: /etc/vsftpd/vsftpd.conf, /etc/vsftpd.ftpusers, /etc/pam.d/vsftpdLog -: /var/log/xferlogRelated -: tcp_wrappers, ip_conntrack_ftp, ip_nat_ftp
  18. 18. Command Descriptionget filename Retrieve file from servermget filename* Retrieve multiple files from server*put filename Copy local file to servermput filename* Copy multiple local files to server*open server Begin login to serverbye / close / exit Logoff serverls / dir List files in current remote dir on serverlcd Change local directorycd Change remote directoryrhelp / remotehelp Lists commands the server accepts * Sent to server as multiple command by User Protocol Interpreter
  19. 19. 1. Limit network traffic and increase network performance.2. Provide traffic flow control.3. Provide a basic level of security for network access.4. Decide which types of traffic are forwarded or blocked at therouter interfaces. For example: Permit e-mail traffic to be routed, butblock all telnet traffic.5. Allow an administrator to control what areas a client can access ona network.6. If ACLs are not configured on the router, all packets passing throughthe router will be allowed onto all parts of the network.
  20. 20. The Apache HTTP Server Project is an effort to develop and maintain an open-source HTTP server for modern operating systems includingUNIX and Windows NT. The goal of this project is to provide a secure, efficient and extensibleserver that provides HTTP services in sync with the current HTTP standards. HTTP (Hypertext Transfer Protocol) server, or a web server, is a network service that serves content to a client over the web. This typicallymeans web pages, but any other documents can be served as well.
  21. 21. Caching modules, thatis, mod_cache and mod_disk_cache.Support for proxy load balancing, that is,the mod_proxy_balancer module.Support for large files on 32-bit architectures, allowingthe web server to handle files greater than 2GB.Authentication and authorization support,