Remote Slave Server Installation

Adding Remote Slave Servers (On different Server)
Using ssh
1) Set up a subdomain on another Server, i.e s1.yourdomain.com, test that the domain is up
More information of how to do this can be found via this guide

2) Copy Database Information
Now in your homepage, go into your config.php and copy these 3 entries.
$dbuser = "fvi9";
$dbpass = "fvi9";
$db = "fvi9";


3) Finding Ip of Slave Server
This can be found many ways, but im assuming you already have this knowledge, if not then look at this guide

Keep these values in a notepad as you will need these in future steps.

4) Granting privileges to slave
Now go into shell and type in
a) mysql -p *you should now be logged into mysql shell
b) grant all privileges on databasename.* to dbuser@ipofslave identified by 'password';
i.e grant all privileges on fvi9.* to fvi8@204.34.234.3 identified by 'fvi8';

5) Then type these commands
Flush Privileges;
exit;

6)Now Go onto your slave Server and Upload the contents inside of Slave from the original Attachmax zip package
on the your subdomain root directory.
i.e s1.yourdomain.com in [/home/username/public_html/s1]

7) Giving File Permissions
#chmod 0777 files images
# chmod 667 config.php

8) Running the Install File
Run installer the location will be dependent on where you've uploaded the install folder the domain that you choose in step 1
Follow Steps

9) If succesful a connection will be made to the remote host.
Once finished test an upload from homepage.

10) Now go in and install ffmpeg and other dependencies and you're ready with your new slave.