摘要:
cat init_MongoDB.sh #!/bin/bash export lang=C export my_port=27019 export my_dbpath=/opt/var/data/mongodb #数据存放目录 export my_logpath=/opt/var/logs/mong 阅读全文
摘要:
#!/bin/bashexport lang=Cexport my_port=27019echo '#1.关闭本地的MongoDB'#service mongodb stopecho '#2.清空本地MongoDB的安装文件'rm -rf /opt/server/*rm -rf /opt/var/d 阅读全文