I already install follow steps:
1. First run command:
cd /usr/local/src
wget http://www.rarlab.com/rar/rarlinux-x64-5.2.1.tar.gz
tar zxvf rarlinux-x64-5.2.1.tar.gz
cp rar/unrar /usr/local/bin
cp rar/rar /usr/local/bin
2. Set cronjob both main and file server:
- Main: * * * * * php /home/domain.com/public_html/plugins/archivemanager/queue/process_archive_queue.cron.php >> /dev/null 2>&1
- File: * * * * * php /home/cdn.domain.com/public_html/plugins/archivemanager/queue/process_archive_queue.cron.php >> /dev/null 2>&1
3. Edit process_archive_queue.cron.php file on Main server:
$directFileServers = array();
$directFileServers[] = array(
'file_server_id' => 6,
'ssh_host' => '206.189.xx.xxx',
'ssh_port' => '22',
'ssh_username' => 'root',
'ssh_password' => 'xxxxxxxxx',
'file_storage_path' => '/home/cdn.domain.com/public_html/files',
);
But the result when I try to extract zip file, it just loading like this:
1. First run command:
cd /usr/local/src
wget http://www.rarlab.com/rar/rarlinux-x64-5.2.1.tar.gz
tar zxvf rarlinux-x64-5.2.1.tar.gz
cp rar/unrar /usr/local/bin
cp rar/rar /usr/local/bin
2. Set cronjob both main and file server:
- Main: * * * * * php /home/domain.com/public_html/plugins/archivemanager/queue/process_archive_queue.cron.php >> /dev/null 2>&1
- File: * * * * * php /home/cdn.domain.com/public_html/plugins/archivemanager/queue/process_archive_queue.cron.php >> /dev/null 2>&1
3. Edit process_archive_queue.cron.php file on Main server:
$directFileServers = array();
$directFileServers[] = array(
'file_server_id' => 6,
'ssh_host' => '206.189.xx.xxx',
'ssh_port' => '22',
'ssh_username' => 'root',
'ssh_password' => 'xxxxxxxxx',
'file_storage_path' => '/home/cdn.domain.com/public_html/files',
);
But the result when I try to extract zip file, it just loading like this: