search

Home  >  Q&A  >  body text

我在我自己的mac电脑上面安装mongodb 在设置文件的时候出现输入密码,如图


Password 无法输入,敲打字母没有反应,
这是怎么回事

按照教程做了好几遍都装不上去

淡淡烟草味淡淡烟草味2757 days ago715

reply all(5)I'll reply

  • 世界只因有你

    世界只因有你2017-05-02 09:27:34

    You may be entering your password for the first time. This is because the password is not visible to the outside world. You can just enter it and then enter, but it is not visible...

    reply
    0
  • 仅有的幸福

    仅有的幸福2017-05-02 09:27:34

    1. sudo is the system's command to install software. Due to the sudo settings, you need to enter a password when executing sudo.

    2. When entering a password on a Linux series operating system, there is no response * or specific input. This is a security mechanism of Linux that prevents others from seeing the specific number of digits of the password.

    3. You do not need to use sudo when executing mkdir.

    reply
    0
  • 黄舟

    黄舟2017-05-02 09:27:34

    Sudo needs to provide the user password for privilege escalation. In fact, it has been entered, but it is not displayed. Just hit Enter and it will be fine.

    reply
    0
  • 迷茫

    迷茫2017-05-02 09:27:34

    The password is like this, it will not be displayed, but it has actually been entered. Just hit enter after typing.

    The password is required because you used sudo 命令。你可以试试不要 sudo 直接 mkdir /data/db. Anyway, on your own machine, the person logged in should also be the administrator user.

    reply
    0
  • PHP中文网

    PHP中文网2017-05-02 09:27:34

    Just hit enter after typing. The password will not be displayed.,,

    reply
    0
  • Cancelreply