Spotweb on Centos 7

Disclaimer: This is not my product, nor do I maintain it. I merely had some struggles getting this to work for testing purposes and setup a simple guide for future reference.

Spotweb is a web utility which indexes various posts on usenet.

Prerequisites:
– Make sure your /var (or wheve-ever your www folder is located has at least 15GB)
– Have apache2, php5 and mysql 5 installed (standard repo is good): This guide will not handle the installation of a webserver with php and mysql.
– Your server / vm should have 2 cores and at least 3GB of RAM

New group
Create a new group and set proper rights

step 2: Set firewall rules

Step 3: Creating a database for spotweb

Step 3: Installing software + deploying spotweb

Step 4: Edit php.ini
Change the following lines:

Step 5: Installing spotweb
Navigate in your browser to either localhost or . For example: http://10.0.0.143/install.php
Check if everything is OK.
The following two items may be NOT OK:
– PostgresqlDB
– Own settings file

If everything is oke, click next.

Step 6: Setting the db settings
In this screen leave everything as is, except for the password. Change it to something you seem fit.

Click next

Step 7: Configuring usenet provider & admin user
In this screen fill in your own usenet provider
Hint: I prefer to use custom (at the bottom) and port 119. SSL seems to have troubles with retrieving from time to time.
For example

In the next screen you can create your own admin user.
Admin /admin/ administrator etc are forbidden.
Just choose your own nickname and strong password!
Fill in the rest of the details (I wouldnt recommend using your real name and email).

Press next for the last step in the web install phase.

Step 8: Creating db file
Go back to the command line

Don’t forget to check if the url works! 🙂

Step 9: Install.php
To make sure nobody can ruin your installation or hijack it we’re going to move the install.php
Either remove it, or move it to your home directory

Step 10: Backing up the folder in tar.gz for future use

Step 11: Login to spotweb
Use the credentials u choose during installation.
In the top right corner press config > settings

Settings:

I am still toying around with the other settings. Check back later to see what I used.

Step 12: Making a cronjob for retrieving the spots

Tips and tricks:
– Git pull can be used inside the spotweb directory to update to a newer version (backup before you do!)
– php upgrade-db.php can be used to check the database when applying a newer version of spotweb.

Leave a Reply

Your email address will not be published. Required fields are marked *