XFileSharing Pro 2.5 Requirements: * Perl > 5.005 ver. [http://www.perl.com/download.csp] * Extra Perl modules: LWP, DBI, DBD::mysql, perl-Digest-SHA * MySQL database >= 4.1 ver. [http://www.mysql.com] * Apache mod_rewrite module, mod_headers module (optional) * .htaccess files enabled [http://www.tutorio.com/tutorial/enable-mod-rewrite-on-apache] * GD lib, GD perl module (optional) [http://www.libgd.org/Downloads] * LWP::Protocol::https * Cache::Memcached * Mail::IMAPClient * Time::HiRes You can install required perl modules through SSH console manually: 1. YUM way (recommended) yum install perl-CGI perl-libwww-perl.noarch perl-DBI perl-DBD-MySQL perl-GD perl-Cache-Memcached perl-Time-HiRes 2. CPAN way perl -MCPAN -e shell install CGI install LWP install DBI install DBD::mysql install GD install Time::HiRes *** Main-Server + File-Server Installation *** 1) Copy (upload) all files and folders from "cgi-bin" into your cgi-bin folder (folder where perl scripts running) Copy (upload) all files and folders from "htdocs" into your htdocs (public_html) folder (folder with HTML files) 2) Set install.cgi permissions to 755. Then open it in your browser (e.g. http://server.com/cgi-bin/install.cgi) Follow the instructions so all 4 steps will be OK. 3) After complete install delete install.cgi, install.sql, upgrade_24_25.cgi, upgrade_24_25.sql files for security reasons. 4) Right after install you'll get message "there are no servers available for upload" on index page. Login with admin account and go to "Server Management" section, click "Add new server". 5) Now go to the "Site Settings" section and set up your server configuration. 6) Cronjobs are now getting automatically added in the user's crontab by the installation script, so normally you don't have to do this point. But you may find this info useful if you're migrating from one server to another. 0 * * * * cd /var/www/cgi-bin;./cron.pl >/dev/null 2>&1 0 0 * * * cd /var/www/cgi-bin;./cron_deleted_email.pl >/dev/null 2>&1 * * * * * cd /var/www/cgi-bin;./transfer.pl >/dev/null 2>&1 Note: You have to specify correct path to the cgi-bin folder (replace /var/www/cgi-bin to your local path). *** Extra File-Server Installation *** 1) Copy (upload) all files and folders from "FS-dist/cgi-bin" into FileServer cgi-bin folder. Copy (upload) all files and folders from "FS-disr/htdocs" into FileServer htdocs (public_html) folder. 2) Chmod install_fs.cgi to 755 and run it in browser. It will set correct permissions for other files and put correct paths into config. 3) Login with admin account and go to "Server Management" section, click "Add new server". Put your FS cgi-bin and files URLs there, then Main server will test & update FileServer configuration. 4) Same as in the case of 'Main Server + File Server Installation', the cronjobs are now getting automatically added in the user's crontab by the installation script, so normally you don't have to do that. However, here is the info about how are the cronjobs that are installed by the script looking like in the case if something goes wrong. * * * * * cd /var/www/cgi-bin;./transfer.pl >/dev/null 2>&1 INFO: Please make sure that Apache's mod_headers is enabled if you're experiencing the problem that some files are getting played instead of being downloaded. *** Upgrade XFS Pro from 2.4 to 2.5 *** 1) IMPORTANT: Backup all .cgi, .pm files, main.css, images and Templates folders and make a dump of your SQL database. 2) Upload all new files from cgi-bin, htdocs folders over old ones except "temp" and "uploads" folders and XFileConfig.pm and XFSConfig.pm files. Update new XFileConfig.pm and XFSConfig.pm files with your old settings manually. Update all your extra FileServers files too from FS-dist folder. 3) Chmod 755 upgrade_24_25.cgi file. Run /cgi-bin/upgrade_24_25.cgi in browser to upgrade the database. Should see "DONE." if everything's fine. If it is, then delete upgrade_24_25.cgi and upgrade_24_25.sql for security purposes. Note: you might need to upgrade Nginx mod if you would like to use some of new features (connections & resume limitation from admin_settings, upload speed limitation). *** Payment Gateways mod *** The installation instruction is now moved in a separate INSTALL.TXT which is bundled with a Payment Gateways package. -------------------------------- *** Video & Encoding mod *** The installation instruction is now moved in a separate INSTALL.TXT which is bundled with a Video & Encoding mod package. -------------------------------- *** Short link mod *** 1) Fill the form in admin_settings -> Mods -> Short links 2) Setup the short domain so that it will be pointing in the same place as the primary one ------------------------------- If you want to modify script layout you can find .html files in Templates directory: main.html - main design file, other templates been inserted into it upload_form.html - index page with upload form upload_results.html - page with generated links after upload download0.html - pre-download page with [Premium] & [Free] download buttons download1.html - page with file details, captcha/password fields download2.html - page with generated direct file link message.html - error/status message page delete_file.html - page showed when you're about to delete file with Delete Link confirm_email.html - upload notification email to admin confirm_email_user.html - upload notification email to recipient htdocs/uploader-top.html - page showing in top frame if Desktop Uploader htdocs/tmp/status.html - progress bar page Also you can put any .html pages in Templates/Pages/LANGUAGE/ folder and access them via URL: http://YOURSITE.com/pages/NEWPAGE.html where NEWPAGE.html is your file. Get more support at: XFileSharing Forum: http://sibsoft.net/forum/xfilesharing-pro-f7.html XFileSharing Site: http://sibsoft.net/xfilesharing.html Ticket System: http://support.sibsoft.net/create_ticket.php Knowledge Database: http://support.sibsoft.net/knowledge_base.php?category_id=1