Skip to content

MauroS5/9Hits-AutoInstall

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

68 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

9Hits-AutoInstall

Features

- Support Script;
- Auto detect system OS;
- Dont need graphic interface;
- All run on background (You will never see that);
- Update with a single comand;
- Start / Stop / Modify / Remove fast and simple way added;
- Sessions AI will calculate the ammount of sessions you can run with green/yellow/red face on real time;

-> To manage everything about script after install you just need use this command -> /root/9Hits/manage.sh

HOW TO INSTALL

You have 3 types of install

📌 0 -> Simple version, you dont need do nothing, you will get only 1 sessions (System)

Example command:

yum -y update || apt update && yum -y install git whiptail || apt install -y git whiptail && cd /root && git clone https://github.com/MauroS5/9Hits-AutoInstall.git && chmod -R 777 9Hits-AutoInstall && 9Hits-AutoInstall/install.sh "0" "d2lpb0dc88554721ca9c3a6a1ef710b3"

📌 1 -> Advanced version, code will ask you some questions to make it more custom

Example command:

yum -y update || apt update && yum -y install git whiptail || apt install -y git whiptail && cd /root && git clone https://github.com/MauroS5/9Hits-AutoInstall.git && chmod -R 777 9Hits-AutoInstall && 9Hits-AutoInstall/install.sh "1"

📌 2 -> Script version, all in one code by arguments ( You need set it on this order: "Type (0,1,2)" "Token" "Number of sessions" "MaxCpu ussage (Dont use %, just number) "Restart time (Read more down 👇)" "Sessions AI (Read more down 👇)" "Note of viewer" "Proxy Server" "URL for custom version download" "Allow Popups (allow/deny)" "Allow Adult Pages (allow/deny)" "Allow Coin Mining (allow/deny)"

Example command(9Hits Proxy Server) NO AI:

yum -y update || apt update && yum -y install git whiptail || apt install -y git whiptail && cd /root && git clone https://github.com/MauroS5/9Hits-AutoInstall.git && chmod -R 777 9Hits-AutoInstall && 9Hits-AutoInstall/install.sh "2" "d2lpb0dc88554721ca9c3a6a1ef710b3" "15" "10" "1" "0" "vps1"

Example command(9Hits Proxy Server) WITH AI:

yum -y update || apt update && yum -y install git whiptail || apt install -y git whiptail && cd /root && git clone https://github.com/MauroS5/9Hits-AutoInstall.git && chmod -R 777 9Hits-AutoInstall && 9Hits-AutoInstall/install.sh "2" "d2lpb0dc88554721ca9c3a6a1ef710b3" "15" "10" "1" "3" "vps1"

Example command(Own Proxy Server) NO AI:

yum -y update || apt update && yum -y install git whiptail || apt install -y git whiptail && cd /root && git clone https://github.com/MauroS5/9Hits-AutoInstall.git && chmod -R 777 9Hits-AutoInstall && 9Hits-AutoInstall/install.sh "2" "d2lpb0dc88554721ca9c3a6a1ef710b3" "15" "10" "1" "0" "vps1" "http://proxyserver.com/index.php"

Example command(Own Proxy Server) WITH AI:

yum -y update || apt update && yum -y install git whiptail || apt install -y git whiptail && cd /root && git clone https://github.com/MauroS5/9Hits-AutoInstall.git && chmod -R 777 9Hits-AutoInstall && 9Hits-AutoInstall/install.sh "2" "d2lpb0dc88554721ca9c3a6a1ef710b3" "15" "10" "1" "2" "vps1" "http://proxyserver.com/index.php"

Example command(Custom URL):

yum -y update || apt update && yum -y install git whiptail || apt install -y git whiptail && cd /root && git clone https://github.com/MauroS5/9Hits-AutoInstall.git && chmod -R 777 9Hits-AutoInstall && 9Hits-AutoInstall/install.sh "2" "d2lpb0dc88554721ca9c3a6a1ef710b3" "15" "10" "1" "2" "vps1" "" "https://rs.9hits.com/9hviewer/9hits-linux-x64-2.5.1.tar.bz2"

📌 DOCKER-COMPOSE ->

version: '3'
services:
  9hits:
    image: mauros5/9hits_autoinstall:latest
    container_name: 9hits
    tty: true
    network_mode: host
    environment:
      - token=d2lpb0dc88554721ca9c3a6a1ef710b3
      - sessions=10
      - maxcpu=1
      - restart=1
      - name=vps1
      - url=https://rs.9hits.com/9hviewer/9hits-linux-x64-2.5.1.tar.bz2
      - exProxyServer=
      - allowAdult=allow
      - allowPopups=allow
      - allowMining=deny

📌 DOCKER ->

docker run -d --name=9hits -e "token=d2lpb0dc88554721ca9c3a6a1ef710b3" -e "sessions=10" -e "maxcpu=1" -e "restart=1" -e "name=vps2" -e "url=https://rs.9hits.com/9hviewer/9hits-linux-x64-2.5.1.tar.bz2" -e "allowAdult=allow" -e "allowPopups=allow" -e "allowMining=deny" --network="host" mauros5/9hits_autoinstall

👉 Restart time have 6 levels:

1 "Every 30 minutes"
2 "Every 1 hour"
3 "Every 2 hours"
4 "Every 6 houts" 
5 "Every 12 hours"
6 "Every day"

👉 Sessions AI will know when your vps can get more sessions and will add it or in case of need delete it.

1 -> Green face
2 -> Yellow face
3 -> Red face
4 -> MAX possible (Maybe rejected face)

For more custom restart you will need modify crontab file as you want.

For any bug / error contact me on Discord, thanks

About

AutoInstall for Linux

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages