GithubHelp home page GithubHelp logo

light-bringer / squid-setup-pyshell Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 0.0 38 KB

A small project to setup Squid Server in the most pythonic way!

License: Apache License 2.0

Python 66.31% Shell 33.69%
squid-proxy squid3 setup python2 automation

squid-setup-pyshell's Introduction

How to use this :

1. Make sure you have Python2.7 installed
2. Check the file squid.conf.file and verify if this is the configuration you want
3. By default these two users are updated for Squid : //let me know if you want them to be modified and user taken input in future

    user1 - admin
    user2 - admin

             line 299   userdict = {'user1':'admin', 'user2':'admin'}
             line 300   squidconfig = "squid.conf.file"




4. if everything is Fine, just run bash setup.py and enjoy!


ps - Run the script as root user or sudo run it, else it will curse you! :D



for example : get the zip file in your system and run :
'''
sudo bash setup.sh
'''


or run after logging into the server as root user

'''
curl https://raw.githubusercontent.com/light-bringer/python-shell/master/setup.sh
sudo bash setup.sh
'''


@Author : Debapriya

squid-setup-pyshell's People

Contributors

light-bringer 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.