一、mongodb
sudo service mongod start
sudo service mongod restart
sudo service mongod stop
二、redis
redis-server /etc/redis/redis.conf redis-cli