Hai,
Danke vielmals für die Hilfe. Das hat geklappt.
Derzeit bin ich noch ohne Verbindung zum Kessel unterwegs...der Apache läuft, die Default Seite sehe ich. Jedoch gibt es keinerlei P4 Inhalte in /var/www außer dem index.html.
Wie erzähl ich dem Apache nun, wo die Inhalte sind? myip/main.php bringt natürlich ein "not found"
pi@rpip4d:/etc/p4d $ cd /usr/src/linux-p4d/
pi@rpip4d:/usr/src/linux-p4d $ sudo make install-web
if ! test -d /var/lib/p4; then \
mkdir -p "/var/lib/p4"; \
chmod a+rx /var/lib/p4; \
fi
if test -f "/var/lib/p4/stylesheet.css"; then \
cp -Pp "/var/lib/p4/stylesheet.css" "/var/lib/p4/stylesheet.css.save"; \
fi
if test -f "/var/lib/p4/config.php"; then \
cp -p "/var/lib/p4/config.php" "/var/lib/p4/config.php.save"; \
fi
cp -r ./htdocs/* /var/lib/p4/
if test -f "/var/lib/p4/config.php.save"; then \
cp -p "/var/lib/p4/config.php" "/var/lib/p4/config.php.dist"; \
cp -p "/var/lib/p4/config.php.save" "/var/lib/p4/config.php"; \
fi
if test -f "/var/lib/p4/stylesheet.css.save"; then \
cp -Pp "/var/lib/p4/stylesheet.css.save" "/var/lib/p4/stylesheet.css"; \
fi
cat ./htdocs/header.php | sed s:"<VERSION>":"0.2.335":g > /var/lib/p4/header.php; \
chmod -R a+r /var/lib/p4; \
chown -R www-data:www-data /var/lib/p4
pi@rpip4d:/usr/src/linux-p4d $ sudo make install-pcharts
if ! test -d /var/lib/pChart2.0; then \
git clone https://github.com/bozhinov/pChart2.0-for-PHP7.git /var/lib/pChart2.0; \
cd /var/lib/pChart2.0; \
git checkout 7.x-compatible; \
ln -s /var/lib/pChart2.0 /var/lib/p4/pChart; \
chown -R www-data:www-data /var/lib/pChart2.0; \
fi
Klone nach '/var/lib/pChart2.0' ...
remote: Enumerating objects: 147, done.
remote: Counting objects: 100% (147/147), done.
remote: Compressing objects: 100% (108/108), done.
remote: Total 4348 (delta 103), reused 75 (delta 39), pack-reused 4201
Empfange Objekte: 100% (4348/4348), 7.72 MiB | 946.00 KiB/s, Fertig.
Löse Unterschiede auf: 100% (3445/3445), Fertig.
Branch '7.x-compatible' folgt nun Remote-Branch '7.x-compatible' von 'origin'.
Zu neuem Branch '7.x-compatible' gewechselt
pi@rpip4d:/usr/src/linux-p4d $ sudo make install-apache-conf
install --mode=644 -D apache2/p4.conf /etc/apache2/conf-available/
rm -f /etc/apache2/conf-enabled/p4.conf
ln -s /etc/apache2/conf-available/p4.conf /etc/apache2/conf-enabled/p4.conf
DB hat auch noch Schmerzen:
Sep 30 06:42:32 rpip4d p4d: Try conneting to database
Sep 30 06:42:32 rpip4d p4d: Checking database connection ...
Sep 30 06:42:32 rpip4d p4d: Calling mysql_init(16168)
Sep 30 06:42:32 rpip4d p4d: SQL-Error in 'connecting to database' - Access denied for user 'p4'@'localhost' (using password: YES) (1045)
Sep 30 06:42:32 rpip4d p4d: Fatal, lost connection to mysql server, aborting pending actions
Sep 30 06:42:32 rpip4d p4d: Error, connecting to database at 'localhost' on port (3306) failed
Sep 30 06:42:32 rpip4d p4d: Closing mysql connection and calling mysql_thread_end(16168)
Sep 30 06:42:32 rpip4d p4d: Error: Initial database connect failed
Sep 30 06:42:32 rpip4d p4d: Retrying in 10 seconds
DbPass in /etc/p4d/p4d.conf hab ich aktualisiert.
Vielen Dank und scheen Dog,
Richie