How to Install Studio 3T
如何安装Studio 3T
If you’re looking for a MongoDB GUI, client, or IDE, we’re happy you’ve found Studio 3T.
如果你在寻找MongoDB图形用户界面,客户端或者集成开发环境,我们很高兴你找到了Studio 3T。
Studio 3T is a MongoDB IDE with a full-featured GUI, client capabilities, and a wealth of convenient, time-saving features, available for Windows, Mac, and Linux.
Studio 3T是一个MongoDB集成开发环境,拥有全面的功能界面和客户端功能,以及便捷、快速的特点,适用于Windows, Mac, 和Linux操作系统。
Prerequisites
>先决条件
MongoDB for Windows
Windows环境
Install the latest MongoDB community edition on your Windows machine following these steps.
按照以下步骤在Windows主机安装最新版的MongoDB社区版
MongoDB for Mac
Mac环境
Follow MongoDB’s tutorial to install MongoDB on OSX through either the MongoDB Download Center or Homebrew.
按照MongoDB教程在OSX安装MongoDB,可以通过MongoDB下载中心或Homebrew进行安装。
In case you get a Permission denied error after trying to run mkdir -p /data/db, run the following command to make sure the /data/db directory has the right permissions:
一旦你尝试运行mkdir -p /data/db出现Permission denied错误,运行以下命令,确保/data/db目录拥有正确的许可权限:
sudo chown -R `id -un` /data/db
# Enter your password
MongoDB for Linux
Linux环境
MongoDB provides various packages for popular Linux distributions. View the full list here.
MongoDB为常见的Linux系统提供了各种包,查看下面的链接。
- Alternatively, you can sign up for a MongoDB instance through third-party DBaaS providers. Check our our guides on how to connect to Compose, mLab, and ObjectRocket.
- 此外,你可以通过第三方的DBaaS提供商签约获取MongoDB实例。我们的指导手册会告诉你如何与Compose, mLab, 和ObjectRocket连接。
Install Studio 3T
安装Studio 3T
Studio 3T for Windows
Windows下安装Studio 3T
Studio 3T is available for Windows 64- and 32-bit systems, with or without a bundled shell.
Studio 3T适用于64位和32位Windows系统,系统带不带命令行均可。
An .msi installer for 64-bit systems is also available for Studio 3T Enterprise users, also with or without the bundled shell.
Studio 3T企业级用户可以使用64位.msi安装包,用不用命令行都可以安装。
- Download the latest Studio 3T version.下载最新版Studio 3T
- Start the installer by opening the file. 打开文件开始安装
- Follow the directions on the screen.按屏幕上的指示操作
Click on More download options to find the appropriate installer for your machine.
点击更多下载设置查找与你的机器匹配的安装包
Studio 3T for Mac
Mac下安装Studio 3T
OS X users can download Studio 3T with or without the bundled shell.
OS X用户可以下载Studio 3T,用不用命令行均可
- Download the latest Studio 3T .dmg file.下载最新的Studio 3T .dmg文件
- Open the .dmg file on your machine.打开机器上的.dmg文件
- Drag and drop the Studio 3T .app file into your Applications folder when prompted.出现提示时把Studio 3T .app文件拖拽到应用程序包
Studio 3T for Linux (e.g. Ubuntu, Debian)
Linux下安装Studio 3T(例如Ubuntu, Debian)
Studio 3T is available for 64- and 32-bit Linux systems.
Studio 3T适用于64位和32位Linux系统。
It is distributed as a gzipped tarball (.tar.gz), which can be unpacked at the command line or using system utilities such as Archive Manager.
发布为gzipped、tarball包,可以用命令行解包或者用系统工具如文档管理器解包。
The tarball contains a runnable .sh file that launches the installer for Studio 3T. Using this, you can install Studio 3T to your desired location and create a desktop shortcut to launch Studio 3T.
tar包包括一个可执行的.sh文件,用于运行Studio 3T安装包。可以用这个包把Studio 3T安装到指定位置,并创建一个快捷方式。
We test against the latest Ubuntu LTS version. Customers have also reported success with other Linux distributions, which you can feel free to evaluate during the free 30-day trial.
我们用最新版的Ubuntu LTS版本进行测试。用户在其他的Linux版本下也测试成功,你可以在30天内免费使用评估版。
For example, to install from the command line:
例如,用命令行安装:
- Open your shell.打开命令行
- cd to the directory where the gzipped tarball (.tar.gz) was downloaded.使用cd命令进入压缩包所在文件夹
- Unpack and run the Studio 3T installer.解压运行Studio 3T安装包
For the 64-bit version of Studio 3T:
64位版本的Studio 3T:
$ tar -xvzf studio-3t-linux-x64.tar.gz
$ sh ./studio-3t-linux-x64.sh
For the 32-bit version of Studio 3T:
32位版本的Studio 3T:
$ tar -xvzf studio-3t-linux-x86.tar.gz
$ sh ./studio-3t-linux-x86.sh
Make sure to have the following libraries installed:
一定要安装如下库:
- libswt-gtk-4919.so
- libswt-pi-gtk-4919.so
- libswt-pi3-gtk-4919.so
- libgtk-3.so
You don’t need the sh command if the file has sh extension.
如果文件有sh扩展名,无需运行sh命令
Simply run the following command (and adjust accordingly for 64-bit):
只需运行如下命令(并根据64位系统调整):
$ tar -xvzf studio-3t-linux-x86.tar.gz
$ ./studio-3t-linux-x86.sh
Now that you’ve successfully installed Studio 3T, read our Getting Started guide and navigate Studio 3T like a pro in no time.
现在你已经成功安装了Studio 3T,马上阅读我们的入门手册,像专家一样进入Studio 3T吧。
Other tutorials you might find useful:
其他有用的教程:
Learn how to set up MongoDB on Windows via PowerShell
学习如何在Windows下通过PowerShell安装MongoDB
Get comfortable with the Collections Tab, the starting point of all Studio 3T data exploration
适应Collections Tab,这是所有Studio 3T数据探索的起点
Updated on February 4, 2019
2019年2月4日更新
About The Author
关于作者
Kathryn Vargas
Kathryn wants to let the world know that Studio 3T is the best MongoDB IDE out there. When she's not gushing over Studio 3T's useful features, she spends her free time exploring Berlin's food scene, playing the drums, learning languages (current mission: German), and writing.
>Kathryn希望让世界知道Studio 3T是最棒的MongoDB开发环境。当她工作之余,会去发掘柏林的美食,敲敲鼓,学习语言(当前的工作:德语),以及写作。