<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                ??碼云GVP開源項目 12k star Uniapp+ElementUI 功能強大 支持多語言、二開方便! 廣告
                >[info] centos安裝 1. 下載安裝包 **下載地址:** https://www.mongodb.com/try/download ![](https://img.kancloud.cn/eb/b7/ebb7125b63017a29bc794c9696cd91c4_1363x1162.png) ~~~ wget https://fastdl.mongodb.org/linux/mongodb-linux-x86_64-rhel70-5.0.5.tgz ~~~ 2. 解壓 ``` tar -zxvf mongodb-linux-x86_64-rhel70-5.0.5.tgz mkdir mongodb | mv mongodb-linux-x86_64-rhel70-5.0.5/ mongodb ``` 3. 創建配置文件 ``` cd mongodb vim mongodb.conf ``` ~~~ port=27017 bind_ip=0.0.0.0 dbpath=/usr/local/mongodb/mongodb-linux-x86_64-rhel70-5.0.5/data/ logpath=/usr/local/mongodb/mongodb-linux-x86_64-rhel70-5.0.5/logs/mongodb.log pidfilepath=/usr/local/mongodb/mongodb-linux-x86_64-rhel70-5.0.5/mongo.pid fork=true logappend=true auth=false #auth=true ~~~ 4. 創建目錄文件 ~~~ mkdir data logs run ~~~ 5. 添加環境變量 ~~~ vim /etc/profile #for mongodb export MONGODB_HOME=/usr/local/mongodb/mongodb-linux-x86_64-rhel70-5.0.5 export PATH=$MONGODB_HOME/bin:$PATH source /etc/profile ~~~ >[info] 啟動&停止mongodb 1. 指定配置文件啟動mongodb ``` mongod --config /usr/local/mongodb/mongodb-linux-x86_64-rhel70-5.0.5/mongodb.conf ``` ![](https://img.kancloud.cn/0d/69/0d69a382f36dc027285d7eb1d97b0d64_959x103.png) 2. 停止mongodb(無認證停止) ~~~ mongo 127.0.0.1:27017/admin --eval "db.shutdownServer()" ~~~ 3. 查看mongdb是否啟動 ~~~ netstat -lanp | grep "27017" ~~~
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看