Advertisement
Guest User

instructions

a guest
Jul 29th, 2017
646
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.30 KB | None | 0 0
  1. XFileSharing Pro 2.5
  2.  
  3. Requirements:
  4. * Perl > 5.005 ver. [http://www.perl.com/download.csp]
  5. * Extra Perl modules: LWP, DBI, DBD::mysql, perl-Digest-SHA
  6. * MySQL database >= 4.1 ver. [http://www.mysql.com]
  7. * Apache mod_rewrite module, mod_headers module (optional)
  8. * .htaccess files enabled [http://www.tutorio.com/tutorial/enable-mod-rewrite-on-apache]
  9. * GD lib, GD perl module (optional) [http://www.libgd.org/Downloads]
  10. * LWP::Protocol::https
  11. * Cache::Memcached
  12. * Mail::IMAPClient
  13. * Time::HiRes
  14.  
  15. You can install required perl modules through SSH console manually:
  16.  
  17. 1. YUM way (recommended)
  18. yum install perl-CGI perl-libwww-perl.noarch perl-DBI perl-DBD-MySQL perl-GD perl-Cache-Memcached perl-Time-HiRes
  19.  
  20. 2. CPAN way
  21. perl -MCPAN -e shell
  22. install CGI
  23. install LWP
  24. install DBI
  25. install DBD::mysql
  26. install GD
  27. install Time::HiRes
  28.  
  29.  
  30. *** Main-Server + File-Server Installation ***
  31.  
  32. 1) Copy (upload) all files and folders from "cgi-bin" into your cgi-bin folder (folder where perl scripts running)
  33. Copy (upload) all files and folders from "htdocs" into your htdocs (public_html) folder (folder with HTML files)
  34.  
  35. 2) Set install.cgi permissions to 755. Then open it in your browser (e.g. http://server.com/cgi-bin/install.cgi)
  36. Follow the instructions so all 4 steps will be OK.
  37.  
  38. 3) After complete install delete install.cgi, install.sql, upgrade_24_25.cgi, upgrade_24_25.sql files for security reasons.
  39.  
  40. 4) Right after install you'll get message "there are no servers available for upload" on index page.
  41. Login with admin account and go to "Server Management" section, click "Add new server".
  42.  
  43. 5) Now go to the "Site Settings" section and set up your server configuration.
  44.  
  45. 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.
  46. 0 * * * * cd /var/www/cgi-bin;./cron.pl >/dev/null 2>&1
  47. 0 0 * * * cd /var/www/cgi-bin;./cron_deleted_email.pl >/dev/null 2>&1
  48. * * * * * cd /var/www/cgi-bin;./transfer.pl >/dev/null 2>&1
  49.  
  50. Note: You have to specify correct path to the cgi-bin folder (replace /var/www/cgi-bin to your local path).
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement