<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>

                ??一站式輕松地調用各大LLM模型接口,支持GPT4、智譜、豆包、星火、月之暗面及文生圖、文生視頻 廣告
                [TOC] ### 環境準備 ***** MongoDB要求`Windows Server 2008 R2`, `Windows Vista`或者更新的`Windows`版本。.msi安裝程序包含了所有其他軟件依賴,并且用來更新任何一個已安裝的老版本的MongoDB, ### 免安裝在Windows Server 2008 R2 ***** #### mongodb下載 下載地址: [https://www.mongodb.com/download-center/community](https://www.mongodb.com/download-center/community) 選擇zip版本: ![](https://img.kancloud.cn/5b/3d/5b3d54f20fe7ecf9b154546a2a1b034f_1285x460.png) #### Windows 2008 R2 Standard設置 可能會有錯誤`api-ms-win-crt-runtime-l1-1-0.dll缺失` 解決辦法: 1. 安裝 [windows6.1-KB976932-X64.exe](https://link.jianshu.com/?t=https://www.microsoft.com/zh-CN/download/details.aspx?id=5842) 選擇`windows6.1-KB976932-X64.exe`這個安裝包 ![lg8Zs1.png](https://s2.ax1x.com/2020/01/08/lg8Zs1.png) 2. 安裝 [Windows6.1-KB2999226-x64.msu](https://www.microsoft.com/zh-CN/download/confirmation.aspx?id=49062) 3. 安裝 [https://www.microsoft.com/zh-cn/download/confirmation.aspx?id=30653](https://www.microsoft.com/zh-cn/download/confirmation.aspx?id=30653) #### **通過命令行安裝服務** 執行安裝mongodb服務命令: ``` mongod --dbpath=C:\Users\Administrator\Desktop\Pkg\mongodb\data\db --logpath=C:\Users\Administrator\Desktop\Pkg\mongodb\data\log\mongodb.log --install --serviceName MongoDB ``` #### **通過配置文件裝服務** 配置文件mongodb.config: ``` dbpath=C:\Users\Administrator\Desktop\Pkg\mongodb\data\db #數據庫路徑* logpath=C:\Users\Administrator\Desktop\Pkg\mongodb\data\log\mongodb.log #日志輸出文件路徑* logappend=true #錯誤日志采用追加模式,配置這個選項后mongodb的日志會追加到現有的日志文件,而不是從新創建一個新文件* journal=true #啟用日志文件,默認啟用* quiet=true #這個選項可以過濾掉一些無用的日志信息,若需要調試使用請設置為false* port=27017 #端口號 默認為27017 bind_ip=0.0.0.0 # 開啟遠程連接 ``` 參數說明 ``` --dbpath:指定數據庫路徑 --logpath:指定保存日志的文件路徑 --config: 指定配置文件路徑 --install:安裝windows服務 --serviceName:設置MongoDB服務名 ``` 以配置文件安裝mongodb服務 ``` mongod --config C:\Users\Administrator\Desktop\Pkg\mongodb\mongodb.config --install ``` 啟動服務 ``` net start MongoDB ``` 停止服務 ``` net stop MongoDB ``` 刪除服務 ``` mongod.exe --remove ```
                  <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>

                              哎呀哎呀视频在线观看