Git Product home page Git Product logo

lancache-script's Introduction

lancache-script


Script that automatically installs and sets up lancache on Ubuntu 20.04 Linux You can run this by doing the command

bash <(curl -s https://raw.githubusercontent.com/MrFlacko/lancache-script/main/script.sh)

Requirements

This script is designed to be run on a fresh install of ubuntu 20.04, if you already installed docker it has a chance of breaking.

What the script does

When you run this script:

  1. It will first verify you are using Ubuntu 20.04, then it will verify if you are running it with Root Privileges
  2. It will run the normal system updates
  3. It will add the docker repo to the repository list
  4. It will then install the latest version of docker and docker-compose
  5. It will then Clone the lancache git repository into /var/lib/lancache (this is default and can be changed at the top of the script)
  6. It will then set up Auto Restarting for the services, restarting at 3am local system time to update DNS info, and it will restart with the system
  7. It then starts lancache and activates the auto restart script

Script Information

The cache directory is by default /var/lib/lancache/lancache You can change the cache folder during the setup, when configuring the .env Just set the IP Address as the same IP Address as the machine, if you want extra IP Addresses, you have to set that up prior. It's the same as manually installing it, though you just do it through a script, you shouldn't have to fear lack of customizability

Contact Info

If there are problems you can open an issue, if you suggest changes feel free to do a pull request. Happy to apply better code If I don't respond in a timely manner you join my discord server to contact me https://discord.plexusmc.net

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.