PDA

نسخه کامل مشاهده نسخه کامل : کسی بلده اسکریپت XFileSharing Pro 1.4 رو چطور باید نصب کرد؟



Xo0oX
26-10-2009, 21:54
والا من چندین سوال پرسیدم انگار کسی نمی تونه کمک کنه.:31:
حداقل یکی بگه اسکریپت XFileSharing Pro 1.4 رو چطوری باید نصب کنم؟:46:

Xo0oX
26-10-2009, 22:28
کسی بلد بود لطفا ساده هم بگه.
مرسی

mamadfelfel1988
27-10-2009, 00:48
دوست عزيز شما documention رو بخون من كه خوندم خيلي سادس نصبش

Xo0oX
27-10-2009, 15:19
دوست عزيز شما documention رو بخون من كه خوندم خيلي سادس نصبش

شما منظورتون همون text هست که تو پوشه هست؟
INSTALL
؟
تو این اینا رو نوشته که بعضی جاهاش رو درست نمی فهمم!:31:


XFileSharingPro 1.4 - Nulled

Requirements:
* Perl > 5.005 ver. [
برای مشاهده محتوا ، لطفا وارد شوید یا ثبت نام کنید
* LWP, DBI, DBD::mysql Perl modules
* MySQL database >= 4.1 ver. [
برای مشاهده محتوا ، لطفا وارد شوید یا ثبت نام کنید
* Apache mod_rewrite module, mod_headers module (optional)
* .htaccess files enabled [
برای مشاهده محتوا ، لطفا وارد شوید یا ثبت نام کنید
* GD lib, GD perl module (optional) [
برای مشاهده محتوا ، لطفا وارد شوید یا ثبت نام کنید [
برای مشاهده محتوا ، لطفا وارد شوید یا ثبت نام کنید

If you don't have any Perl modules, you can install them through SSH console manually:
perl -MCPAN -e shell
install LWP
install DBI
install DBD::mysql
install GD

*** Upgrade XFS Pro from 1.0 to 1.4***

1) IMPORTANT: Backup all .cgi, .pm files, main.css, images and Templates folders. 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.

3) Fill XFileConfig.pm and XFSConfig.pm with actual data from old configs.

4) Chmod 755 convert.cgi file. Run /cgi-bin/convert.cgi in browser to update SQL tables. Should see "DONE." if everything's fine.

5) Now XFS Pro 1.4 should work fine. If you have any problems email us at support@sibsoft.net


*** Main-Server + File-Server Installation ***

1) Copy all files and folders from "cgi-bin" into your cgi-bin folder (folder where perl scripts running)
Copy all files and folders from "htdocs" into your htdocs (public_html) folder (folder with HTML files)

NOTE: use binary mode for FTP when uploading files.
NOTE: try to open /files/index.html in your browser. If you get 500 error then comment one-by-one first 6 lines in .htaccess to figure out what line gives error.

2) Set install.cgi permissions to 755. Then open it in your browser (e.g.
برای مشاهده محتوا ، لطفا وارد شوید یا ثبت نام کنید)
Follow the instructions so all 4 steps will be OK.

3) After complete install delete install.cgi, install.sql files for security reasons.

4) If XFS installed in subfolder (e.g.
برای مشاهده محتوا ، لطفا وارد شوید یا ثبت نام کنید) then change relative URLs in .htaccess file in htdocs to ones containing subfolder.
If you don't have .htaccess support on your sever you can copy .htaccess source to htdocs options in [ برای مشاهده لینک ، لطفا با نام کاربری خود وارد شوید یا ثبت نام کنید ] and restart Apache.

5) Directly after install you'll get message "there are no servers available for upload" on index page.
That's correct. Now let's add first FileServer.
Login with admin account and go to "Server Management" section, click "Add new server".

6) Now go to the "Site Settings" section and set up your server configuration.

7) Add cron.pl script to your crontab to run it every hour.
Sample: 0 * * * * cd /var/[ برای مشاهده لینک ، لطفا با نام کاربری خود وارد شوید یا ثبت نام کنید ] >/dev/null 2>&1

8) Edit Templates/comparison.html static template with your actual info about Premium Features


*** Extra File-Server Installation ***

1) Copy all files and folders from "FS-dist/cgi-bin" into FileServer cgi-bin folder:
Copy all files and folders from distributive "FS-disr/htdocs" into FileServer htdocs (public_html) folder.

NOTE: use binary FTP mode for script files upload.

2) Set permissions:
temp 777
uploads 777
logs.txt 666
XFSConfig.pm 666
.cgi 755
htdocs folder 777

3) Edit XFSConfig.pm and set up ONLY 3 fields: temp_dir, upload_dir, htdocs_dir.
You can open env.cgi in browser to figure out real full path to cgi-bin folder.
NOTE: fs_key field should be initially empty.

4) Login with admin account and go to "Server Management" section, click "Add new server".
Set up cgi-bin and htdocs URLs there, then Main server will test & update FileServer configuration and if everything allright you'll see new server on "Server Management" page.
If you got error about saving config, make sure fs_key is not empty in XFSConfig.pm or paste it from new server Edit screen.

5) Delete env.cgi for security reasons.

INFO: After installation try to open env.php which is in FileServer htdocs folder in browser - it should show you error or source code.
If you see full path, then check that you've moved .htaccess to FileServer htdocs folder.
Delete env.php.
Executing php/cgi scripts on your server is potential vulnerability. Disable php,pl,cgi,py,sh,shtml extensions in your Site Settings.

INFO: To force files download (not opening mp3/jpg/pdf in browser) you should have mod_headers Apache module on your server.

-------------------------------

If you want to modify script layout you can find .html files in Templates folder:
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
download.html - download page
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

Also you can put any .html pages in Templates/Pages folder and access them via URL:
برای مشاهده محتوا ، لطفا وارد شوید یا ثبت نام کنید where XYZ.html is existing file.

-------------------------------

XFileSharing forum:
برای مشاهده محتوا ، لطفا وارد شوید یا ثبت نام کنید

Contact: info@sibsoft.net

برای مشاهده محتوا ، لطفا وارد شوید یا ثبت نام کنید

mamadfelfel1988
27-10-2009, 23:44
شما با xampp جديد بيار بالا و permission رو بردار من اينكارو كردم كار ميكنه