TOR 洋葱路由安装

    技术2025-03-26  44

     

     

     

     

    1)安装zlib

    http://zlib.net/zlib-1.2.11.tar.gz

    unzip, tar -xf, make

    一路下来比较顺利

    2)安装openssl-1.1.1-stable-SNAP-20200627

     

        ./config --prefix=/usr/local --openssldir=/usr/local/ssl

        make && make install

        ./config shared --prefix=/usr/local --openssldir=/usr/local/ssl

        make clean

        make  && make install

    3)libevent

    $ mkdir build && cd build $ cmake ..     # Default to Unix Makefiles. $ make $ make verify  # (optional)

    4)

    ./configure --with-libevent-dir=/mnt/d/code/tor-zzh/libevent-master/build --with-zlib-dir=/mnt/d/code/tor-zzh/zlib-1.2.11

     

    To build Tor from a just-cloned git repository:         sh autogen.sh && ./configure && make && make install

    checking for zlib directory... configure: WARNING: Could not find a linkable zlib. If you have it installed somewhere unusual, you can specify an explicit path using --with-zlib-dir configure: WARNING: On Debian, you can install zlib using "apt-get install zlib1g" configure: WARNING: You will probably need zlib1g-dev too. configure: error: Missing libraries; unable to proceed.

     

     

     

     

     

     

    Processed: 0.014, SQL: 9