Next: , Previous: Requirements, Up: Top



4 Quick start

You can use phc after a few minutes if you do like this step by step:

  1. Extract from source and enter the work dir:
              tar zxvf phc-1.1.tar.gz
              cd phc-1.1
         
  2. Compile && Install:
              ./configure
              make
              make install
         
  3. Phc will search configureation file and proxylist file in current dir. If you still in work dir, just create configuration file like this:
              cp doc/phc.conf.example phc.conf
         

    Now read the configuration file "phc.conf". Notice: The line begin with '#' is commet line. The line after the line begin with '#' must be customized with you own setting. And the line begin with

    '#! if'
    

    need be updated only if the condition expression after "if" is true.

    5 Introduction to basic configuration

  4. If you have proxy list file like the file proxylist in directory doc, just rename it as proxylist. Otherwise, you can copy the proxylist file in doc to current directory to to begin test immediately:
              cp doc/proxylist .
         

    Notice, phc.conf must be in the same directory now.

  5. At last, start checking:
              phc
         

    Tips: If you have found enough free proxies, you can use "^C" to stop phc at any time.

    The result of of validation will be printed on screen and saved to file named proxyout in current directory immediately after any free proxy is found .

  6. Example of configuration.