-
Notifications
You must be signed in to change notification settings - Fork 194
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
23 changed files
with
736 additions
and
237 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,7 +27,7 @@ This tool requires a [Luminati](https://luminati.io/?cam=github-proxy) account. | |
## Installation | ||
|
||
### Windows | ||
Download the <a href="https://github.com/luminati-io/luminati-proxy/releases/download/v1.74.626/luminati-proxy-manager-v1.74.626-setup.exe">Luminati Proxy Manager installer</a>. | ||
Download the <a href="https://github.com/luminati-io/luminati-proxy/releases/download/v1.74.978/luminati-proxy-manager-v1.74.978-setup.exe">Luminati Proxy Manager installer</a>. | ||
|
||
### Linux/MacOs - Install script | ||
- Run the setup script to install | ||
|
@@ -36,7 +36,8 @@ wget -qO- https://luminati.io/static/lpm/luminati-proxy-latest-setup.sh | bash | |
``` | ||
### Linux/MacOS - Manual install | ||
- Install Node.js 6 or above ([nodejs.org](https://nodejs.org/en/download/)) | ||
- Install [Git](https://git-scm.com/downloads/) 1.7 or above | ||
- Make sure npm version is 4.6.1 or higher | ||
- if not, run: `sudo npm install -g [email protected]` | ||
- Install Luminati Proxy from the terminal prompt: | ||
```sh | ||
sudo npm install -g @luminati-io/luminati-proxy | ||
|
@@ -183,6 +184,9 @@ docker run luminati/luminati-proxy | |
|
||
docker run luminati/luminati-proxy luminati --version | ||
``` | ||
Make sure to forward appropriate ports. Proxy manager uses by default 22999 | ||
for the web console and the api, 22555 for dropin and 24000 for first | ||
configurable proxy. | ||
|
||
### SSL Requests | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,6 @@ arg=$1; | |
install_node=0; | ||
install_npm=0; | ||
install_curl=0; | ||
install_git=0; | ||
desired_node_ver='8.9.1'; | ||
desired_npm_ver='4.6.1'; | ||
downgrade_node=0; | ||
|
@@ -90,16 +89,6 @@ check_node() | |
|
||
} | ||
|
||
check_git() | ||
{ | ||
echo "checing git..."; | ||
if ! is_cmd_defined "git" | ||
then | ||
echo 'git is not installed' | ||
install_git=1; | ||
fi | ||
} | ||
|
||
check_curl() | ||
{ | ||
echo "checking curl..."; | ||
|
@@ -152,12 +141,6 @@ install_curl_fn() | |
sys_install "curl"; | ||
} | ||
|
||
install_git_fn() | ||
{ | ||
echo "installing git"; | ||
sys_install "git"; | ||
} | ||
|
||
update_npm_fn() | ||
{ | ||
echo "updating npm to $desired_npm_ver"; | ||
|
@@ -168,7 +151,6 @@ check_env() | |
{ | ||
echo "checking deps..."; | ||
check_curl; | ||
check_git; | ||
check_node; | ||
} | ||
|
||
|
@@ -179,10 +161,6 @@ deps_install() | |
then | ||
install_curl_fn; | ||
fi | ||
if [ "$install_git" == "1" ] | ||
then | ||
install_git_fn; | ||
fi | ||
if [ "$install_node" == "1" ] || [ "$update_node" == "1" ] | ||
then | ||
install_node_fn; | ||
|
@@ -208,8 +186,6 @@ lpm_clean() | |
sudo_cmd "rm -rf $home/.npm /root/.npm"; | ||
mkdir -p $HOME/.npm/_cacache | ||
mkdir -p $HOME/.npm/_logs | ||
git config --global url."git+https://github.com/".insteadOf [email protected]: | ||
git config --global url."git+https://".insteadOf git:// | ||
} | ||
|
||
lpm_install() | ||
|
@@ -233,7 +209,7 @@ lpm_install() | |
|
||
clean() | ||
{ | ||
sudo_cmd "apt-get remove -y curl nodejs npm git"; | ||
sudo_cmd "apt-get remove -y curl nodejs npm"; | ||
local lib_path=$(npm list -g | head -1); | ||
sudo_cmd "rm -rf $lib_path/node $lib_path/node_modules ~/.npm ~/.nave"; | ||
sudo_cmd "rm -rf /usr/local/bin/{luminati,liminati-proxy,npm,nave,node}"; | ||
|
Oops, something went wrong.