diff options
author | Robert C. Helling <helling@atdotde.de> | 2020-12-03 21:52:53 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2020-12-03 13:26:55 -0800 |
commit | 5452001dce19010a79e709428d830f2abd7d23a6 (patch) | |
tree | 8444f09967572ea33b24daf11dafeff721755cc4 /packaging/headless/Setting-up-downloader | |
parent | 409a8c7223d051254d79652f628de7b202381164 (diff) | |
download | subsurface-5452001dce19010a79e709428d830f2abd7d23a6.tar.gz |
Shorten the packages list
I compared the packages to those that come with a fresh Raspian
install and also removed those that are dependencies of others.
Signed-off-by: Robert C. Helling <helling@atdotde.de>
Diffstat (limited to 'packaging/headless/Setting-up-downloader')
-rw-r--r-- | packaging/headless/Setting-up-downloader | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/packaging/headless/Setting-up-downloader b/packaging/headless/Setting-up-downloader index 421b1ba6c..1c2ee155e 100644 --- a/packaging/headless/Setting-up-downloader +++ b/packaging/headless/Setting-up-downloader @@ -5,8 +5,11 @@ How to set up a Raspberry Pi to use as a Subsurface downloader 2) Set up your local network according to https://www.raspberrypi.org/documentation/configuration/wireless/headless.md You also need to create a file named "ssh" in the boot partition to enable the ssh server. Set the hostname to subsurfacepi -3) apt-get install some more packages. On my pi, the packages listed in downloader_packages are installed, you can install them with -sudo xargs -a downloader_packages apt install +3) Install additional packages with their dependencies + +sudo apt-get install cmake-curses-gui debsums gvfs-bin ifuse ipheth-utils libcrypto++-dev libcurl4-openssl-dev libgit2-dev \ +libimobiledevice-utils libmtp-dev libqt5svg5-dev libqt5webkit5-dev libxslt1-dev libzip-dev qml-module-qtlocation \ +qml-module-qtpositioning qml-module-qtquick2 qt5-default qtconnectivity5-dev qtdeclarative5-private-dev qtpositioning5-dev qtscript5-dev 4) Clone the subsurface repository and build it as for any Debian based system: Run build.sh, then cd to the build directory, run ccamke . @@ -27,6 +30,11 @@ and select SUBSURFACE_TARGET_EXECUTABLE as DownloaderExecutable and make once mo Order allow,deny Allow from all </Directory> + ScriptAlias / /usr/lib/cgi-bin/downloader.pl + +activate the CGI Modules + +sudo ln -s /etc/apache2/mods-available/cgi* /etc/apache2/mods-enabled/ and restart apache2 @@ -44,4 +52,4 @@ sudo mkdir /opt/ssrf/ sudo touch /opt/ssrf/ssrf.conf sudo chown -R www-data.www-data /opt/ssrf -9) If you want to use the pi with an iPhone where the iPhone provides the internet connectivity, follow https://gist.github.com/antronic/157e047cdefa98b3150195c2eacb56b8
\ No newline at end of file +9) If you want to use the pi with an iPhone where the iPhone provides the internet connectivity, follow https://gist.github.com/antronic/157e047cdefa98b3150195c2eacb56b8 |