Archived
1
0
This repository has been archived on 2023-08-12. You can view files and clone it, but cannot push or open issues or pull requests.
nntpchan/doc/setting-up.md

75 lines
2.5 KiB
Markdown
Raw Normal View History

2016-06-05 15:04:55 +05:00
Configuring NNTPChan
====================
2016-06-04 20:36:26 +05:00
This document provides a step-by-step guide to configurin your NNTPChan node.
2017-04-04 18:01:43 +05:00
## Configuring via web-interface (WIP)
2016-06-04 20:36:26 +05:00
You can configure NNTPChan via the web-interface by navigating your browser to http://127.0.0.1:18000.
2016-06-04 20:43:05 +05:00
2016-06-05 15:05:21 +05:00
<hr>
2017-04-04 18:01:43 +05:00
### Selecting your data-storage system
2016-06-04 20:43:05 +05:00
2016-06-04 20:45:22 +05:00
![Image 1](http://i.imgur.com/l9iiXxB.png)
2016-06-04 20:43:05 +05:00
2016-06-05 15:06:25 +05:00
First your will be asked what data-storage system you would like to use. We support Redis and Postgres. Below we have configuration information for both Redis and Postgres.
2016-06-04 20:43:05 +05:00
2016-06-04 20:51:21 +05:00
<hr>
2016-06-04 20:50:02 +05:00
2017-04-04 18:01:43 +05:00
#### Postgres configuration
2016-06-04 20:55:01 +05:00
2016-06-04 20:56:17 +05:00
![Image 3](http://i.imgur.com/WPXedZB.png)
2016-06-04 20:55:01 +05:00
2016-06-05 16:31:46 +05:00
**First** [Install and Configure Postgres database](database/postgres/configure-postgres.md).
2016-06-05 14:27:37 +05:00
**Then** fill in the fields below:
2016-06-04 20:55:01 +05:00
2017-04-04 18:01:43 +05:00
* **Hostname or IP Address** - This is the hostname or IP address of your Postres server (I would run it locally on 127.0.0.1 to be safe).
2016-06-05 15:06:25 +05:00
* **Port number** - This is the port that your Postgres server is running on.
* **Username** - The username for Postgres.
* **Password** - The password for Postgres.
2016-06-04 20:59:54 +05:00
<hr>
2017-04-04 18:01:43 +05:00
### Configuring the NNTP server
2016-06-04 20:59:54 +05:00
2016-06-04 21:01:40 +05:00
![Image 4](http://i.imgur.com/FXxShtu.png)
Fill in the fields required for the NNTP server.
2016-06-04 20:59:54 +05:00
* **Name of NNTP instance** - What is the significamce of this name.
* **Allow attachements** - Check the box if you want people to be able to add attachements to posts.
* **Allow anonymous posters** - Check the box if you want to allow anonymous posters.
2016-06-04 21:00:27 +05:00
* **Allow attachments from anonymous posters** - Check the box if you want to allow anonymous posters to add attachments to their posts.
* **Require TLS for incoming connections** - Check the box if NNTP connections must be encrypted and authenticated with TLS (highly recommended).
2016-06-04 21:04:17 +05:00
2017-04-04 18:01:43 +05:00
### Configuring TLS
2016-06-04 21:04:17 +05:00
![Image 5](http://i.imgur.com/EjkrjTT.png)
Fill in the fields required for the TLS security system.
2017-01-29 19:03:48 +05:00
* **Hostname or IP address** - Represents the `Common Name (CN)` in the TLS certificate
* **TLS keyname** - Represents the `Organization (O)` in the TLS certificate. Most nodes use `overchan`.
2016-06-04 21:07:40 +05:00
2017-04-04 18:01:43 +05:00
### Set paths to external programs
2016-06-04 21:07:40 +05:00
![Image 6](http://i.imgur.com/hBXYJDo.png)
NNTPChan needs to know the paths to the listed programs on your system.
* **convert path** - Path to the `convert` program.
* **ffmpeg path** - Path to the `ffmpeg` program.
* **sox path** - Path to the `sox` program.
2016-06-04 23:32:26 +05:00
2017-04-04 18:01:43 +05:00
## Manual configuration (WIP)
2016-06-04 23:32:26 +05:00
2016-06-05 14:57:37 +05:00
Check out the following in order:
2016-06-05 14:57:49 +05:00
1. Setting up data-storage system (choose i or ii)
2017-09-04 16:55:57 +05:00
1. [Setting up using Postgres](database/postgres/configure-postgres.md)
2016-06-05 14:57:49 +05:00
2. [Setting up NNTPChan system](srnd.md)
3. [Setting up feeds](feeds.md)