realpath: /var/local/steemd/configs/config.miner.ini: Permission denied
You have to use sudo (Super User Do) on that one. That script is trying to alter a system file so it needs administrator privileges when running, thus the "Permission denied".
sudo /home/frog/bin/config-steemd.bash miner
You're getting there! Keep hacking at it.