Kirjoittaja Aihe: Pro Pilkki 2 hosting with Raspberry Pi  (Luettu 1603 kertaa)

0 jäsentä ja 1 Vieras katselee tätä aihetta.

Janne -Procyon-

  • Global Moderator
  • *****
  • Viestejä: 94
    • Profiili
Pro Pilkki 2 hosting with Raspberry Pi
« : Maaliskuu 25, 2016, 15:00:16 »
Pro Pilkki 2 host is now available for Raspberry Pi (Raspbian Wheezy/Jessie) as 1.1.2 Linux Beta. Quick instructions for downloading and setting up the host:

Run the commands in bold in console window, with a user is Super-User-Do grop (sudo). Default user "pi" typically.

1) Add Team Procyon GPG public package signing key to the system
wget -O -| sudo apt-key add -

2) Add Team Procyon apt-package repository to sources list (/etc/apt/sources.list) (Raspbian Jessie)
echo "deb jessie main" | sudo tee -a /etc/apt/sources.list
or (if you have older Raspbian Wheezy)
echo "deb wheezy main" | sudo tee -a /etc/apt/sources.list

From this on installation goes the standard apt-get style. Name of the program package is "pp2host"

3) Update available packages list (reads available packages also from Team Procyon apt-package repository)
sudo apt-get update

4) Install Pro Pilkki 2 host (pp2host)
sudo apt-get install pp2host

Installation program asks initial setup for the host (passwords, hello-texts etc.). It also asks if the program is registered to run automatically on boot. It also asks which Linux user is used to run the program service. Default is "pi" (recommended).

The same settings can be later on changed from config-file: /etc/pp2host/pp2host.conf
Config file has a few settings which the installer does not ask (IP port for example, default is 4500).

When the host has started, it can be monitored/controlled with network browser: http://<ip-address-of-raspberry-pi>:4500
admin/host http-page can be accessed with passwords defined during the installation procedure (or configured to pp2host.conf)

Some additional details can be read from the online manual, type: man pp2host
(how to start/stop the host manually, file locations etc.)

Remember to configure your network router to forward the traffic from outside world port 4500 to your Raspberry Pi IP-address port 4500.

Later, if there are updates for pp2host it will update along with everything else in the system when running
sudo apt-get update
sudo apt-get upgrade
To only upgrade pp2host, run
sudo apt-get update
sudo apt-get install --only-upgrade pp2host
If there is new version of pp2host available in our repository, your host will shut down, update to new version and restart automatically.

pp2host can be removed from the system permanently:
sudo apt-get purge pp2host
- Janne Olkkonen-
 --Team Procyon--

Kirjaudu sisään palveluiden tunnuksilla