기본 포트
Manticore는 기본적으로 다음 포트에서 수신합니다:
- MySQL 클라이언트:
9306 - HTTP/HTTPS 연결:
9308 - 바이너리 API / 노드 연결:
9312
이 포트들은 다음에 바인딩됩니다 localhost 기본적으로.
원격 접속에는 SSH 터널을 사용하거나, 적절한 네트워크 인터페이스에서 수신하도록 서비스를 설정하세요.
MySQL 클라이언트
서버에서 로컬로 연결하세요:
mysql -h0 -P9306
SSH 터널
예를 들어 SSH 터널을 통해 HTTP 인터페이스에 원격 접속하려면:
ssh -N -L 9308:127.0.0.1:9308 root@<SERVER-IP>
그런 다음 다음 주소로 Manticore에 로컬 접속하세요: http://127.0.0.1:9308
데이터 및 로그
- 설정:
/etc/manticoresearch/manticore.conf - 데이터:
/var/lib/manticore - 로그:
/var/log/manticore - systemd 로그:
sudo journalctl -u manticore
서비스 관리
Manticore 재시작:
sudo systemctl restart manticore
서비스 상태 확인:
sudo systemctl status manticore
Manticore 중지:
sudo systemctl stop manticore
Manticore 시작:
sudo systemctl start manticore
Manticore가 부팅 시 자동으로 시작되는지 확인하세요:
sudo systemctl is-enabled manticore
자동 시작 비활성화:
sudo systemctl disable manticore
자동 시작 활성화:
sudo systemctl enable manticore