Percona repositories are managed using the percona-release tool. So in order to install Percona Server for MongoDB, install percona-release first
$ sudo yum install https://repo.percona.com/yum/percona-release-latest.noarch.rpm
Example of output
Retrieving https://repo.percona.com/yum/percona-release-latest.noarch.rpm
Preparing... ########################################### [100%]
1:percona-release ########################################### [100%]
$ sudo percona-release enable psmdb-50 release
See also
percona-release
toolTo install the latest version of Percona Server for MongoDB, use the following command:
$ sudo yum install percona-server-mongodb
To install a specific version of Percona Server for MongoDB, do the following:
$ sudo yum list percona-server-mongodb --showduplicates
Sample Output
Available Packages
percona-server-mongodb.x86_64 5.0.2-1.el8 psmdb-44-release-x86_64
$ sudo yum install percona-server-mongodb-5.0.2-1.el8
Note
If you are using SELinux in enforcing mode, you must customize your SELinux user policies to allow access to certain /sys
and /proc
files for OS-level statistics. Also, you must customize directory and port access policies if you are using non-default locations.
Please refer to Configure SELinux section of MongoDB Documentation for policy configuration guidelines.
Percona Server for MongoDB stores data files in /var/lib/mongodb/
by default. The configuration file is /etc/mongod.conf
.
Starting the service
Percona Server for MongoDB is not started automatically after installation. Start it manually using the following command:
$ sudo systemctl start mongod
Confirming that service is running
Check the service status using the following command:
$ sudo systemctl status mongod
Stopping the service
Stop the service using the following command:
$ sudo systemctl stop mongod
Restarting the service
Restart the service using the following command:
$ sudo systemctl restart mongod
The mongod
service is not automatically started after you reboot the system.
You can enable it using the systemctl
utility:
$ sudo systemctl enable mongod
Jika merasa frustasi karena komputer atau laptop kamu hanya sanggup menjalankan aplikasi sederhana seperti browser…
Bakusou Kyoudai Lets & Go Eternal Wings atau biasa disebut dengan Game Tamiya PS1 merupakan permainan balap mobil Mini…
WhatsApp Status kembali mendapatkan fitur baru. Setelah cukup lama diuji coba, WhatsApp akhirnya merilis fitur 'Add…
Chatbot AI saat ini sudah umum dipakai menjadi asisten digital. Tapi menurut Mark Zuckerberg, AI juga bisa…
Polytron jadi merek Indonesia yang terjun dalam industri mobil listrik. Polytron disebut-sebut bakal menjadi mobil…
Fastino, startup kecerdasan buatan asal Amerika Serikat, memamerkan model AI barunya yang ditujukan untuk bisnis. Menariknya, model AI…