Install MongoDB 8.0.3 di Ubuntu 24.04.1
Brian Creative Studio
[{'start': '0.000', 'end': '7.000', 'text': 'السَّلَامُ عَلَيْكُمْ وَرَحْمَةُ اللهِ وَبَرَكَاتُهُ\nWelcome to the place to share knowledge about technology.'}, {'start': '7.500', 'end': '14.200', 'text': 'This video contains a tutorial on how to install\nMongoDB 8.0.3 on Ubuntu 24.04.1.'}, {'start': '20.000', 'end': '31.000', 'text': "Let's start installing MongoDB 8.0.3 on Ubuntu 24.04.1"}, {'start': '38.000', 'end': '46.000', 'text': 'There are 11 steps to be implemented.  The'}, {'start': '47.500', 'end': '55.500', 'text': 'first step, enter Ubuntu.'}, {'start': '56.000', 'end': '63.000', 'text': 'I logged into Ubuntu via SSH client. The'}, {'start': '63.500', 'end': '73.000', 'text': 'SSH client I use is Termius.'}, {'start': '80.000', 'end': '90.000', 'text': 'Login to Ubuntu 24.04.1.'}, {'start': '99.000', 'end': '111.000', 'text': 'Successfully logged into Ubuntu 24.04.1 via SSH.'}, {'start': '121.000', 'end': '133.000', 'text': 'Continue changing the user to root.'}, {'start': '139.000', 'end': '151.000', 'text': 'Successfully using root user.'}, {'start': '158.000', 'end': '166.000', 'text': 'Step 2, Import Public Key'}, {'start': '169.000', 'end': '181.000', 'text': 'Download the MongoDB GPG public key and\nsave it in the /usr/share/keyrings/ directory'}, {'start': '189.000', 'end': '197.000', 'text': 'Step 3, Create a MongoDB Repository File'}, {'start': '199.000', 'end': '211.000', 'text': 'Add the official MongoDB repository to the Ubuntu package sources list.'}, {'start': '220.000', 'end': '228.000', 'text': 'Step four, Update Repository'}, {'start': '231.000', 'end': '248.000', 'text': 'Update the package repository list,\nso that you can access the newly added MongoDB repository.'}, {'start': '261.000', 'end': '269.000', 'text': 'Step five, Install MongoDB.'}, {'start': '271.000', 'end': '288.000', 'text': 'Perform mongodb 8.0.3 installation.  The'}, {'start': '320.000', 'end': '328.000', 'text': 'sixth step, check the MongoDB version.'}, {'start': '331.000', 'end': '343.000', 'text': 'Check the installed version of MongoDB.'}, {'start': '347.000', 'end': '359.000', 'text': 'Based on the check results, it shows that the\ninstalled MongoDB version is 8.0.3.'}, {'start': '365.000', 'end': '373.000', 'text': 'Step seven, Running the MongoDB Service.'}, {'start': '376.000', 'end': '385.000', 'text': 'Run the MongoDB service so that MongoDB can be used.'}, {'start': '399.000', 'end': '407.000', 'text': 'Step eight, Activate the MongoDB Service.'}, {'start': '410.000', 'end': '423.000', 'text': 'So that MongoDB can run automatically when\nUbuntu is turned on, activate the MongoDB service.'}, {'start': '430.000', 'end': '442.000', 'text': 'Then check the MongoDB service status.'}, {'start': '446.000', 'end': '461.000', 'text': "Make sure the 'Loaded' status is 'enabled' and the 'Active' status is 'active (running)'"}, {'start': '464.000', 'end': '469.000', 'text': '. Press CTRL+C.'}, {'start': '482.000', 'end': '490.000', 'text': 'Step nine, Create an administrator user'}, {'start': '493.000', 'end': '505.000', 'text': 'Connect to MongoDB using the MongoDB shell'}, {'start': '509.000', 'end': '521.000', 'text': 'If it produces output like this, it means\nthat you have successfully connected to MongoDB.'}, {'start': '535.000', 'end': '547.000', 'text': 'Next, enter the admin database.'}, {'start': '554.000', 'end': '570.000', 'text': 'Create an administrator user with the\nusername "briancreativestudio" and the password "Indonesia-01".'}, {'start': '576.000', 'end': '588.000', 'text': 'Exit mongodb.'}, {'start': '600.000', 'end': '608.000', 'text': 'Step ten, Enabling MongoDB Authentication.'}, {'start': '611.000', 'end': '623.000', 'text': 'To enable authentication,\nedit the /etc/mongod.conf file.'}, {'start': '629.000', 'end': '644.000', 'text': 'Add authorization settings to the mongod.conf file.'}, {'start': '656.000', 'end': '668.000', 'text': 'To apply the changes to the mongod.conf file,\nrestart the MongoDB service.'}, {'start': '676.000', 'end': '684.000', 'text': 'Step eleven, Checking MongoDB Authentication.'}, {'start': '687.000', 'end': '699.000', 'text': 'Connect to MongoDB using MongoDB shell'}, {'start': '703.000', 'end': '715.000', 'text': 'If it produces output like this, it means\nthat you have successfully connected to MongoDB.'}, {'start': '728.000', 'end': '740.000', 'text': 'Next, display a list of all databases stored in MongoDB.'}, {'start': '742.000', 'end': '755.000', 'text': 'This message indicates that authentication is required\nto run the command to display a list of databases.'}, {'start': '762.000', 'end': '774.000', 'text': 'Login to the admin database'}, {'start': '783.000', 'end': '796.000', 'text': 'After logging in to the admin database,\nuse the “briancreativestudio” user authentication.'}, {'start': '805.000', 'end': '817.000', 'text': "Next, let's try again to display a list of\nall databases in MongoDB."}, {'start': '819.000', 'end': '832.000', 'text': 'Successfully displaying a list of all databases, this indicates\nthat the “briancreativestudio” user authentication has been successful.'}, {'start': '836.000', 'end': '845.000', 'text': 'Hope it is useful and THANK YOU.'}]