Hướng dẫn tạo Web bán File Hack 4G thông qua V2board

TricksMMO

Administrator
Staff member
| CSS | PNG | JPG | GIF | SWF | ICO | PDF |
hết hạn tối đa;
access_log tắt;
} Bước 1: Chuẩn bị
- 1 VPS với Aapanel được cài đặt (bạn có thể đọc bài viết về cài đặt Aapanel tại đây)
- Kết nối SSH (Tôi sử dụng Mobaxterm)
- Thiết bị sử dụng Viettel 4G

Bước 2: Cài đặt v2board
- Chuyển đến AppStore> Tìm phiên bản PHP bạn đã cài đặt (đối với tôi là Php 7.4)> Chọn Cài đặt> Chọn Cài đặt Tiện ích mở rộng> Tiến hành cài đặt Redis và FileInfo
- Vẫn còn trong PHP, đi đến chức năng vô hiệu hóa và khóa cho mình 4 chức năng sau: Putenv Proc_open pcntl_alarm pcntl_signal
- Truy cập trang web> Thêm trang web để tạo v2board
- Đặt các tùy chọn sau:
- Tên miền: Tên miền của bạn.Bạn có thể thấy cách nhận tên miền và hướng dẫn DNS miễn phí đến máy chủ tại đây
- Cơ sở dữ liệu: Bạn tiến hành thay đổi thành MySQL cho tôi
- Lưu thông tin sau vào notepad của bạn
- Xóa tất cả các tệp trong gốc tài liệu của trang web vừa được tạo!

Bước 3: Định cấu hình v2board
- Quay lại SSH để kết nối với VPS và tiến hành liên kết như trên phần gốc tài liệu với câu lệnh sau
- CD/cd/www/wwwroot/[tên miền của bạn]
- Ví dụ của tôi, lệnh là:
- CD /www/wwwroot/4g.wdchocopie.tk
- Chạy lệnh sau trong thư mục đầu vào của bạn
- Git Clone github.com/v2board/v2board.git ./
- Tiến hành chạy tệp .sh sau:
- SH init.sh
- Sau khi V2Board chạy, bạn chạy câu lệnh sau:
- Localhost
- Nhập tên cơ sở dữ liệu của cơ sở dữ liệu mà bạn đã thực hiện trong bước 12. Với bạn sẽ là: SQL_4G_WDCHOCOPI
- Nhập tên người dùng của cơ sở dữ liệu mà bạn đã thực hiện trong bước 12. Với của bạn sẽ là: SQL_4G_WDCHOCOPI
- Nhập mật khẩu của cơ sở dữ liệu.Của tôi sẽ là: CMKRCEBMHMKYWJ5S
- Tiến hành tạo tài khoản quản trị viên với thứ tự được hỏi: Email (không cần thư thật)> Mật khẩu
- Lưu ý: Mật khẩu cho v2board yêu cầu 8 ký tự trở lên)
- Tài khoản của tôi
- Email: wdchocopie@gmail
- Mật khẩu: TrickSmo1@

Bước 4: Định cấu hình URL Viết lại
- Truy cập trang web> [Trang web của bạn]> Viết lại URL và sao chép mã sau
- Vị trí /Tải xuống {
}
- Vị trí / {
Try_files $ uri $ uri /index.phpidgeis_args$query_String;
}
- Vị trí ~.*\.(JS | CSS | PNG | JPG | GIF | SWF | ICO |
hết hạn tối đa;
access_log tắt;
}
=======================================
|css|png|jpg|gif|swf|ico|pdf|ppt|txt|doc|xls|mp3|zip|rar)$ {
expires max;
access_log off;
} Step 1: Prepare
- 1 VPS with Aapanel installed (You can read the article on installing Aapanel here)
- SSH connection (I use Mobaxterm)
- Device using Viettel 4G

Step 2: Install v2board
- Go to Appstore > Find the PHP version you installed (for me is PHP 7.4) > Select Settings > Select Install Extensions > Proceed to install Redis and FileInfo
- Still in PHP, go to Disable Function and lock yourself the following 4 functions: Putenv Proc_open PCNTL_alarm PCNTL_SIGNAL
- Go to the website > Add site to create v2board
- Set the following options:
- Domain Name: Your domain name. You can see how to get a free domain name and guide DNS to the server here
- Database: You proceed to change to mysql for me
- Save the following information into your notepad
- Delete all the files in the document root of the website just created!

Step 3: Configure v2board
- Go back to SSH to connect with VPS and proceed to the link as above the Document Root section with the following statement
- CD CD/www/wwwroot/[Your domain name]
- For my example, the command is:
- cd /www/wwwroot/4g.wdchocopie.tk
- Run the following command in your input folder
- git clone github.com/v2board/v2board.git ./
- Proceed to run the following .SH file:
- SH Init.sh
- After the V2board runs, you run the following statement:
- localhost
- Enter the database name of the database that you took in step 12. with yours will be: sql_4g_wdchocopi
- Enter the username of the database in which you have taken in step 12. with yours will be: sql_4g_wdchocopi
- Enter the password of the database. Mine will be: cmkrcebmhmkywj5s
- Proceed to create an admin account with the order of being asked: email (no need for real mail) > password
- Note: Password for V2board requires 8 or more characters)
- My account
- Email: [email protected]
- Password: tricksmmo1@

Step 4: Configure URL Rewrite
- Go to the website > [Your website]> URL Rewrite and copy the following code
- Location /Downloads {
}
- Location / {
try_files $ Uri $ Uri /index.phpidgeis_Args$query_string;
}
- Location ~.*\. (JS|css|png|jpg|gif|swf|ico|pdf|ppt|txt|doc|xls|mp3|zip|rar)$ {
expires max;
access_log off;
}
 
Join Telegram ToolsKiemTrieuDoGroup
Back
Top