본문 바로가기
IT/Settings

RocketChat 소개 및 셋팅

by 성준하이 2024. 1. 15.
반응형

RocketChat은 사설 채팅네트워크를 만들수 있는 오픈소스 프로그램이다.

 

공식 사이트는 아래와 같다.

https://www.rocket.chat/

 

Rocket.Chat: Communications Platform You Can Fully Trust

Explore Rocket.Chat, where we put data privacy into every conversation and enable teams to collaborate seamlessly.

www.rocket.chat

 

그리고 대부분의 오픈소스들 처럼 로켓챗 역시 git에 포럼 형식으로 코드와 QNA 코너들도 있다.

https://github.com/RocketChat/Rocket.Chat

 

GitHub - RocketChat/Rocket.Chat: The communications platform that puts data protection first.

The communications platform that puts data protection first. - GitHub - RocketChat/Rocket.Chat: The communications platform that puts data protection first.

github.com

 

설치법은 간단하다.

ubuntu local 설치를 해도 되고 docker 를 통해서 설치도 가능하다.

 

일단 크게는 rocket 챗을 설치하고 사용하는 디비를 위해 mongo 디비를 설치한다.

채팅을 모두 다뤄본건 아니지만 nosql 위주의 디비를 선택하곤 한다.(아마 빨라서 그런것같다.)

 

ubuntu local 설치
  • 어떤것을 새로 설치 전에는 항상 패키지 업데이트
    apt-get update -y && apt-get upgrade -y
  • nodejs 설치 (저장소 추가하고)(현재 최신버전에 맞게 수정)
    curl -sL https://deb.nodesource.com/setup_20.x | sudo -E bash --
    apt-get update -y
    apt-get install nodejs build-essential curl software-properties-common graphicsmagick -y
  • mongodb 설치
    아래 참고 포스팅 참고
  • 로켓챗 설치
docker 를 통한 설치
  • 도커 이미지 받기(rocket chat, mongodb)
    docker pull rocket.chat
    docker pull mongo:4.0
  • 도커 컨테이너 실행
    # mongo db
    docker run --name db -d mongo:4.0 --smallfiles --replSet rs0 --oplogSize 128
    # mongo db replica set 생성
    docker exec -ti db mongo --eval "printjson(rs.initiate())"
    # rocket.chat
    docker run --name rocketchat -p 3000:3000 --env ROOT_URL=http://localhost --link db --env MONGO_OPLOG_URL=mongodb://db:27017/local -d rocket.chat
  • 이후에 로켓챗 접속
    http://localhost:3000 로 접속 후 기본 설정 셋팅하기.
    (이후에 관리자 페이지는 http://localhost:3000/admin)

참고 포스팅

https://thenicesj.tistory.com/811

 

mongo db 설치(with mac) / feat.Compass

nosql 중 하나인 Mongo DB 설치법에 대해서 다뤄보려고 한다. 개념에 대한 설명은 나중에 nosql 에 대해서 다룰기회가 있다면 그때 같이 다룰 예정이다. https://www.mongodb.com/ko-kr MongoDB: 애플리케이션 데

thenicesj.tistory.com

 

반응형

'IT > Settings' 카테고리의 다른 글

[vscode] 터미널 출력 사이즈 늘리기  (22) 2024.04.11
C언어 컴파일 하기 (gcc 설치)  (24) 2024.02.21
mongo db 설치(with mac) / feat.Compass  (27) 2024.01.14
nextcloud 서버  (15) 2023.12.31
Emby 서버  (21) 2023.12.30

댓글