7eXx / proxy-configurator

Some scripts to set and unset company proxy for different services

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Proxy company configurator

This simple utility is a simple proxy configurator for a series of services:

  • bash/zsh
  • git
  • npm
  • snap
  • docker

Usage

Simply edit the "set-proxy.sh" file including in the top the url of your company proxy server.
Then open a terminal and execute the following command:

source ./set-proxy.sh

Note: Remember to logout and re-login because some environmental variables are edited.

Disable Proxy

To remove all proxy configuration execute:

source ./unset-proxy.sh

Build package

To build the project in a *.deb package to be installed, use the command:

$ make build

Then install the package, this will create the executable in bin folder.

$ sudo dpkg -i proxy-configurato.deb

To cleanup created package use:

$ make clean

About

Some scripts to set and unset company proxy for different services


Languages

Language:Shell 93.5%Language:Makefile 6.5%