docker run -d --hostname my-rabbit --name rabbitmq -p 8080:15672 -p 5672:5672 -e RABBITMQ_DEFAULT_USER=user -e RABBITMQ_DEFAULT_PASS=password rabbitmq:3-management


'개발 > docker' 카테고리의 다른 글

MySQL 8 on docker  (0) 2018.11.04
Redis on docker  (0) 2018.08.13
Running RabbitMQ on docker  (0) 2017.12.19
docker ubuntu apt 미러 서버 교체하기  (0) 2017.07.08

https://docs.mongodb.com/manual/tutorial/install-mongodb-on-ubuntu/

Install MongoDB

apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 0C49F3730359A14518585931BC711F9BA15703C6

# Ubuntu 12.04
echo "deb [ arch=amd64 ] http://repo.mongodb.org/apt/ubuntu precise/mongodb-org/3.4 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-3.4.list

# Ubuntu 14.04
echo "deb [ arch=amd64 ] http://repo.mongodb.org/apt/ubuntu trusty/mongodb-org/3.4 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-3.4.list

# Ubuntu 16.04
echo "deb [ arch=amd64,arm64 ] http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.4 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-3.4.list

apt-get update
apt-get install -y mongodb-org

Conf file

/etc/mongod.conf

Start MongoDB

service mongod start

Stop MongoDB

service mongod stop

Restart MongoDB

service mongod restart

Remove MongoDB

# Stop MongoDB
service mongod stop

# Uninstall MongoDB
apt-get purge mongodb-org*

# Remove confing and log file
rm -r /var/log/mongodb
rm -r /var/lib/mongodb

'개발' 카테고리의 다른 글

MongoDB setup on Ubuntu  (0) 2017.09.10
GIT 초기 최적화  (0) 2017.02.15
구글번역 사용시 코드영역 제외하고 번역하기  (0) 2017.02.12
브라우저 header  (0) 2017.02.09
[html] post 방식을 링크 시키는 방법  (2) 2017.01.25
자주 쓰이는 mail header  (0) 2017.01.15

sudo apt-get install python3-dev libffi-dev openssl
sudo apt-get install default-libmysqlclient-dev # for debian stretch
pip3 install mysqlclient

'Python' 카테고리의 다른 글

Installing mysqlclient for debian stretch  (0) 2017.08.21
Python3.6 optimize installation for RaspberryPI  (0) 2017.08.21
Install Python3.6 on RPI with berryconda  (0) 2017.07.06
[python] int to bytes  (0) 2017.02.18

+ Recent posts