1
1

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.

インターネット回線の速度テストサイトを立てよう

Posted at

きっかけ

インターネットの速度テストとして様々なサイトがありますが、自分の思う場所に構築して計測できないかな、と思いました。
具体的には自分たちの使っているクラウド上に配置して、どのぐらいのレイテンシやスループットなのかを簡単に調べられたら良いなぁと。

探したところ librespeed というのがありました。
簡単に構築できましたので、手順をまとめておこうと思います。

構築手順

※ 以下手順は Oracle Linux 7.9 で実施しました。 CentOS などでも同じ手順で可能です。

必要なパッケージをインストールする

sudo yum install -y git httpd php

Document Root に librespeed を clone する

cd /var/www/html
sudo git clone https://github.com/librespeed/speedtest.git
cd speedtest/
sudo cp example-singleServer-gauges.html index.html

firewalld でポートを開ける

sudo firewall-cmd --zone=public --add-service=http --permanent
sudo firewall-cmd --reload

apache を起動する

sudo systemctl start httpd

アクセス確認

以下にアクセスする。

http://IP Address/speedtest/

以下のように表示されるので、Start をクリックするだけです。
image.png

以上

1
1
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
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?