Create your own 'DropBox' with Apache and WebDAV

PDF
Create your own cloud with Apache and WebDAV, a good alternative for online cloud services like Dropbox, Google Drive and others.

WebDAV is an extension to the HTTP protocol and allows collaboratively manage files on webservers and it is easy to setup.

If not already installed, install Apache.
 

High available DNS with PowerDNS and MySQL

PDF
PowerDNS is an advanced high performance authoritative nameserver and can work with several backends. We will setup PowerDNS on two servers both will read the DNS records from a MySQL database replicated backend. As MySQL will do the replication, PowerDNS doesn't need zone transfers. To setup MySQL replication please read this article published in the MySQL section of this website. Make sure MySQL is setup to use the InnoDB storage engine. To install PowerDNS from the EPEL repository. If you haven't setup the EPEL repository follow the instructions explained on their website.
 

How to setup an OpenVPN server?

PDF

You can install OpenVPN on CentOS using from a rpm binary package available from the EPEL repository. If you haven't setup the EPEL repository follow the instructions explained on their website. You can setup OpenVPN as bridged VPN or as routed VPN. This example demonstrates a routed VPN setup. OpenVPN should be installed on both the server and the clients. The OpenVPN installation depends in openssl, lzo and pam.

 

Bash backward compatibility

PDF

Although most Linux distrubutions are shipped with BASH as default shell you might experience some machine's don't have the BASH shell installed but the SH shell. If you write shell scripts which will be used on several machines you might start your scripts with the indicator to use sh instead of bash for backward compatibility:

Tags:
 

How to set-up MySql replication

PDF

There are a number of different methods for setting up replication, and the exact method that you use will depend on how you are setting up replication, and whether you already have data within your master database.

Create a user for replication

The slaves need to connect to the master using an account granted ‘REPLICATION SLAVE’. As the username and password is stored in a plain-text file it is advisable to create a user that only has privileges for the replication.

Tags:
 
  • «
  •  Start 
  •  Prev 
  •  1 
  •  2 
  •  Next 
  •  End 
  • »
Page 1 of 2

Search






You are here: Home