Readme
Readme
System Requirements:
1. Operating System Linux/Windows;
2. Server Apache/Nginx/LiteSpeed;
3. Script PHP 7.3+;
4. Database MySQL/MariaDB;
5. Cache using pdo_sqlite/redis/mongodb/files;
6. Make sure you have provided IP Proxy for bypassing Google Drive, Google Photos, DoodStream,
OK.ru, Files.im, Upstream, Vimeo, VIU, Yourupload.
Installation method:
1. Open the file includes/config.php;
2. Change the value of BASE_URL according to your website url (backslash at the end);
3. Change the value of BASE_DIR to the public_html or www directory where you saved this tool
(backslash at the end);
4. Change the value of SECURE_SALT to your liking for the security of your website;
5. Especially for the Apache server, open the file .htaccess in the root directory of this tool;
6. Especially for the Apache server, please change the cors policy
(localhost|127.0.0.1|gdplayer.top) on line 22 according to the domain/subdomain you want to
whitelist;
7. Especially for the Nginx server, to enable the rewrite url can be seen in the file nginx.conf;
8. Especially for the LiteSpeed server, to enable the rewrite url can be seen in the file
litespeed.htaccess. Please rename the file litespeed.htaccess to .htaccess.;
9. Especially for the LiteSpeed server, please change the cors policy
(localhost|127.0.0.1|gdplayer.top) on line 15 according to the domain/subdomain you want to
whitelist;
10. Disable HTTP/2 and HTTP/3 on the apache/nginx/litespeed or Cloudflare servers so videos can
be played using the Safari browser and Apple devices.
11. Save changes made.
Database Settings:
1. Create a new database on MySQL/MariaDB;
2. Import database new_db.sql;
3. Set the database connection by opening the file administrator/includes/conn.php;
4. Save the changes made.
NOTE:
If you want to add a load balancer, please activate remote mysql on the main VPS;
After remote mysql is enabled, open administrator/includes/conn.php file and set host with
VPS IP;
If you want to use Main VPS resources as load balancer, connect the subdomain/domain load
balancer with the primary VPS.
NOTE:
NOTE:
Persyaratan Sistem:
1. Sistem Operasi Linux/Windows;
2. Server Apache/Nginx/LiteSpeed;
3. Script PHP 7+;
4. Database MySQL/MariaDB;
5. Aktifkan ekstensi pdo_sqlite/redis/mongodb/files;
6. Pastikan kamu telah menyediakan IP Proxy untuk bypass Google Drive, Google Photos,
DoodStream, OK.ru, Files.im, Upstream, Vimeo, VIU, Yourupload.
Cara instalasi:
1. Buka file includes/config.php;
2. Ubah nilai BASE_URL sesuai dengan url website Anda (backslash diakhir);
3. Ubah nilai BASE_DIR sesuai dengan direktori public_html atau www tempat Anda menyimpan
tools ini (backslash diakhir);
4. Ubah nilai SECURE_SALT sesuai dengan keinginan Anda demi keamanan web Anda;
5. Khusus untuk server Apache, Buka file .htaccess pada root direktori tool ini;
6. Khusus untuk server Apache, silahkan ubah cors policy (localhost|127.0.0.1|gdplayer.top) pada
baris ke 22 sesuai dengan domain/subdomain yang ingin di whitelist;
7. Khusus untuk server Nginx, untuk mengaktifkan url rewrite bisa dilihat pada file nginx.conf;
8. Khusus untuk server LiteSpeed, untuk mengaktifkan url rewrite bisa dilihat pada file
litespeed.htaccess. Silahkan rename file litespeed.htaccess menjadi .htaccess.;
9. Khusus untuk server LiteSpeed, silahkan ubah cors policy (localhost|127.0.0.1|gdplayer.top)
pada baris ke 15 sesuai dengan domain/subdomain yang ingin di whitelist;
10. Nonaktifkan HTTP/2 dan HTTP/3 pada server apache/nginx/litespeed atau Cloudflare sehingga
video bisa diputar menggunakan browser Safari dan perangkat Apple.
11. Simpan perubahan yang dilakukan.
Pengaturan Database:
1. Buat database baru pada MySQL/MariaDB;
2. Import database new_db.sql;
3. Atur koneksi database dengan cara buka file administrator/includes/conn.php;
4. Simpan perbahan yang dilakukan.
CATATAN:
Jika ingin menambahkan load balancer, silahkan aktifkan remote mysql pada VPS Utama
tersebut;
Setelah remote mysql diaktifkan buka file administrator/includes/conn.php dan atur host
dengan IP VPS;
Jika ingin menggunakan resource VPS Utama sebagai load balancer maka sambungkan
subdomain/domain load balancer dengan VPS utama tersebut.
CATATAN:
SECURE_SALT harus sama dengan semua domain/subdomain utama dan load balancer.
CATATAN: