Refer to the blog question posted in the afternoon: Ubuntu 18.04 installs MongoDB 4.0 but fails to run. I will try it later with the MongoDB source package of ubuntu1604! Installation 2: Use the deb installation package - success Thank you dudu dude! There are also enthusiastic gardeners, um, gardeners also gave suggestions directly, thank you! Then, I saw it at 22:00, and then I tried it and installed it. Later, Dudu gave a series of commands - install with the following deb method. Later, at the suggestion of the gardener Dudu, he sent a blog question.
However, the problem here still exists! And I don't know how to solve it - it has something to do with my unfamiliarity with Linux, I'm a little scared! Fortunately, the official MongoDB website comforted me, they do not provide Ubuntu 18.04 support yet!
I'm a little crazy, I read a lot of information, most of this problem is in English, but I can't solve it! Especially when I saw that the web page said that a soft connection was established, well, the problem is solved reinstall what software, good Le, the problem is solved. Mongod: error while loading shared libaries: libcrypto.so.10: cannot open shared object file: No such file or directory
In view of the above installation package error problem, only some screenshots are shown:Įxecute bin/mongod -version, an error occurs ( more than 15:00 in the afternoon ): tgz Tarballs section of the official website installation guide. OMG! How is amazon2 ! All I want is the Ubuntu version! Although there is no Ubuntu 18.04 version on the official website, no matter what, you have to download a mongodb-linux-x86_64-ubuntu1604-4.0.0.tgz !įor installation steps, please refer to the Using. Official website installation guide: Install MongoDB Community Edition on Ubuntu Installation 1: Using the tgz source package - failed
The MongoDB download page can only download tgz files ( official website download address ), as shown in the following figure: You can download MongoDB of various Linux distributions Fortunately, I am not lazy, no, MongoDB 4.0 has been successfully running on Ubuntu 18.04!
As a result, because libcrypto.so.10 and libssl.so.10 were not found, I wasted the whole afternoon plus most of the night! Later, I posted a blog question in the garden, and then, Dudu bluntly gave a series of commands - the command to install the deb installation package. Since I downloaded the tgz source package before, I chose to start the installation from the tgz source package at the beginning. deb packages (officially recommended, it makes sense, ). There are two ways to install MongoDB on Linux.
I heard from my roommate that there is a World Cup final at 23:00! However, I just want to write a blog post! To record this busy afternoon and evening successfully installed a software to Linux. Ubuntu 18.04 (on VirtualBox), MongoDB 4.0,