Instructions for rss setup
This commit is contained in:
parent
991bf6ffc7
commit
63acf78a3a
|
@ -8384,6 +8384,9 @@ function install_rss_reader {
|
||||||
echo ' client_max_body_size 15m;' >> /etc/nginx/sites-available/$RSS_READER_DOMAIN_NAME
|
echo ' client_max_body_size 15m;' >> /etc/nginx/sites-available/$RSS_READER_DOMAIN_NAME
|
||||||
echo '}' >> /etc/nginx/sites-available/$RSS_READER_DOMAIN_NAME
|
echo '}' >> /etc/nginx/sites-available/$RSS_READER_DOMAIN_NAME
|
||||||
|
|
||||||
|
chown -R www-data:www-data $RSS_READER_PATH
|
||||||
|
chmod a+x $RSS_READER_PATH
|
||||||
|
|
||||||
configure_php
|
configure_php
|
||||||
|
|
||||||
nginx_ensite $RSS_READER_DOMAIN_NAME
|
nginx_ensite $RSS_READER_DOMAIN_NAME
|
||||||
|
@ -8408,6 +8411,18 @@ function install_rss_reader {
|
||||||
echo $"RSS reader admin username: ${MY_USERNAME}" >> /home/$MY_USERNAME/README
|
echo $"RSS reader admin username: ${MY_USERNAME}" >> /home/$MY_USERNAME/README
|
||||||
echo $"RSS reader admin password: ${RSS_READER_ADMIN_PASSWORD}" >> /home/$MY_USERNAME/README
|
echo $"RSS reader admin password: ${RSS_READER_ADMIN_PASSWORD}" >> /home/$MY_USERNAME/README
|
||||||
echo '' >> /home/$MY_USERNAME/README
|
echo '' >> /home/$MY_USERNAME/README
|
||||||
|
echo $"To set up the system open http://${RSS_READER_ONION_HOSTNAME} and enter:" >> /home/$MY_USERNAME/README
|
||||||
|
echo $' Database type: MySQL' >> /home/$MY_USERNAME/README
|
||||||
|
echo $" Username: root" >> /home/$MY_USERNAME/README
|
||||||
|
echo $" Password: ${MARIADB_PASSWORD}" >> /home/$MY_USERNAME/README
|
||||||
|
echo $' Database name: ttrss' >> /home/$MY_USERNAME/README
|
||||||
|
echo $' Host name: localhost' >> /home/$MY_USERNAME/README
|
||||||
|
echo $' Port: 3306' >> /home/$MY_USERNAME/README
|
||||||
|
echo $" Tiny Tint RSS URL: http://${RSS_READER_ONION_HOSTNAME}/" >> /home/$MY_USERNAME/README
|
||||||
|
echo '' >> /home/$MY_USERNAME/README
|
||||||
|
echo $'Click "Test Configuration" and then "Initialize database"' >> /home/$MY_USERNAME/README
|
||||||
|
echo $'You may need to click "save configuration"' >> /home/$MY_USERNAME/README
|
||||||
|
echo '' >> /home/$MY_USERNAME/README
|
||||||
chown $MY_USERNAME:$MY_USERNAME /home/$MY_USERNAME/README
|
chown $MY_USERNAME:$MY_USERNAME /home/$MY_USERNAME/README
|
||||||
chmod 600 /home/$MY_USERNAME/README
|
chmod 600 /home/$MY_USERNAME/README
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue