Giter Club home page Giter Club logo

install's Introduction

About

This batch script will help you install and run the 9Hits application without GUI to start earning points, any patchs are welcome :) 9Hits App

Requirements

Works best on Debian 11, and Ubuntu 20. The other distros should work but are not well tested.

Install

curl -sSLk https://9hitste.github.io/install/3.0.4/linux.sh | sudo bash -s -- options

Update

curl -sSLk https://9hitste.github.io/install/patch.sh | sudo bash

Please note that the patch.sh only support the --install-dir and --download-url option!

Available options

Option Description
--install-dir Where to download and extract the 9Hits App, default is $HOME
--download-url override the default download URL, useful when you want to download a pre-configured 9Hits App
--mode exchange, bot or profile (default is exchange)
--token Your 9Hits token
--note Note for the computer that install the 9Hits App, useful on the remote page
--allow-popups yes or no
--allow-adult yes or no
--allow-crypto yes or no
--system-session Create the system session (that use the real IP of the machine)
--ex-proxy-sessions Number of the sessions that use external proxy
--ex-proxy-url The proxy pool url, leave empty to use 9hits proxy (not recommended)
--bulk-add-proxy-list The proxy list use to create sessions in bulk, the format should be server:port;user1;pass1|server:port;user2;pass2 (| separated)
--bulk-add-proxy-type Type of the proxy list that use to create sessions, possible value: http, socks4, socks5, ssh
--session-note Note for the created sessions
--ssh-connector putty or ssh2 (putty is recommended)
--cache-dir Override the default cache dir
--create-swap Create swap, eg: --create-swap=10G
--cache-del 0: no cache, -1: never delete cache, 100-200-500-1000: clear cache after corresponding number of views
--auto-start Auto start on startup
--hide-browser Hide browser
--schedule-reset Restart the 9Hits App periodically, possible values: 1 - Hourly, 2 - every 2 hours, 6 - every 6 hours, 12 - every 12 hours, 24 - every day.
--clear-all-sessions Clear all created session (if exists from previous install)
--no-cronjob If your linux vps already has a GUI installed and you can remote desktop to it, just remote to it, open the terminal and add this option and the script will just run the application instead of creating a cronjob

Examples

All examples below are default to create 10G SWAP, this is recommended if your computer uses an SSD and has limited RAM, you can remove it if you don't need it.

  • Just start the app with your token, you can then go to the Remote Page to continue the configuration
curl -sSLk https://9hitste.github.io/install/3.0.4/linux.sh | sudo bash -s -- --token=186eaced825ab3e3468dfda97d880123
  • Run 1 system session:
curl -sSLk https://9hitste.github.io/install/3.0.4/linux.sh | sudo bash -s -- --token=186eaced825ab3e3468dfda97d880123 --system-session --allow-crypto=no --create-swap=10G
  • Run 1 system session + 10 sessions use 9hits pool:
curl -sSLk https://9hitste.github.io/install/3.0.4/linux.sh | sudo bash -s -- --token=186eaced825ab3e3468dfda97d880123 --system-session --ex-proxy-sessions=10 --allow-crypto=no --session-note=9hits-pool --note=my-laptop --hide-browser --create-swap=10G

  • Run 1 system session + 10 sessions use your own pool
curl -sSLk https://9hitste.github.io/install/3.0.4/linux.sh | sudo bash -s -- --token=186eaced825ab3e3468dfda97d880123 --system-session --ex-proxy-sessions=10 --ex-proxy-url=http://my_pool_url/ --allow-crypto=no --session-note=http-pool --note=my-vps --hide-browser --create-swap=10G
  • Run 1 system session + 2 sessions use the bulk add option, the value of --bulk-add-proxy-list should be wrapped by double quotes ""
curl -sSLk https://9hitste.github.io/install/3.0.4/linux.sh | sudo bash -s -- --token=186eaced825ab3e3468dfda97d880123 --system-session --bulk-add-proxy-type=ssh --bulk-add-proxy-list="12.24.45.56;user;pass|my-ssh.com;admin;12345" --allow-crypto=no --session-note=my-ssh --note=my-vps --hide-browser --create-swap=10G

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.