标签: mongodb sh
我使用sh脚本将mongodb安装到red hat linux。我希望能够在安装过程中使用sh脚本为mongodb创建用户名和密码,例如admin / 1234。有没有办法做到这一点?