| 
									
										
										
										
											2016-06-04 17:36:26 +02:00
										 |  |  | Configuring NNTPChan server | 
					
						
							|  |  |  | =========================== | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | This document provides a step-by-step guide to configurin your NNTPChan node. | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2016-06-04 20:32:26 +02:00
										 |  |  | ##Configuring via web-interface (WIP)
 | 
					
						
							| 
									
										
										
										
											2016-06-04 17:36:26 +02:00
										 |  |  | 
 | 
					
						
							|  |  |  | You can configure NNTPChan via the web-interface by navigating your browser to http://127.0.0.1:18000. | 
					
						
							| 
									
										
										
										
											2016-06-04 17:43:05 +02:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2016-06-04 18:01:40 +02:00
										 |  |  | ###Selecting your data-storage system
 | 
					
						
							| 
									
										
										
										
											2016-06-04 17:43:05 +02:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2016-06-04 17:45:22 +02:00
										 |  |  |  | 
					
						
							| 
									
										
										
										
											2016-06-04 17:43:05 +02:00
										 |  |  | 
 | 
					
						
							|  |  |  | First your will be asked what data-storage system you would like to use. We support Redis and PostgreSQL. | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2016-06-04 17:51:21 +02:00
										 |  |  | <hr> | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2016-06-04 17:51:07 +02:00
										 |  |  | ####Redis configuration
 | 
					
						
							| 
									
										
										
										
											2016-06-04 17:50:02 +02:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2016-06-04 17:50:46 +02:00
										 |  |  |  | 
					
						
							| 
									
										
										
										
											2016-06-04 17:50:02 +02:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2016-06-05 11:30:20 +02:00
										 |  |  | **First** [Install and Configure Redis database](database/redis/install-and-configure-redis.md). | 
					
						
							| 
									
										
										
										
											2016-06-05 11:27:37 +02:00
										 |  |  | **Then** fill in the fields below: | 
					
						
							| 
									
										
										
										
											2016-06-04 17:50:02 +02:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2016-06-04 17:55:01 +02:00
										 |  |  | * **Hostname or IP Address** - This is the hostname or IP address of your Redis server (I would run it locally on 127.0.0.1 to be safe). | 
					
						
							|  |  |  | * **Port number** - The port that your Redis server is running on. | 
					
						
							| 
									
										
										
										
											2016-06-05 11:30:20 +02:00
										 |  |  | * **Password** - Optional authentication password for Redis ([Setting up a Redis password](database/redis/securing-redis.md)). | 
					
						
							| 
									
										
										
										
											2016-06-04 17:55:01 +02:00
										 |  |  | 
 | 
					
						
							|  |  |  | <hr> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | ####PostgreSQL configuration
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2016-06-04 17:56:17 +02:00
										 |  |  |  | 
					
						
							| 
									
										
										
										
											2016-06-04 17:55:01 +02:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2016-06-05 11:30:20 +02:00
										 |  |  | **First** [Install and Configure Postgres database](database/postgres/postgres.md). | 
					
						
							| 
									
										
										
										
											2016-06-05 11:27:37 +02:00
										 |  |  | **Then** fill in the fields below: | 
					
						
							| 
									
										
										
										
											2016-06-04 17:55:01 +02:00
										 |  |  | 
 | 
					
						
							|  |  |  | * **Hostname or IP Address** - This is the hostname or IP address of your PostreSQL server (I would run it locally on 127.0.0.1 to be safe).  | 
					
						
							|  |  |  | * **Port number** - This is the port that your PostgreSQL server is running on. | 
					
						
							|  |  |  | * **Username** - The username for PostgreSQL. | 
					
						
							|  |  |  | * **Password** - The password for PostgreSQL. | 
					
						
							| 
									
										
										
										
											2016-06-04 17:59:54 +02:00
										 |  |  | 
 | 
					
						
							|  |  |  | <hr> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | ###Configuring the NNTP server
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2016-06-04 18:01:40 +02:00
										 |  |  |  | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | Fill in the fields required for the NNTP server. | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2016-06-04 17:59:54 +02: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 18:00:27 +02: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 18:04:17 +02:00
										 |  |  | 
 | 
					
						
							|  |  |  | ###Configuring TLS
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |  | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | Fill in the fields required for the TLS security system. | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | * **Hostname or IP address** - FIXME. | 
					
						
							|  |  |  | * **TLS keyname** - FIXME. | 
					
						
							| 
									
										
										
										
											2016-06-04 18:07:40 +02:00
										 |  |  | 
 | 
					
						
							|  |  |  | ###Set paths to external programs
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |  | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 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 20:32:26 +02:00
										 |  |  | 
 | 
					
						
							|  |  |  | ##Manual configuration (WIP)
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | FIXME |