Changes
Jump to navigation
Jump to search
← Older edit
Newer edit →
MongoDB
(view source)
Revision as of 17:47, 20 August 2019
2 bytes added
,
17:47, 20 August 2019
→How to install MongoDB 4.0
Line 10:
Line 10:
Visible no \
Visible no \
status disabled
status disabled
+
signal-event yum-modify
signal-event yum-modify
+
yum install mongodb-org --enablerepo=mongodb
yum install mongodb-org --enablerepo=mongodb
−
if
refuses to install because o GPG Key you can change '''GPGCheck''' above from '''Yes''' to '''No''' and try '''yum install...''' again or
+
+
If
refuses to install because o GPG Key you can change '''GPGCheck''' above from '''Yes''' to '''No''' and try '''yum install...''' again or
yum install mongodb-org --enablerepo=mongodb --nogpgcheck
yum install mongodb-org --enablerepo=mongodb --nogpgcheck
Line 18:
Line 21:
/etc/init.d/mongod start
/etc/init.d/mongod start
−
and add
the symlinks to start automatically:
+
Add
the symlinks to start automatically:
+
ln -s /etc/init.d/mongod /etc/rc.d/rc6.d/K03mongodb
ln -s /etc/init.d/mongod /etc/rc.d/rc6.d/K03mongodb
ln -s /etc/init.d/mongod /etc/rc.d/rc7.d/S57mongodb
ln -s /etc/init.d/mongod /etc/rc.d/rc7.d/S57mongodb
−
optional
: create symlink to use mongo or mongodb as service name
+
+
Optional
: create symlink to use mongo or mongodb as service name
+
ln /etc/init.d/mongod /etc/init.d/mongodb
ln /etc/init.d/mongod /etc/init.d/mongodb
ReetP
Bureaucrats
,
Administrators (Semantic MediaWiki)
,
Curators (Semantic MediaWiki)
,
Administrators
877
edits
Navigation menu
Personal tools
Log in
Namespaces
Page
Discussion
Variants
Views
Read
View source
View history
More
Search
Koozali SME Server
Main Page
Welcome
Releases
Testimonials
Documentation
SME Server FAQ
Volunteering
Commercial Support
Recent activities
Dashboard
Recent wiki changes
Recent bug changes
Unread Forum posts
Koozali resources
Contribs
How-To's
Forums
Bugzilla
Mailing Lists
Translations
Download
Koozali SME Server wiki
Wiki statistics
Wiki categories
Wiki Help
Koozali Wiki Help
Tools
Special pages
Printable version