Skip to content

Commit

Permalink
1.74.978
Browse files Browse the repository at this point in the history
  • Loading branch information
fudali committed Dec 14, 2017
1 parent 4ea3863 commit 7e34df3
Show file tree
Hide file tree
Showing 23 changed files with 736 additions and 237 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
Luminati Proxy manager - Change Log

## 1.74.978
- :star: remove git dependency
- :star: reserved session
- :star: new edit page design structure
- :star: new add proxy modal design

## 1.74.626
- :star: add experimental cluster mode under '--cluster' flag in cmd
- :star: add race request option
Expand Down
2 changes: 1 addition & 1 deletion README-zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
- <a href="https://nodejs.org/en/download/">Node.js</a> 6+版

### Windows
下载 <a href="https://github.com/luminati-io/luminati-proxy/releases/download/v1.74.626/luminati-proxy-manager-v1.74.626-setup.exe">代理管理安装器</a>.
下载 <a href="https://github.com/luminati-io/luminati-proxy/releases/download/v1.74.978/luminati-proxy-manager-v1.74.978-setup.exe">代理管理安装器</a>.

### Linux/MacOS
- 安装 Node.js 6+版 (最好用x
Expand Down
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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

Expand Down
26 changes: 1 addition & 25 deletions bin/lpm_install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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...";
Expand Down Expand Up @@ -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";
Expand All @@ -168,7 +151,6 @@ check_env()
{
echo "checking deps...";
check_curl;
check_git;
check_node;
}

Expand All @@ -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;
Expand All @@ -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()
Expand All @@ -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}";
Expand Down
Loading

0 comments on commit 7e34df3

Please sign in to comment.