Install V6

Started by FooKaS, January 12, 2021, 05:51:41 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

iseeyoucopy

Have you install xbt tracker? have you run your xbt_tracker ?

ertmatik

why after all install , xbt not work,  on client torrent retourne error message server status not working

FooKaS

#1
Install PHP 7.4 on Debian 10 / Debian 9

sudo apt update
sudo apt upgrade -y && sudo reboot

Add SURY PHP PPA repository

Download and store PPA repository in a file on your Debian Server/Desktop. But first, download GPG key.

sudo apt -y install lsb-release apt-transport-https ca-certificates
sudo wget -O /etc/apt/trusted.gpg.d/php.gpg https://packages.sury.org/php/apt.gpg

Then add repository.

echo "deb https://packages.sury.org/php/ $(lsb_release -sc) main" |
sudo tee /etc/apt/sources.list.d/php.list

Install PHP 7.4 on Debian 10 / Debian 9
The last step is to Install PHP 7.4 on Debian 10 / Debian 9. Before installation, update system package list on added repositories.

sudo apt update
then install needed  dependencies

sudo apt-get install redis-server apache2 php-memcached php-igbinary php-redis php-msgpack php-geoip php-fpm php-mysql php-gd php-xmlrpc php-curl php-mbstring php-xml php-json php-zip
To enable PHP 7.4 FPM in Apache2 do:

sudo a2enmod proxy_fcgi setenvif
sudo a2enconf php7.4-fpm
sudo systemctl reload apache2

Get the source files from git

sudo cd /var/www
git clone https://github.com/iseeyoucopy/U-232-Trinity-RC html

chmod all the files and folders

chmod 0777 /var/www/html/dir_list/ /var/www/html/imdb/ /var/www/html/cache/ /var/www/html/torrents/ /var/www/html/uploads/ /var/www/html/include/backup/ /var/www/html/sqlerr_logs/ /var/www/html/install/ /var/www/html/install/extra/ /var/www/html/include/
Next install mariaDB

sudo apt -y update
sudo apt -y install software-properties-common gnupg2
sudo apt -y upgrade
sudo reboot

Import MariaDB gpg key and add repository

sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 0xF1656F24C74CD1D8
sudo add-apt-repository 'deb [arch=amd64] http://mariadb.mirror.liquidtelecom.com/repo/10.4/debian buster main'


Install MariaDB 10.4 on Debian 10

sudo apt update
sudo apt install mariadb-server mariadb-client


Secure MariaDB server

sudo mysql_secure_installation
Installing Node.js

curl -sL https://deb.nodesource.com/setup_14.x | sudo -E bash -
sudo apt-get install nodejs

Install Gulp.js on Debian

sudo npm install -g gulp-cli
To Run the Project

cd /var/www
# for $user write your user
sudo chown -R $USER:www-data ./html
cd html
git clone https://github.com/iseeyoucopy/g​ulp4-sass-foundation foundation
cd foundation
npm install
gulp
   
  to run the Sass compiler. It will re-run every time you save a Sass file.
 
 
 Creat DB in mysql
  mysql -u root -p
 
CREATE DATABASE dbname;
CREATE USER 'yourusername'@'localhost' IDENTIFIED BY 'yourpassword';
GRANT ALL PRIVILEGES ON dbname.* TO 'yourusername'@'localhost' IDENTIFIED BY 'yourpassword';
FLUSH PRIVILEGES;
EXIT;

Point to https://yoursite.com/install/index.php - fill in all the required data and choose XBT or default - then log in.

Create a second user on entry named System ensure its userid2 so you dont need to alter the autoshout function on include/user_functions.php.

Sysop is added automatically to the array in cache/staff_settings.php and cache/staff_setting2.php.

Staff is automatically added to the same 2 files, but you have to make sure the member is offline before you promote them.



This is how i do it,works for me,hopefully it will work for you too.
DA TAXMAN