I spent so many hours trying to set up NextCloud on my RPi, starting from scratch. (Not that I regret; learned a ton of things.) Here is a plug-n-play NextCloud solution for RPi (or any Debian-based system).
After spending a day with failed attempts to set up Dynamic DNS (because I am behind a NAT), I finally set up reverse proxy with OpenVPN to access my raspberrypi from anywhere on the Internet. Here are a few links that helped me:
I have found several tutorials online that guide you on how to install RabbitMQ from the official package - from rabbitmq site. However those installation instructions failed for me giving some nondescript errors. Here's how I installed RabbitMQ on Ubuntu 18.04 and Raspbian Stretch.
apt-get update
apt install rabbitmq-server
sudo systemctl enable rabbitmq-server
sudo systemctl start rabbitmq-server
sudo rabbitmq-plugins enable rabbitmq_management
rabbitmqctl add_user myUser myPass
rabbitmqctl set_user_tags myUser administrator
rabbitmqctl set_permissions -p / myUser ".*" ".*" ".*"
I needed to install bcmath
as well
sudo apt-get install php7.0-bcmath
And finally...
systemctl reload apache2
Here is a list of links that helped me setup a headless pi:
/etc/mysql/mariadb.conf.d/50-server.cnf
was overriding another bind-address
directive.plugin
field to empty.pi@pihostname.local
at port 22.