[vz-dev] 'php-apc' has no installation candidate
Udo1
udo1 at gmx.net
Mon Oct 2 10:59:45 CEST 2017
Am 02.10.2017 um 06:44 schrieb Daniel Lauckner:
> Hat natürlich nicht gereicht: doctrine braucht auch root-access zur DB.
> Das gefällt mir so jetzt aber nicht wirklich, sind zu viele sudo
> im Script. :/
Hat aber funktioniert:
pi at volkszaehler:~ $ bash install.sh
volkszaehler.org installation script
checking prerequisites: php: /usr/bin/php
mysql: /usr/bin/mysql
awk: /usr/bin/awk
sed: /bin/sed
grep: /bin/grep
wget: /usr/bin/wget
mktemp: /bin/mktemp
mkdir: /bin/mkdir
git: /usr/bin/git
checking php version: 7.0.19-1 >= 7.0, ok
volkszaehler setup...
volkszaehler path? [/home/pi/volkszaehler.org]
git clone volkszaehler.org into /home/pi/volkszaehler.org
Cloning into '/home/pi/volkszaehler.org'...
remote: Counting objects: 11093, done.
remote: Compressing objects: 100% (16/16), done.
remote: Total 11093 (delta 8), reused 13 (delta 4), pack-reused 11073
Receiving objects: 100% (11093/11093), 7.19 MiB | 3.17 MiB/s, done.
Resolving deltas: 100% (6088/6088), done.
link from webserver to volkszaehler directory? [/var/www/volkszaehler.org]
linking /var/www/volkszaehler.org to /home/pi/volkszaehler.org
checking composer...
~/volkszaehler.org ~
composer not found, downloading...
All settings correct for using Composer
Downloading...
Composer (version 1.5.2) successfully installed to:
/home/pi/volkszaehler.org/composer.phar
Use it: php composer.phar
~
composer: /home/pi/volkszaehler.org/composer.phar
installing dependencies...
~/volkszaehler.org ~
Loading composer repositories with package information
Updating dependencies
Package operations: 40 installs, 0 updates, 0 removals
- Installing psr/log (1.0.2): Downloading (100%)
- Installing symfony/debug (v3.3.9): Downloading (100%)
- Installing symfony/polyfill-mbstring (v1.5.0): Downloading (100%)
- Installing symfony/console (v3.3.9): Downloading (100%)
- Installing doctrine/lexer (v1.0.1): Downloading (100%)
- Installing doctrine/inflector (v1.2.0): Downloading (100%)
- Installing doctrine/collections (v1.4.0): Downloading (100%)
- Installing doctrine/cache (v1.6.2): Downloading (100%)
- Installing doctrine/annotations (v1.4.0): Downloading (100%)
- Installing doctrine/common (v2.7.3): Downloading (100%)
- Installing doctrine/dbal (v2.5.13): Downloading (100%)
- Installing andig/dbcopy (1.1): Downloading (100%)
- Installing symfony/routing (v3.3.9): Downloading (100%)
- Installing symfony/http-foundation (v3.3.9): Downloading (100%)
- Installing react/promise (v2.5.1): Downloading (100%)
- Installing evenement/evenement (v2.0.0): Downloading (100%)
- Installing react/stream (v0.4.6): Downloading (100%)
- Installing react/event-loop (v0.4.3): Downloading (100%)
- Installing react/socket (v0.5.1): Downloading (100%)
- Installing psr/http-message (1.0.1): Downloading (100%)
- Installing guzzlehttp/psr7 (1.4.2): Downloading (100%)
- Installing ratchet/rfc6455 (v0.2.3): Downloading (100%)
- Installing cboden/ratchet (v0.4): Downloading (100%)
- Installing react/promise-stream (v0.1.1): Downloading (100%)
- Installing ringcentral/psr7 (1.2.1): Downloading (100%)
- Installing react/http (dev-master cd15204): Cloning cd15204bd1 from
cache
- Installing paragonie/random_compat (v2.0.11): Downloading (100%)
- Installing monolog/monolog (1.23.0): Downloading (100%)
- Installing react/promise-timer (v1.2.0): Downloading (100%)
- Installing react/cache (v0.4.1): Downloading (100%)
- Installing react/dns (v0.4.11): Downloading (100%)
- Installing react/socket-client (v0.5.3): Downloading (100%)
- Installing symfony/process (v3.3.9): Downloading (100%)
- Installing mkraemer/react-pcntl (v2.0.0): Downloading (100%)
- Installing php-pm/php-pm (dev-master 5a883f4): Cloning 5a883f48f0
from cache
- Installing symfony/event-dispatcher (v3.3.9): Downloading (100%)
- Installing symfony/http-kernel (v3.3.9): Downloading (100%)
- Installing php-pm/httpkernel-adapter (dev-master b373b03): Cloning
b373b0384f from cache
- Installing doctrine/instantiator (1.0.5): Downloading (100%)
- Installing doctrine/orm (v2.5.11): Downloading (100%)
Writing lock file
Generating autoload files
install server-side graph generation (jpgraph, not required for
frontend)? [n]
~
volkszaehler.org is not configured yet. creating new config from sample
config file.
mysql admin user? [root]
mysql admin password? [] raspberry
mysql database? [volkszaehler]
mysql user? [vz]
mysql password? [demo]
create volkszaehler.org database? [y]
creating database volkszaehler...
~/volkszaehler.org ~
ATTENTION: This operation should not be executed in a production
environment.
Creating database schema...
Database schema created successfully!
Processing entity "Volkszaehler\Model\Aggregate"
Processing entity "Volkszaehler\Model\Entity"
Processing entity "Volkszaehler\Model\Channel"
Processing entity "Volkszaehler\Model\Data"
Processing entity "Volkszaehler\Model\Property"
Processing entity "Volkszaehler\Model\Aggregator"
Proxy classes generated to "/home/pi/volkszaehler.org/lib/Model/Proxy"
~
create volkszaehler.org database user? [y]
creating db user vz with proper rights...
allow channel deletion? [n] y
granting db user vz delete rights...
insert demo data in to database? [n]
pi at volkszaehler:~ $
Gruß
Udo
More information about the volkszaehler-dev
mailing list