Skip to content
欢迎扫码关注公众号

CentOS 上安装 MongoDB

  1. https://www.mongodb.org/下载 Linux64 位的版本

    https://fastdl.mongodb.org/linux/mongodb-linux-x86_64-3.2.4.tgz

  2. 上传到服务器后解压缩

    bash
    tar zxvf mongodb-linux-x86_64-3.2.4.tgz
  3. 创建目录让 mongod 存放数据(一般是/data/db),并保证该目录有读写权限 (偷懒直接赋了最高权限)

    bash
    sudo chmod 777 /data/db
  4. 使用 mongod 启动 MongoDB.

    bash
    ./bin/mongod

Page Layout Max Width

Adjust the exact value of the page width of VitePress layout to adapt to different reading needs and screens.

Adjust the maximum width of the page layout
A ranged slider for user to choose and customize their desired width of the maximum width of the page layout can go.

Content Layout Max Width

Adjust the exact value of the document content width of VitePress layout to adapt to different reading needs and screens.

Adjust the maximum width of the content layout
A ranged slider for user to choose and customize their desired width of the maximum width of the content layout can go.