Code Monkey home page Code Monkey logo

9hits-autoinstall's Introduction

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/OwElko/9Hits-AutoInstall.git && chmod -R 777 9Hits-AutoInstall && 9Hits-AutoInstall/install.sh "0" "a24f9dff55e0f812c2ba1684a450174f"

๐Ÿ“Œ 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/OwElko/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"

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/OwElko/9Hits-AutoInstall.git && chmod -R 777 9Hits-AutoInstall && 9Hits-AutoInstall/install.sh "2" "a24f9dff55e0f812c2ba1684a450174f" "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/OwElko/9Hits-AutoInstall.git && chmod -R 777 9Hits-AutoInstall && 9Hits-AutoInstall/install.sh "2" "a24f9dff55e0f812c2ba1684a450174f" "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/OwElko/9Hits-AutoInstall.git && chmod -R 777 9Hits-AutoInstall && 9Hits-AutoInstall/install.sh "2" "a24f9dff55e0f812c2ba1684a450174f" "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/OwElko/9Hits-AutoInstall.git && chmod -R 777 9Hits-AutoInstall && 9Hits-AutoInstall/install.sh "2" "a24f9dff55e0f812c2ba1684a450174f" "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/OwElko/9Hits-AutoInstall.git && chmod -R 777 9Hits-AutoInstall && 9Hits-AutoInstall/install.sh "2" "a24f9dff55e0f812c2ba1684a450174f" "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=a24f9dff55e0f812c2ba1684a450174f
      - sessions=10
      - maxcpu=1
      - restart=1
      - name=vps1
      - url=https://rs.9hits.com/9hviewer/9hits-linux-x64.tar.bz2
      - exProxyServer=

๐Ÿ“Œ DOCKER ->

docker run -d --name=9hits -e "token=a24f9dff55e0f812c2ba1684a450174f" -e "sessions=10" -e "maxcpu=1" -e "restart=1" -e "name=vps2" -e "url=https://rs.9hits.com/9hviewer/9hits-linux-x64.tar.bz2" --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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.