Coder Social home page Coder Social logo

choco-school's Introduction

Choco School

My scripts to use Chocolatey in a school.

Local repository

Your public IP will get banned if 100s of computers are downloading nupkg files from chocolatey.org, so we'll need a local repo. Easiest thing is just a shared drive.

  1. Get the install script from https://chocolatey.org/docs/installation#completely-offline-install It starts with # Download and install Chocolatey nupkg from an OData (HTTP/HTTPS) url such as Artifactory, Nexus, ProGet (all of these are recommended for organizational use), or Chocolatey.Server (great for smaller organizations and POCs) and save it as ChocolateyLocalInstall.ps1

  2. Create a read only share, with 3 folders, files, config, packages. Optionally set up a log share.

  3. Download packages from https://chocolatey.org and put them in packages folder Create xml files (some examples provided) to config which computers get which packages

  4. Put the ps1 and bat files in files folder

  5. Make the computers install install.bat on startup

Updating the local repostory

choco-outdated.ps1 is a script to be run by the Administrator, it compares the version numbers of nupkg files in your local repo to those on the chocolatey website, and if there's a newer version, downloads it to the working directory. The Administrator can then copy the new nupkg files to the local repo.

choco-school's People

Contributors

mavhc avatar

Stargazers

Alexey Shumay avatar Kieran West avatar Zag avatar

Watchers

 avatar Zag avatar

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.