Welcome to Ubuntu 22.04 LTS (GNU/Linux 5.15.0-1011-aws x86 64)
* Documentation: https://help.ub
* Management: https://landscape.canonical.com
* Support: https://ubuntu.com/advantage
System information as of Fri Jul 8 00:49:50 UTC 2022
System load: 0.0 Usage of 7: 22.6% of 7.58GB Memory usage: 234 Swap usage: 0%
Processes:
100 Users logged in: IPv4 address for etho: ***.**.**.**
* Ubuntu Pro delivers the most comprehensive open source security and,
compliance features.
42 updates can be applied immediately.
22 of these updates are standard security updates.
To see these additional updates run: apt list --upgradable
SSHで接続すると、上記のようなメッセージが出力されます。
ubuntu@ip-**-**-**-**(ipアドレス):~$
出力後、上記のように出力されれば、接続は完了となります。
■MongoDB 5.0 Community Editionのサービス開始
$ sudo systemctl start mongod.service
接続後、インストールしたMongoDB 5.0 Community Editionのサービスを開始します。開始するために、上記のコマンドを入力し、Enterキーを押します。「systemctl」コマンドを用いてMongoDBサービスを開始します。systemctlは、広く採用されているinitシステムとサービスマネージャーsystemdの制御インターフェイスおよび検査ツールです。systemdは、Linux初期化システムおよびサービスマネージャーであり、デーモン(バックグラウンドで実行される通常のプログラム)のオンデマンド起動、マウントおよび自動マウントポイントのメンテナンスなどの機能を含みます。Enterキーを押すと何も出力されませんが、MongoDBサービスが開始されます。
Current Mongosh Log ID: **********
Connecting to: mongodb://127.0.0.1:27017/?directConnection=true&serverSelectionTimeoutMS=2000&appName=mongosh+1.5.0
Using MongoDB: 5.0.9
Using Mongosh: 1.5.0
For mongosh info see: https://docs.mongodb.com/mongodb-shell/
To help improve our products, anonymous usage data is collected and sent to MongoDB periodically (https://www.mongodb.com/legal/privacy-policy).
You can opt-out by running the disableTelemetry() command.
------
The server generated these startup warnings when booting
2022-07-11T23:32:08.717+00:00: Using the XFS filesystem is strongly recommended with the WiredTiger storage engine. See http://dochub.mongodb.org/core/prodnotes-filesystem
2022-07-11T23:32:09.475+00:00: Access control is not enabled for the database. Read and write access to data and configuration is unrestricted
------
------
Enable MongoDB's free cloud-based monitoring service, which will then receive and display
metrics about your deployment (disk utilization, CPU, operation statistics, etc).
The monitoring data will be available on a MongoDB website with a unique URL accessible to you
and anyone you share the URL with. MongoDB may use this information to make product
improvements and to suggest MongoDB products and deployment options to you.
To enable free monitoring, run the following command: db.enableFreeMonitoring()
To permanently disable this reminder, run the following command: db.disableFreeMonitoring()
------
test>
コメント