• Skip to primary navigation
  • Skip to content
  • Skip to primary sidebar

The Urban Penguin

The Urban Penguin - Linux Training

  • Home
  • About
  • Shop
  • OpenStack
  • LPI Training
    • LPI Linux Essentials
    • LPIC-1 Linux Administrator
    • LPIC-2 Certified Linux Engineer
    • LPIC-3 Senior Level Certification
      • LPIC-3 Exam 300 : Mixed Environments
      • LPIC-3 Exam 303 : Security
      • LPIC-3 Exam 304 : Virtualization and High Availability
    • Live and Pluralsight hosted courses
  • Linux Technologies
    • Apache HTTPD Server
    • Learning PHP
    • Learning PUPPET
    • Learning SAMBA
    • Linux File-Systems
    • Monitoring with Nagios Core
    • MYSQL
    • openLDAP Directories on Linux
  • Programming
    • Master Editing Text Files Using VIM
    • Learn Shell Scripting with BASH
    • PERL Scripting in Linux
    • Ruby Scripting in Linux
    • Scripting with PowerShell
    • Learn C Programming using Linux and the Raspberry Pi
    • General Java Tutorials
    • Java 7 OCA Exam 1ZO-803
  • OS Tutorials
    • Linux Foundation Training (CentOS 7)
    • Learning SUSE
    • Learning Ubuntu
    • Red Hat and CentOS Training
    • Solaris 11 OCA 1ZO-821
  • Pluralsight Courses
You are here: Home / Linux / SUSE / SUSE Lesson 22 Rsync Server

SUSE Lesson 22 Rsync Server

October 2, 2013 by The Urban Penguin



In this video we configure the rsync server in SUSE Linux. There may be many uses for RSYNC in Linux. CentOS uses the protocol for updating the mirror repositories; in this video we will look at mirroring web server within a server farm, ensuring that updates to web pages on the master server are synchronized to the web farm servers.

Configuring rsync becomes an easy task, as in SUSE, the base install includes xinetd and rsync, nor do we have to worry with SELinux security

First we just need to enable the rsync xinetd service by commenting out the line in the file: /etc/xinetd.conf , that reads disable = yes

With this done we can start the xinetd server with rcxinetd start

The rsync server listens on TCP port 873, we can check that it is listening with the command netstat -ant

Now we need to configure the /etc/rsyncd.conf. again, SUSE make this easy with a sample file already in place. We just need to adjust the hosts allow line and create are own module similar to this :

[web]
 path = /srv/www/htdocs

Now we can use synchronize from the client web servers using the rsync client

 rsync -av --delete rsync://[yourserverip]/web/ /var/www/html/

Share this:

  • Click to share on Twitter (Opens in new window)
  • Click to share on Facebook (Opens in new window)
  • Click to share on LinkedIn (Opens in new window)
  • Click to share on Reddit (Opens in new window)
  • Click to share on Pinterest (Opens in new window)
  • Click to share on Tumblr (Opens in new window)
  • Click to share on Google+ (Opens in new window)
  • Click to print (Opens in new window)

Filed Under: SUSE

Primary Sidebar

Newest Video

The Urban Penguin On Youtube

Categories

Pages

  • About The Urban Penguin
  • Contact Us
  • Shop
    • Basket
    • Checkout
    • My Account
  • LPI Training from The Urban Penguin
    • Live and Pluralsight hosted courses
    • Complete Linux Essentials
    • Scheduled Linux Essentials Classes
    • LPIC-3 Senior Level Certification
      • LPIC-3 Exam 300 : Mixed Environments
      • LPIC-3 Exam 303 : Security
      • LPIC-3 Exam 304 : Virtualization and High Availability
    • LPIC-2 Certified Linux Engineer
    • LPIC-1 Linux Administrator
    • LPI Linux Essentials for Raspberry Pi
    • LPI Linux Essentials
  • Operating System Tutorials
    • Linux Foundation Training
    • Solaris 11 OCA 1ZO-821
    • Learning Ubuntu
    • Learning SUSE
    • Red Hat and CentOS Training
  • Scripting – the power of repetition!
    • Java 7 OCA Exam 1ZO-803
    • General Java Tutorials
    • Learn C Programming using Linux and the Raspberry Pi
    • Ruby Scripting in Linux
    • Scripting with PowerShell
    • PERL Scripting in Linux
    • Learn Shell Scripting with BASH
    • Master Editing Text Files Using VIM
  • Linux Technologies
    • Learning PUPPET
    • openLDAP Directories on Linux
    • Monitoring with Nagios Core
    • Linux File-Systems
    • Learning SAMBA
    • Apache HTTPD Server
    • Learning PHP
    • MYSQL
  • OpenStack
    • Pluralsight
    • Udemy
    • Raspberry Pi Tutorials
    • Citrix Videos

© 2019 The Urban Penguin · All Rights Reserved

We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.Ok