我已经尝试了可用的答案,但仍然无法找到解决方案
这里我有我遵循的步骤
sudo apt-get install software-properties-common -y
sudo add-apt-repository ppa:couchdb/stable -y
sudo apt-get update
sudo apt-get remove couchdb couchdb-bin couchdb-common -yf
sudo apt-get install couchdb -y
我跑完后
curl localhost:5984
我得到了所需的输出
Output
{"couchdb":"Welcome","uuid":"b9f278c743b5fc0b971c4e587d77582e","version":"1.6.1","vendor":{"name":"Ubuntu","version":"14.04"}}
但是当我跑步时
sudo stop couchdb
我的输出为sudo: stop: command not found
当我跑
时 sudo chown -R couchdb:couchdb /usr/lib/couchdb /usr/share/couchdb /etc/couchdb /usr/bin/couchdb
输出
chown: cannot access '/usr/lib/couchdb': No such file or directory
当我跑
时 ssh -L5984:127.0.0.1:5984 ubuntu@server_ip
我得到了
Warning: Identity file -L5984:127.0.0.1:5984 not accessible: No such file or directory.
Permission denied (publickey).
任何人都可以帮助我