Chat

Author Topic: Pro Pilkki 2 hosting with Linux (including Raspberry Pi)  (Read 11576 times)

0 Members and 1 Guest are viewing this topic.

Janne -Procyon-

  • Global Moderator
  • *****
  • Posts: 98
    • View Profile
Pro Pilkki 2 host (v1.6 Linux) is now available for the following Linux distributions:

Debian Jessie:
  - Processor type ARM (Raspberry Pi, Raspbian)
Debian Stretch:
  - Processor type ARM (Raspberry Pi, Raspbian)
  - Processor type AMD64 (64 bit server)
Ubuntu Xenial / Bionic / Focal:
  - Processor type AMD64 (64 bit server)

Quick instructions for downloading and setting up the host:

Run the commands in bold in console window.

1) Add Team Procyon GPG public package signing key to the system
wget -O - http://procyon.ddns.net:8080/propilkki_pub.gpg.key| sudo apt-key add -

2) Add Team Procyon apt-package repository to sources list (/etc/apt/sources.list). Select the command from below according to your Linux distribution and release:

Debian Stretch:
echo "deb http://procyon.ddns.net:8080/repos/apt/debian stretch main" | sudo tee -a /etc/apt/sources.list
Debian Jessie:
echo "deb http://procyon.ddns.net:8080/repos/apt/debian jessie main" | sudo tee -a /etc/apt/sources.list
Ubuntu Xenial:
echo "deb http://procyon.ddns.net:8080/repos/apt/ubuntu xenial main" | sudo tee -a /etc/apt/sources.list
Ubuntu Bionic:
echo "deb http://procyon.ddns.net:8080/repos/apt/ubuntu bionic main" | sudo tee -a /etc/apt/sources.list
Ubuntu Focal:
echo "deb http://procyon.ddns.net:8080/repos/apt/ubuntu focal main" | sudo tee -a /etc/apt/sources.list

From here, the installation goes with 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" in Raspberry (recommended). Please avoid using "root" for security reasons.

The same settings can be later on changed from config-file: /etc/pp2host/pp2host.conf
The 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-server>: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 server 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

Please note: if you upgrade existing linux host (1.x -> 1.4.x), new features are enable only if you remove the setting for minimum client version.
Setting can be found from /etc/pp2host/pp2host.conf
replace the line:
MIN_CLIENT_VER=1.0.9
with:
MIN_CLIENT_VER=""
« Last Edit: May 19, 2020, 22:26:15 by Janne -Procyon- »
- Janne Olkkonen-
 --Team Procyon--

TaaviT

  • Guest
Vs: Pro Pilkki 2 hosting with Linux (including Raspberry Pi)
« Reply #1 on: September 12, 2018, 14:58:35 »
Hi,

I have done step 1 and 2, but get the error message below on sudo apt-get update. Any idea how to fix this?
I am running Ubuntu server 14.04 x64.


W: Failed to fetch http://procyon.ddns.net:8080/repos/apt/ubuntu/dists/trusty/InRelease  Unable to find expected entry 'main/binary-i386/Packages' in Release file (Wrong sources.list entry or malformed file)

E: Some index files failed to download. They have been ignored, or old ones used instead.


123rus

  • Posts: 3
    • View Profile
    • Email
Vs: Pro Pilkki 2 hosting with Linux (including Raspberry Pi)
« Reply #2 on: October 25, 2018, 12:05:30 »

Пакеты, имеющие неудовлетворённые зависимости:
 pp2host : Зависит: libc6 (>= 2.14) но 2.13-38+deb7u12 будет установлен
           Зависит: libstdc++6 (>= 5.2) но 4.7.2-5 будет установлен
E: Невозможно исправить ошибки, у вас отложены (held) битые пакеты.
[email protected]:~#

Janne -Procyon-

  • Global Moderator
  • *****
  • Posts: 98
    • View Profile
Vs: Pro Pilkki 2 hosting with Linux (including Raspberry Pi)
« Reply #3 on: October 25, 2018, 22:32:17 »
It is well possible that pp2host 64bit package for Debian is not working. 64 bit package is created for Ubuntu, but I added it to Debian repository as well, assuming it is compatible, looks like libc-library is not. When it comes time to update pp2host, I'll try to fix also Debian 64 bit package.
- Janne Olkkonen-
 --Team Procyon--

 



center>