1
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

AWS の EC2(Ubuntu 20.04) に Coturn-4.5.2 をインストール 2021/8

Last updated at Posted at 2021-08-10

経緯

  • AWS Ubuntu Server 20.04 に turnserver-4.5.2.tar.gz をインストール
  • 記事の内容がほとんどなく、参考サイトのコピー&劣化で、投稿するのは大変恐縮ですが、軽くはまったのでメモ

環境

  • AWS
  • Ubuntu Server 20.04 LTS
  • turnserver-4.5.2.tar.gz

はまった点(読み飛ばし可能)

  • 参考サイト1 を参考に ./configure すると以下のエラーに遭遇
  • ginstall: not found が先に目が入ってしまい、このメッセージで検索したのがはまった原因
    • ginstall は、なくてもよいと後ほど気づく
  • ERROR: cannot use compiler unknown properly が見なければいけないエラーメッセージ
ginstall: not found
install is /usr/bin/install
pkill is /usr/bin/pkill
sqlite3 is /usr/bin/sqlite3
Use TMP dir /var/tmp
Compiler: unknown
ERROR: cannot use compiler unknown properly

手順

  • 参考文献1に gccpkg-config を追加
sudo apt update -y
sudo apt install -y libssl-dev libevent-dev sqlite3 make gcc pkg-config

wget http://turnserver.open-sys.org/downloads/v4.5.2/turnserver-4.5.2.tar.gz
tar xvfz turnserver-4.5.2.tar.gz
cd turnserver-4.5.2/

./configure

make && sudo make install
  • 実行ファイルの格納場所
which turnserver
/usr/local/bin/turnserver

apt でインストール

  • apt でもインストールできる
  • Coturn-4.5.1.1 がインストールされた
  • 最新を使いたい場合は、ソースからインストールした方がよさそう
sudo apt install coturn
  • 実行ファイルの格納場所
 /usr/bin/turnserver

参考サイト

参考サイト1

参考サイト2

1
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?