安装程序仅要求输入 SMTP 密码

That’s strange!

The ./discourse-setup script is supposed to install all the packages and their dependencies on it’s own but the word of caution is that it is known to work best with ubuntu 16.04.

I haven’t personally tried to install it on a host running on debian or any other linux distro so I’m not very sure about how it behaves across platforms.