Skip to content

Quick Start Server

张九鹏 edited this page Oct 19, 2017 · 6 revisions

Server in Linux


Requirements

Java Runtime Environment 1.7+ Download

Ubuntu/Debian:

apt-get install oracle-java8-installer

CentOS:

yum install jdk-8u25-linux-x64.rpm

① Download

Get the latest version from you browser.

Or by command line:

wget https://github.com/ZhangJiupeng/AgentX/releases/download/v1.3.0/agentx-server-1.3.0.tar.gz

or

wget https://zhangjiupeng.com/agentx/agentx-server-1.3.0.tar.gz

② Configure and Run

  {
    "host": "0.0.0.0",
    "port": 9999,
    "relayPort": [],
    "protocol": "shadowsocks",
    "encryption": "aes-256-cfb",
    "password": "my_password",
    "process": ["encrypt"],
    "dnsCacheCapacity": 1000,
    "writeLimit": 0,
    "readLimit": 0
}
  1. Unzip the file, modify the config.json in your root path, such as shadowsocks, you can directly specify the encryption and password, for other configuration options, see [Quick Configuration Templates] (https://github.com/ZhangJiupeng/AgentX/wiki/Configuration-Server#quick-configuration-templates)
    • Start Once: Execute /path/to/bin/agentx console in Command Line, Ctrl+C to exit;
    • Start in the background: Execute /path/to/bin/agentx start in Command Line, /path/to/bin/agentx stop to exit;
    • Start with linux: Execute /path/to/bin/agentx installstart to setup and run, /path/to/bin/agentx remove to uninsall