Getting started
From zero to a running hub in a few simple steps.
1. Build uhub
Download the sources and compile them. On most systems this is just CMake and make.
2. Create a configuration file
This step is optional — if no configuration files are present, uhub starts with sensible
defaults. To customise the hub, edit /etc/uhub/uhub.conf as root:
hub_name = My Public Hub
hub_description = Yet another ADC hub
server_port = 1511
server_bind_addr = any
max_users = 150
3. Start the hub
Run uhub in the foreground for the first time. Stop it with Ctrl+C.
$ uhub
INFO: Starting server, listening on :::1511...
4. Connect with a client
Point an ADC client at adc://localhost:1511, replacing localhost
with the correct hostname or IP address.
Note: the adc:// prefix and the port number are required
when connecting with DC++ and other ADC clients.
Your mileage may vary — good luck!