Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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).
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement