Download and
extract binary
configurations
copy mond.conf from
openedx and place into /etc/directory
create db path
mkdir /mongo/mongodb
chown edu:edu
/mongo/mongdb
edit configuration
file
set dbpath and
logpath
add the following
line to your shell’s rc file (e.g.
~/.bashrc):
export PATH=/bin:$PATH
mongod
specify path
mongod --dbpath
specify config file
mongod -f /etc/mongod.conf mongos -f /etc/mongos.conf
transfer edx database mongodb vbox
run mongod server
kill process
test with copied
database
great working
Mongo connection
mongo --host
localhost --port 27017 -uedxapp -ppassword edxapp
Troubleshooting
apt-get install
libssl-dev libssl1.0.0-dbg
cd /lib/x86_64-linux-gnu
or
cd /
usr
/lib/x86_64-linux-gnu
sudo ln -s libssl.so.1.0.0 libssl.so.10
sudo ln -s libcrypto.so.1.0.0 libcrypto.so.10
No comments:
Post a Comment