Setting up Homer: Difference between revisions

From Alpine Linux
(first edit, rough notes)
(No difference)

Revision as of 14:16, 16 May 2016

This material is work-in-progress ...

Do not follow instructions here until this notice is removed.
(Last edited by Larena on 16 May 2016.)

Rough notes for setting up Homer on Alpine Linux from testing repository

apk add homer-ui homer-api-doc nginx php5-fpm apk add mariadb mariadb-client rc-service mariadb setup rc-service mariadb start rc-update add mariadb /usr/bin/mysql_secure_installation mysql -u root -p < /usr/share/homer-api/sql/homer_databases.sql mysql -u root -p < /usr/share/homer-api/sql/homer_user.sql mysql -u root homer_data -p < /usr/share/homer-api/sql/schema_data.sql mysql -u root homer_configuration -p < /usr/share/homer-api/sql/schema_configuration.sql mysql -u root homer_statistic -p < /usr/share/homer-api/sql/schema_statistic.sql cp /usr/share/doc/homer-api/examples/web/homer5.nginx /etc/nginx/sites-available/homer5 cp /usr/share/doc/homer-api/examples/web/homer5.php-fpm /etc/php5/fpm.d/homer5.conf rc-service php-fpm start rc-update add php-fpm rm /etc/nginx/sites-enabled/test ln ../sites-available/homer5 /etc/nginx/sites-enabled/homer5 rc-service nginx start rc-update add nginx ln -s /usr/share/webapps/homer-ui /var/www/localhost/htdocs/homer edit "root", "server" in /etc/nginx/sites-available/homer5.nginx "/var/www/localhost/htdocs/homer" edit "HOMER_TIMEZONE" in /etc/homer/preferences.php