웹사이트 검색

Ubuntu 14.04에 Mumble 음성 채팅 서버를 설치하는 방법


이 페이지에서

  1. 서버에서 루트 사용자 되기
  2. Ubuntu 업데이트 설치
  3. 중얼거림 설치
  4. MurMur 구성
    1. 부팅 시 시작
    2. 네트워크 우선순위
    3. Mumble 수퍼유저 암호\n

    Mumble은 게이머가 mumble 클라이언트를 동일한 서버에 연결하여 서로 대화할 수 있도록 설계된 음성 채팅 응용 프로그램입니다. 이 Voice over IP 애플리케이션은 Ventrilo 및 TeamSpeak와 유사합니다. 간단한 관리 인터페이스, 고품질 코덱 및 낮은 대기 시간으로 인해 꽤 인기가 있습니다. 이 기사에서는 시스템에 Murmur를 설치하고 구성하는 방법에 대해 설명합니다. Murmur는 Mumble의 서버 구성 요소입니다.

    Murmur는 사용자가 자신의 공개 또는 비공개 음성 채팅 서버를 실행할 수 있도록 합니다.

    서버에서 루트 사용자 되기

    다음 단계는 루트 사용자로 실행해야 합니다. 루트 사용자가 되려면 쉘에서 "일반" 우분투 사용자로 로그인한 후 다음을 실행하십시오.

    sudo su

    루트 사용자가 되기 위해.

    우분투 업데이트 설치

    murmur 설치를 계속하기 전에 서버에 최신 업데이트가 설치되어 있는지 확인해야 합니다. 아래 명령어를 실행하여 Ubuntu 저장소에서 업데이트된 패키지 목록을 다운로드하세요.

    apt-get update

    그런 다음 다음 명령으로 업데이트를 설치합니다.

    apt-get upgrade
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    Calculating upgrade... Done
    The following packages will be upgraded:
    base-files initscripts libc-bin libc6 multiarch-support sysv-rc
    sysvinit-utils
    7 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
    Need to get 6,077 kB of archives.
    After this operation, 0 B of additional disk space will be used.
    Do you want to continue? [Y/n]

    계속하려면 Y를 누르십시오.

    중얼거림 설치

    Mumble은 공식 Ubuntu 저장소에서 Mumble-Server라는 이름으로 사용할 수 있습니다.

    다음 명령을 실행하여 패키지를 설치합니다.

    apt-get install mumble-server
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    The following extra packages will be installed:
    avahi-daemon libavahi-client3 libavahi-common-data libavahi-common3
    libavahi-compat-libdnssd1 libavahi-core7 libdaemon0 libiceutil35
    libmysqlclient18 libnss-mdns libprotobuf8 libqt4-dbus libqt4-network
    libqt4-sql libqt4-sql-mysql libqt4-sql-sqlite libqt4-xml libqtcore4
    libqtdbus4 libzeroc-ice35 mysql-common qdbus qtchooser qtcore4-l10n
    Suggested packages:
    avahi-autoipd libqt4-dev libicu48 libthai0 mumble-server-web mumble-django
    qt4-default qt5-default
    The following NEW packages will be installed:
    avahi-daemon libavahi-client3 libavahi-common-data libavahi-common3
    libavahi-compat-libdnssd1 libavahi-core7 libdaemon0 libiceutil35
    libmysqlclient18 libnss-mdns libprotobuf8 libqt4-dbus libqt4-network
    libqt4-sql libqt4-sql-mysql libqt4-sql-sqlite libqt4-xml libqtcore4
    libqtdbus4 libzeroc-ice35 mumble-server mysql-common qdbus qtchooser
    qtcore4-l10n
    0 upgraded, 25 newly installed, 0 to remove and 0 not upgraded.
    Need to get 5,879 kB of archives.
    After this operation, 27.9 MB of additional disk space will be used.
    Do you want to continue? [Y/n]

    그런 다음 패키지 설치 여부를 확인하라는 메시지가 표시되면 Y를 누른 다음 Enter를 누릅니다.

    MurMur 구성

    설치 완료 후 패키지 재구성 명령을 실행하여 일부 기본 서버 및 사용자 설정을 생성해야 합니다. 여기에서 화살표 키를 사용하여 답변을 선택한 다음 Enter 키를 눌러 계속할 수 있습니다.

    dpkg-reconfigure mumble-server

    부팅 시 시작

     Mumble-server (murmurd) can start automatically when the server is booted. ?
    ? ?
    ? Autostart mumble-server on server boot?

    서버가 부팅될 때 murmur도 실행하기를 원하기 때문에 기본값 Yes를 수락합니다.

    네트워크 우선순위

    Mumble-server (murmurd) can use higher process and network priority to ensure low latency audio forwarding even on highly loaded servers. ?
    ? ?
    ? Allow mumble-server to use higher priority?

    대기 시간을 최소화하려면 예를 선택합니다.

    Mumble 슈퍼유저 암호

    Murmur has a special account called "SuperUser" which bypasses all privilege checks. ?
    ? ?
    ? If you set a password here, the password for the "SuperUser" account will be updated. ?
    ? ?
    ? If you leave this blank, the password will not be changed. ?
    ? ?
    ? Password to set on SuperUser account:

    서버를 관리하려면 이 사용자로 Mumble에 로그인해야 합니다. 이는 Mumble의 최고 수준 관리 계정입니다.

    암호 필드를 비워두면 암호가 기본값으로 유지됩니다. 이 계정의 암호를 변경하고 길고 안전한 암호를 선택하는 것이 좋습니다.

    필드에 원하는 비밀번호를 입력하고 탭을 누른 다음 Enter를 눌러 새 비밀번호를 설정하십시오.

    지금 우리는 SuperUser라는 하나의 계정으로 mumble 서버를 사용하고 있습니다.

    고급 구성

    다음으로 구성 파일을 편집하고 가장 일반적인 항목을 살펴보겠습니다. 이 위치에서 서버 구성 파일을 찾을 수 있습니다: /etc/mumble-server.ini.

    원하는 텍스트 편집기에서 구성 파일을 엽니다.

    nano /etc/mumble-server.ini
    General notes:
    # * Settings in this file are default settings and many of them can be overridden
    # with virtual server specific configuration via the Ice or DBus interface.
    # * Due to the way this configuration file is read some rules have to be
    # followed when specifying variable values (as in variable = value):
    # * Make sure to quote the value when using commas in strings or passwords.
    # NOT variable = super,secret BUT variable = "super,secret"
    # * Make sure to escape special characters like '\' or '"' correctly
    # NOT variable = """ BUT variable = "\""
    # NOT regex = \w* BUT regex = \\w*

    # Path to database. If blank, will search for
    # murmur.sqlite in default locations or create it if not found.
    database=/var/lib/mumble-server/mumble-server.sqlite

    # If you wish to use something other than SQLite, you'll need to set the name
    # of the database above, and also uncomment the below.
    # Sticking with SQLite is strongly recommended, as it's the most well tested
    # and by far the fastest solution.
    #
    #dbDriver=QMYSQL
    #dbUsername=
    #dbPassword=
    #dbHost=
    #dbPort=
    #dbPrefix=murmur_
    #dbOpts=

    # Murmur defaults to not using D-Bus. If you wish to use dbus, which is one of the
    # RPC methods available in Murmur, please specify so here.
    #
    dbus=system

    # Alternate D-Bus service name. Only use if you are running distinct
    # murmurd processes connected to the same D-Bus daemon.
    #dbusservice=net.sourceforge.mumble.murmur

    다음은 참조를 위해 일반적으로 변경되는 일부 값입니다. 설정을 활성화하려면 # 문자를 제거해야 합니다. #은 줄 주석을 제거하는 것으로 참조됩니다. #으로 시작하는 줄은 서버에서 처리되지 않습니다.

    • autobanTimeframe, autobanAttempts, autobanTime– 이 값은 무차별 대입 로그인 시도를 방지합니다. 이렇게 하면 조건이 충족될 때까지 특정 시간 동안 IP가 차단됩니다. 아래 설정은 30초 이내에 3번 접속 시도(실패) 시 60초 동안 차단되는 설정입니다. 이 설정에 주의하세요. 너무 낮게 설정하면 금지될 수 있습니다. 높음으로 설정하면 대부분 비효율적입니다.\n

                #autobanAttempts = 3 #autobanTimeframe = 30 #autobanTime = 60

    • welcometext– 이 설정은 사용자가 서버에 로그인할 때마다 사용자에게 메시지를 표시합니다. 규칙, 웹 사이트 링크 등에 대해 사용자에게 알립니다. HTML 문자 및 태그를 사용하려면 항목을 따옴표로 묶습니다.\n

                # welcometext=Thank you for choosing linux-console.net! We hope you enjoy your stay

    • 포트– 64738은 기본 mumble 포트입니다. 언제든지 이 포트를 변경할 수 있지만 사용자에게 이 새 포트에 대해 알려야 합니다. 그렇지 않으면 더 이상 서버에 연결할 수 없습니다. 그러나 21, 22, 25, 80 또는 443과 같은 다른 서비스에 표준 포트 번호를 사용하지 마십시오. "netstat -ntap" 명령을 사용하여 서버에서 사용 중인 포트를 확인하고 여유 포트를 찾을 수 있습니다.\n

                # port=64738

    • Host– mumble은 기본적으로 모든 호스트 이름에 바인딩합니다. 단일 호스트 이름을 사용하려면 해당 호스트 이름을 입력하여 변경할 수 있습니다.\n
    • 대역폭– 각 사용자가 사용할 수 있는 대역폭의 양입니다. 더 높은 값을 설정하면 각 소비자가 더 많은 RAM을 소비합니다. 512 RAM에서 50명의 사용자를 호스트하려면 60000-72000 사이의 값이 좋습니다.\n

                #bandwidth=72000

    • 사용자 – 서버에 연결할 수 있는 최대 동시 사용자 수입니다.\n

                #users=150

    • textmessagelength– 사용자가 문자 메시지당 보낼 수 있는 문자 수를 제한합니다. 이 설정은 기본적으로 활성화되어 있지 않습니다.\n
    • imagemessagelength– 사용자가 보낼 수 있는 이미지 수를 제한합니다. 기본적으로 활성화되어 있지 않습니다.\n
    • allowhtml– 메시지에서 HTML을 사용할 수 있도록 허용하려면 Allowhtml을 true로 설정합니다.\n

                #allowhtml=true  

    • registerName, RegisterUrl– 이 설정을 활성화하면 Mumble 클라이언트에서 사용할 수 있는 공개 목록에 서버 이름이 나타납니다. 활성화되지 않은 경우 사용자는 서버에 연결하기 위해 IP 주소와 호스트 이름을 알아야 합니다.\n

    변경된 구성 설정을 저장하려면 Ctrl+X를 누르고 Y를 누른 다음 Enter를 눌러 저장합니다. 그렇지 않으면 변경 사항이 이전 값으로 다시 설정됩니다. 변경된 구성을 활성화하려면 Murmur를 다시 시작해야 합니다. 이렇게 하면 서버에서 모든 사용자의 연결이 끊어집니다.

    Murmur를 다시 시작하려면 다음 명령을 실행합니다.

    service mumble-server restart

    Mumble 서버에 연결

    다음 단계는 SuperUser를 Mumble 서버에 연결하는 데 도움이 됩니다. 다른 사용자가 나중에 연결하기 위해 동일한 단계를 따를 수 있습니다. 다른 사용자는 암호가 필요하지 않으며 연결할 IP 주소와 포트 번호만 있으면 됩니다.

    • Mumble 클라이언트를 시스템에 다운로드합니다.\n
    • 컴퓨터에서 Mumble 클라이언트를 엽니다.\n

    • 연결을 클릭합니다.\n
    • 새로 추가를 클릭합니다.\n

    • mumble 서버에 필요한 정보를 입력합니다. 주소는 무엇이든 될 수 있으며 호스트 이름 또는 서버의 IP 주소일 수 있습니다. 기본 포트는 64736이며, 새 포트를 변경한 경우 사용자는 새 포트를 입력하여 연결해야 합니다. 확인을 클릭하여 설정을 저장합니다.\n

    • 서버에 연결하려면 연결을 클릭하십시오. 즐겨찾기에서 서버를 볼 수 있습니다.

    • 서버에 대해 서명된 인증서를 수락해야 합니다.\n
    • 성공적으로 연결되면 연결됨 메시지가 표시됩니다.\n
    • 이제 이 서버에 있는 모든 사용자와 채팅합니다.\n

    Mumble 서버가 설치되어 사용할 준비가 되었습니다.