A debian package of pagekite.py is being developed on Github.
The pagekite debian package is hosted in an unoffical apt package repository. You can add
deb http://apt.he.pagekite.me/ pagekite main
to your /etc/apt/sources.list
. Ubuntu users can do the same through the graphical Synaptic package manager.
You will need to add a GPG key to the package manager so it can verify the package. This can be done by issuing:
sudo apt-key adv --recv-keys --keyserver keys.gnupg.net 6F95480C
Then refresh your package sources by issuing
sudo apt-get update
and the install pagekite
sudo apt-get install pagekite
If you don't want to use apt or similar package managers to keep your system up to date you can always install the package manually
The latest .deb package can be found https://github.com/hrafnkelle/PyPagekite/downloads
Debian and Ubuntu users should be able to install it by dowloading the package and then install it
sudo dpkg -i pagekite_0.3.12-1_all.deb
(replace version number with the one you downloaded, hopefully the latest!)
Using the Debian package is a fair bit different from using the stand-alone pagekite.py
as distributed by pagekite.net.
The main differences are that the Debian package will integrate pagekite.py
into your system so that it starts up automatically and runs in the background, and it will ignore the .pagekite.rc
file in your home directory and use files from /etc/
instead (see below for details).
Since it runs in the background, debugging and other log output is not sent to the console, but written to files in /var/log/pagekite/
.
The configuration can then be found in the directory /etc/pagekite/
. Backend definitions should be placed in /etc/pagekite/local.rc
, changing /etc/pagekite/pagekite.rc
is not recommended.
pagekite.py will be started automatically on install. Manual starting and stopping of pagekite can be done with
sudo invoke-rc.d pagekite start/stop
If you wish to run your own frontend, please look at the example in /usr/share/doc/pagekite/examples/frontend.rc
Hopefully this package will be accepted into the Debian repositories. An Intent to Package has been filed, bugnr #610358.
[ Back to How-Tos ]
Comments
W: Failed to fetch http://pagekite.net/pk/deb/dists/page... Unable to find expected entry 'main/binary-amd64/Packages' in Release file (Wrong sources.list entry or malformed file)
The following packages have unmet dependencies:
pagekite : Depends: python-socksipychain (>= 2.0) but it is not installable
E: Broken packages
a list of debian architectures is a work in progress on http://www.debian.org/ports/
The following packages have unmet dependencies:
pagekite : Depends: python-socksipychain (>= 2.0) but it is not installable
E: Broken packages
a list of debian architectures is a work in progress on http://www.debian.org/ports/
Setting up python-socksipychain (2.0.1-0pagekite) ...
Setting up pagekite (0.4.4c-0pagekite) ...
Traceback (most recent call last):
File "/usr/bin/pagekite", line 3, in <module>
import pagekite as pk
ImportError: No module named pagekite
After that i had to start pagekite myself.
Direct installation worked too of course.