> ## Content Index
> Fetch the complete content index at: https://note.xdq.me/llms.txt
> Use this file to discover other available public pages before exploring further.

# 安装delegate作为socks代理转http代理服务器
- URL: https://note.xdq.me/an-zhuang-delegatezuo-wei-socksdai-li-zhuan-httpdai-li-fu-wu-qi/
- Published: 2014-12-14T15:41:17.000Z
- Updated: 2026-10-03T03:08:19.000Z
- Author: xud6
- Tags: linux, proxy, #Import 2026-10-03 02:45

从ftp://ftp.delegate.org/pub/DeleGate/bin/linux/latest/ 下载最新的程序

```
wget ftp://ftp.delegate.org/pub/DeleGate/bin/linux/9.9.13/linux2.6-dg9_9_13.tar.gz

```

然后解压

```
tar -xf linux2.6-dg9_9_13.tar.gz
cd linux2.6-dg9_9_13

```

将其中的DGROOT文件夹拷贝到$home并重命名为delegate

```
mv DGROOT $home
cd $home
mv DGROOT delegate

```

重命名执行文件

```
cd delegate/bin
mv dg9_9_13 delegated

```

运行

```
./delegated -P8080 SERVER=http SOCKS=127.0.0.1:1080 -v ADMIN=you@your.domain

```

也可以使用delegated.conf

```
mv dg9_9_13.conf delegated.conf
./delegated

```