Update README.md
This commit is contained in:
parent
71c910dec0
commit
72962672b9
|
@ -567,12 +567,13 @@ network:
|
|||
search:
|
||||
- rulingcom.com
|
||||
version: 2
|
||||
### 六、如果 /etc/init.d/mongod 遺失(適用於ubuntu14.04以上)
|
||||
## 六、如果 /etc/init.d/mongod 遺失(適用於ubuntu14.04以上)
|
||||
```sh
|
||||
# 建立 mongod service
|
||||
$ sudo vim /etc/init.d/mongod #請查看以下/etc/init.d/mongod之內容
|
||||
$ sudo chmod +x /etc/init.d/mongod
|
||||
```
|
||||
|
||||
```txt
|
||||
#此為/etc/init.d/mongod之內容
|
||||
#!/bin/bash
|
||||
|
|
Loading…
Reference in New Issue