LiteSpeedという第4のWEBサーバーをインストールしてみた

openlitespeed

現在WEBサーバーと言えば、Apache、IIS、nginxの3つが主流ですが、どうやら4つめのWEbサーバーLiteSpeedというのがあるみたいです。

LiteSpeeって何?

Apacheの上位互換のサーバーみたいなイメージです。Apacheやnginxよりも高速と言われていますが、どうも静的なページを返すならnginxが一番みたいです。ただWordPressを使う場合、LiteSpeedとキャッシュ機能を使うとnginxやApacheを凌ぐみたいです

HTTP2をサポート

デフォルトでHTTP2をサポートしているみたいです。これは凄いです。Apacheやnginxだとちょいちょい設定をしないといけないので

結論:よくわからない

よくわからないので、CentOSに入れてみたいと思います。使うOSはCentOS7です

基本パッケージのインストール

LiteSpeed Web Server インストールメモ(CentOS)を見ながら基本パッケージのインストールをしていきます。やることは同じなのでリンク先見た方がいいかもしれません。

[root@ik1-343-31745 ~]# yum groupinstall base
Loaded plugins: fastestmirror, langpacks
There is no installed groups file.
Maybe run: yum groups mark convert (see man yum)
base                                                                                                                                                                                                                                                                                                  | 3.6 kB  00:00:00
epel/x86_64/metalink                                                                                                                                                                                                                                                                                  | 7.0 kB  00:00:00
epel                                                                                                                                                                                                                                                                                                  | 3.2 kB  00:00:00
extras                                                                                                                                                                                                                                                                                                | 3.4 kB  00:00:00
updates                                                                                                                                                                                                                                                                                               | 3.4 kB  00:00:00
(1/7): epel/x86_64/group_gz                                                                                                                                                                                                                                                                           |  88 kB  00:00:00
(2/7): base/7/x86_64/group_gz                                                                                                                                                                                                                                                                         | 166 kB  00:00:00
(3/7): epel/x86_64/updateinfo                                                                                                                                                                                                                                                                         | 927 kB  00:00:00
(4/7): extras/7/x86_64/primary_db                                                                                                                                                                                                                                                                     | 172 kB  00:00:00
(5/7): epel/x86_64/primary                                                                                                                                                                                                                                                                            | 3.6 MB  00:00:01
(6/7): updates/7/x86_64/primary_db                                                                                                                                                                                                                                                                    | 4.3 MB  00:00:01
(7/7): base/7/x86_64/primary_db                                                                                                                                                                                                                                                                       | 5.9 MB  00:00:01
Determining fastest mirrors
 * base: ftp.iij.ad.jp
 * epel: mirror.dmmlabs.jp
 * extras: ftp.iij.ad.jp
 * updates: ftp.iij.ad.jp
epel                                                                                                                                                                                                                                                                                                             12639/12639
Resolving Dependencies
--> Running transaction check
---> Package kmod-kvdo.x86_64 0:6.1.0.171-17.el7_5 will be installed
--> Processing Dependency: kernel(vmemmap_base) = 0x97651e6c for package: kmod-kvdo-6.1.0.171-17.el7_5.x86_64
--> Processing Dependency: kernel(vmalloc_base) = 0x9cb986f2 for package: kmod-kvdo-6.1.0.171-17.el7_5.x86_64
--> Processing Dependency: kernel(sme_me_mask) = 0x17fbce60 for package: kmod-kvdo-6.1.0.171-17.el7_5.x86_64
--> Processing Dependency: kernel(page_offset_base) = 0x7cd8d75e for package: kmod-kvdo-6.1.0.171-17.el7_5.x86_64
--> Processing Dependency: kernel(dm_unregister_target) = 0x35ba4186 for package: kmod-kvdo-6.1.0.171-17.el7_5.x86_64
--> Processing Dependency: kernel(dm_register_target) = 0xd3f9ecc7 for package: kmod-kvdo-6.1.0.171-17.el7_5.x86_64
--> Processing Dependency: kernel(dm_put_device) = 0xe484e3b5 for package: kmod-kvdo-6.1.0.171-17.el7_5.x86_64
--> Processing Dependency: kernel(dm_get_device) = 0x602cd186 for package: kmod-kvdo-6.1.0.171-17.el7_5.x86_64
--> Processing Dependency: kernel(_raw_qspin_lock_irq) = 0x3588d8ba for package: kmod-kvdo-6.1.0.171-17.el7_5.x86_64
--> Processing Dependency: kernel(_raw_qspin_lock) = 0x4b7dcf38 for package: kmod-kvdo-6.1.0.171-17.el7_5.x86_64
--> Processing Dependency: kernel(__x86_indirect_thunk_rsi) = 0xa1f9a134 for package: kmod-kvdo-6.1.0.171-17.el7_5.x86_64
--> Processing Dependency: kernel(__x86_indirect_thunk_rdx) = 0xb601be4c for package: kmod-kvdo-6.1.0.171-17.el7_5.x86_64
--> Processing Dependency: kernel(__x86_indirect_thunk_rcx) = 0xc29957c3 for package: kmod-kvdo-6.1.0.171-17.el7_5.x86_64
--> Processing Dependency: kernel(__x86_indirect_thunk_rbx) = 0x593c1bac for package: kmod-kvdo-6.1.0.171-17.el7_5.x86_64
--> Processing Dependency: kernel(__x86_indirect_thunk_rax) = 0x2ea2c95c for package: kmod-kvdo-6.1.0.171-17.el7_5.x86_64
--> Processing Dependency: kernel(__x86_indirect_thunk_r9) = 0xdf566a59 for package: kmod-kvdo-6.1.0.171-17.el7_5.x86_64
--> Processing Dependency: kernel(__x86_indirect_thunk_r8) = 0x1ed8b599 for package: kmod-kvdo-6.1.0.171-17.el7_5.x86_64
--> Processing Dependency: kernel(__x86_indirect_thunk_r15) = 0x0f05c7b8 for package: kmod-kvdo-6.1.0.171-17.el7_5.x86_64
--> Processing Dependency: kernel(__x86_indirect_thunk_r14) = 0xce8b1878 for package: kmod-kvdo-6.1.0.171-17.el7_5.x86_64
--> Processing Dependency: kernel(__x86_indirect_thunk_r13) = 0xe7b00dfb for package: kmod-kvdo-6.1.0.171-17.el7_5.x86_64
--> Processing Dependency: kernel(__x86_indirect_thunk_r12) = 0x263ed23b for package: kmod-kvdo-6.1.0.171-17.el7_5.x86_64
--> Processing Dependency: kernel(__x86_indirect_thunk_r10) = 0x7e526bfa for package: kmod-kvdo-6.1.0.171-17.el7_5.x86_64
--> Processing Dependency: kernel >= 3.10.0-693.el7 for package: kmod-kvdo-6.1.0.171-17.el7_5.x86_64
---> Package vdo.x86_64 0:6.1.0.168-18 will be installed
--> Processing Dependency: PyYAML >= 3.10 for package: vdo-6.1.0.168-18.x86_64
--> Running transaction check
---> Package PyYAML.x86_64 0:3.10-11.el7 will be installed
--> Processing Dependency: libyaml-0.so.2()(64bit) for package: PyYAML-3.10-11.el7.x86_64
---> Package kernel.x86_64 0:3.10.0-862.9.1.el7 will be installed
--> Processing Dependency: linux-firmware >= 20180113-61 for package: kernel-3.10.0-862.9.1.el7.x86_64
--> Processing Dependency: dracut >= 033-502 for package: kernel-3.10.0-862.9.1.el7.x86_64
--> Running transaction check
---> Package dracut.x86_64 0:033-360.el7_2.1 will be updated
--> Processing Dependency: dracut = 033-360.el7_2.1 for package: dracut-network-033-360.el7_2.1.x86_64
--> Processing Dependency: dracut = 033-360.el7_2.1 for package: dracut-config-rescue-033-360.el7_2.1.x86_64
---> Package dracut.x86_64 0:033-535.el7 will be an update
---> Package libyaml.x86_64 0:0.1.4-11.el7_0 will be installed
---> Package linux-firmware.noarch 0:20150904-43.git6ebf5d5.el7 will be updated
---> Package linux-firmware.noarch 0:20180220-62.2.git6d51311.el7_5 will be an update
--> Running transaction check
---> Package dracut-config-rescue.x86_64 0:033-360.el7_2.1 will be updated
---> Package dracut-config-rescue.x86_64 0:033-535.el7 will be an update
---> Package dracut-network.x86_64 0:033-360.el7_2.1 will be updated
---> Package dracut-network.x86_64 0:033-535.el7 will be an update
--> Processing Conflict: kernel-3.10.0-862.9.1.el7.x86_64 conflicts xfsprogs < 4.3.0 --> Restarting Dependency Resolution with new changes.
--> Running transaction check
---> Package xfsprogs.x86_64 0:3.2.2-2.el7 will be updated
---> Package xfsprogs.x86_64 0:4.5.0-15.el7 will be an update
--> Processing Conflict: kernel-3.10.0-862.9.1.el7.x86_64 conflicts kmod < 20-9 --> Restarting Dependency Resolution with new changes.
--> Running transaction check
---> Package kmod.x86_64 0:20-8.el7_2 will be updated
---> Package kmod.x86_64 0:20-21.el7 will be an update
--> Processing Conflict: kernel-3.10.0-862.9.1.el7.x86_64 conflicts kexec-tools < 2.0.14-3 --> Restarting Dependency Resolution with new changes.
--> Running transaction check
---> Package kexec-tools.x86_64 0:2.0.7-38.el7_2.1 will be updated
---> Package kexec-tools.x86_64 0:2.0.15-13.el7 will be an update
--> Finished Dependency Resolution

Dependencies Resolved

=============================================================================================================================================================================================================================================================================================================================
 Package                                                                          Arch                                                               Version                                                                                       Repository                                                           Size
=============================================================================================================================================================================================================================================================================================================================
Installing for group install "Base":
 kmod-kvdo                                                                        x86_64                                                             6.1.0.171-17.el7_5                                                                            updates                                                             347 k
 vdo                                                                              x86_64                                                             6.1.0.168-18                                                                                  updates                                                             603 k
Installing:
 kernel                                                                           x86_64                                                             3.10.0-862.9.1.el7                                                                            updates                                                              46 M
Updating:
 kexec-tools                                                                      x86_64                                                             2.0.15-13.el7                                                                                 base                                                                341 k
 kmod                                                                             x86_64                                                             20-21.el7                                                                                     base                                                                121 k
 xfsprogs                                                                         x86_64                                                             4.5.0-15.el7                                                                                  base                                                                896 k
Installing for dependencies:
 PyYAML                                                                           x86_64                                                             3.10-11.el7                                                                                   base                                                                153 k
 libyaml                                                                          x86_64                                                             0.1.4-11.el7_0                                                                                base                                                                 55 k
Updating for dependencies:
 dracut                                                                           x86_64                                                             033-535.el7                                                                                   base                                                                325 k
 dracut-config-rescue                                                             x86_64                                                             033-535.el7                                                                                   base                                                                 58 k
 dracut-network                                                                   x86_64                                                             033-535.el7                                                                                   base                                                                100 k
 linux-firmware                                                                   noarch                                                             20180220-62.2.git6d51311.el7_5                                                                updates                                                              57 M

Transaction Summary
=============================================================================================================================================================================================================================================================================================================================
Install  3 Packages (+2 Dependent packages)
Upgrade  3 Packages (+4 Dependent packages)

Total download size: 106 M
Is this ok [y/d/N]: y
Downloading packages:
Delta RPMs disabled because /usr/bin/applydeltarpm not installed.
(1/12): dracut-config-rescue-033-535.el7.x86_64.rpm                                                                                                                                                                                                                                                   |  58 kB  00:00:00
(2/12): dracut-network-033-535.el7.x86_64.rpm                                                                                                                                                                                                                                                         | 100 kB  00:00:00
(3/12): PyYAML-3.10-11.el7.x86_64.rpm                                                                                                                                                                                                                                                                 | 153 kB  00:00:00
(4/12): dracut-033-535.el7.x86_64.rpm                                                                                                                                                                                                                                                                 | 325 kB  00:00:00
(5/12): kexec-tools-2.0.15-13.el7.x86_64.rpm                                                                                                                                                                                                                                                          | 341 kB  00:00:00
(6/12): libyaml-0.1.4-11.el7_0.x86_64.rpm                                                                                                                                                                                                                                                             |  55 kB  00:00:00
(7/12): kmod-20-21.el7.x86_64.rpm                                                                                                                                                                                                                                                                     | 121 kB  00:00:00
(8/12): kmod-kvdo-6.1.0.171-17.el7_5.x86_64.rpm                                                                                                                                                                                                                                                       | 347 kB  00:00:00
(9/12): vdo-6.1.0.168-18.x86_64.rpm                                                                                                                                                                                                                                                                   | 603 kB  00:00:00
(10/12): xfsprogs-4.5.0-15.el7.x86_64.rpm                                                                                                                                                                                                                                                             | 896 kB  00:00:00
(11/12): kernel-3.10.0-862.9.1.el7.x86_64.rpm                                                                                                                                                                                                                                                         |  46 MB  00:00:08
(12/12): linux-firmware-20180220-62.2.git6d51311.el7_5.noarch.rpm                                                                                                                                                                                                                                     |  57 MB  00:00:09
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                                                                                                                                                                                         10 MB/s | 106 MB  00:00:10
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Updating   : dracut-033-535.el7.x86_64                                                                                                                                                                                                                                                                                1/19
  Updating   : kmod-20-21.el7.x86_64                                                                                                                                                                                                                                                                                    2/19
  Updating   : dracut-network-033-535.el7.x86_64                                                                                                                                                                                                                                                                        3/19
  Updating   : linux-firmware-20180220-62.2.git6d51311.el7_5.noarch                                                                                                                                                                                                                                                     4/19
  Installing : kernel-3.10.0-862.9.1.el7.x86_64                                                                                                                                                                                                                                                                         5/19
  Installing : kmod-kvdo-6.1.0.171-17.el7_5.x86_64                                                                                                                                                                                                                                                                      6/19
  Installing : libyaml-0.1.4-11.el7_0.x86_64                                                                                                                                                                                                                                                                            7/19
  Installing : PyYAML-3.10-11.el7.x86_64                                                                                                                                                                                                                                                                                8/19
  Installing : vdo-6.1.0.168-18.x86_64                                                                                                                                                                                                                                                                                  9/19
Created symlink from /etc/systemd/system/multi-user.target.wants/vdo.service to /usr/lib/systemd/system/vdo.service.
  Updating   : kexec-tools-2.0.15-13.el7.x86_64                                                                                                                                                                                                                                                                        10/19
  Updating   : dracut-config-rescue-033-535.el7.x86_64                                                                                                                                                                                                                                                                 11/19
  Updating   : xfsprogs-4.5.0-15.el7.x86_64                                                                                                                                                                                                                                                                            12/19
  Cleanup    : dracut-config-rescue-033-360.el7_2.1.x86_64                                                                                                                                                                                                                                                             13/19
  Cleanup    : kexec-tools-2.0.7-38.el7_2.1.x86_64                                                                                                                                                                                                                                                                     14/19
  Cleanup    : dracut-network-033-360.el7_2.1.x86_64                                                                                                                                                                                                                                                                   15/19
  Cleanup    : linux-firmware-20150904-43.git6ebf5d5.el7.noarch                                                                                                                                                                                                                                                        16/19
  Cleanup    : kmod-20-8.el7_2.x86_64                                                                                                                                                                                                                                                                                  17/19
  Cleanup    : dracut-033-360.el7_2.1.x86_64                                                                                                                                                                                                                                                                           18/19
  Cleanup    : xfsprogs-3.2.2-2.el7.x86_64                                                                                                                                                                                                                                                                             19/19
  Verifying  : libyaml-0.1.4-11.el7_0.x86_64                                                                                                                                                                                                                                                                            1/19
  Verifying  : dracut-config-rescue-033-535.el7.x86_64                                                                                                                                                                                                                                                                  2/19
  Verifying  : kmod-kvdo-6.1.0.171-17.el7_5.x86_64                                                                                                                                                                                                                                                                      3/19
  Verifying  : kmod-20-21.el7.x86_64                                                                                                                                                                                                                                                                                    4/19
  Verifying  : kexec-tools-2.0.15-13.el7.x86_64                                                                                                                                                                                                                                                                         5/19
  Verifying  : xfsprogs-4.5.0-15.el7.x86_64                                                                                                                                                                                                                                                                             6/19
  Verifying  : linux-firmware-20180220-62.2.git6d51311.el7_5.noarch                                                                                                                                                                                                                                                     7/19
  Verifying  : PyYAML-3.10-11.el7.x86_64                                                                                                                                                                                                                                                                                8/19
  Verifying  : vdo-6.1.0.168-18.x86_64                                                                                                                                                                                                                                                                                  9/19
  Verifying  : kernel-3.10.0-862.9.1.el7.x86_64                                                                                                                                                                                                                                                                        10/19
  Verifying  : dracut-network-033-535.el7.x86_64                                                                                                                                                                                                                                                                       11/19
  Verifying  : dracut-033-535.el7.x86_64                                                                                                                                                                                                                                                                               12/19
  Verifying  : dracut-config-rescue-033-360.el7_2.1.x86_64                                                                                                                                                                                                                                                             13/19
  Verifying  : linux-firmware-20150904-43.git6ebf5d5.el7.noarch                                                                                                                                                                                                                                                        14/19
  Verifying  : dracut-network-033-360.el7_2.1.x86_64                                                                                                                                                                                                                                                                   15/19
  Verifying  : kexec-tools-2.0.7-38.el7_2.1.x86_64                                                                                                                                                                                                                                                                     16/19
  Verifying  : kmod-20-8.el7_2.x86_64                                                                                                                                                                                                                                                                                  17/19
  Verifying  : dracut-033-360.el7_2.1.x86_64                                                                                                                                                                                                                                                                           18/19
  Verifying  : xfsprogs-3.2.2-2.el7.x86_64                                                                                                                                                                                                                                                                             19/19

Installed:
  kernel.x86_64 0:3.10.0-862.9.1.el7                                                                         kmod-kvdo.x86_64 0:6.1.0.171-17.el7_5                                                                         vdo.x86_64 0:6.1.0.168-18

Dependency Installed:
  PyYAML.x86_64 0:3.10-11.el7                                                                                                                                 libyaml.x86_64 0:0.1.4-11.el7_0

Updated:
  kexec-tools.x86_64 0:2.0.15-13.el7                                                                            kmod.x86_64 0:20-21.el7                                                                            xfsprogs.x86_64 0:4.5.0-15.el7

Dependency Updated:
  dracut.x86_64 0:033-535.el7                                       dracut-config-rescue.x86_64 0:033-535.el7                                       dracut-network.x86_64 0:033-535.el7                                       linux-firmware.noarch 0:20180220-62.2.git6d51311.el7_5

Complete!
[root@ik1-343-31745 ~]#

無事インストールできました

[root@ik1-343-31745 ~]# yum groupinstall development
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
 * base: ftp.iij.ad.jp
 * epel: mirror.dmmlabs.jp
 * extras: ftp.iij.ad.jp
 * updates: ftp.iij.ad.jp
Warning: Group development does not have any packages to install.
Maybe run: yum groups mark install (see man yum)
No packages in any requested group available to install or update
[root@ik1-343-31745 ~]#

パッケージがないみたいなので諦めます

[root@ik1-343-31745 ~]# yum groupinstall network-tools
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
 * base: ftp.iij.ad.jp
 * epel: mirror.dmmlabs.jp
 * extras: ftp.iij.ad.jp
 * updates: ftp.iij.ad.jp
Resolving Dependencies
--> Running transaction check
---> Package libreswan.x86_64 0:3.23-5.el7_5 will be installed
--> Processing Dependency: unbound-libs >= 1.6.6 for package: libreswan-3.23-5.el7_5.x86_64
--> Processing Dependency: libunbound.so.2()(64bit) for package: libreswan-3.23-5.el7_5.x86_64
--> Processing Dependency: libseccomp.so.2()(64bit) for package: libreswan-3.23-5.el7_5.x86_64
--> Processing Dependency: libldns.so.1()(64bit) for package: libreswan-3.23-5.el7_5.x86_64
--> Processing Dependency: libevent_pthreads-2.0.so.5()(64bit) for package: libreswan-3.23-5.el7_5.x86_64
--> Processing Dependency: libevent-2.0.so.5()(64bit) for package: libreswan-3.23-5.el7_5.x86_64
---> Package nmap-ncat.x86_64 2:6.40-13.el7 will be installed
---> Package socat.x86_64 0:1.7.3.2-2.el7 will be installed
--> Running transaction check
---> Package ldns.x86_64 0:1.6.16-10.el7 will be installed
---> Package libevent.x86_64 0:2.0.21-4.el7 will be installed
---> Package libseccomp.x86_64 0:2.3.1-3.el7 will be installed
---> Package unbound-libs.x86_64 0:1.6.6-1.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

=============================================================================================================================================================================================================================================================================================================================
 Package                                                                         Arch                                                                      Version                                                                          Repository                                                                  Size
=============================================================================================================================================================================================================================================================================================================================
Installing for group install "Networking Tools":
 libreswan                                                                       x86_64                                                                    3.23-5.el7_5                                                                     updates                                                                    1.3 M
 nmap-ncat                                                                       x86_64                                                                    2:6.40-13.el7                                                                    base                                                                       205 k
 socat                                                                           x86_64                                                                    1.7.3.2-2.el7                                                                    base                                                                       290 k
Installing for dependencies:
 ldns                                                                            x86_64                                                                    1.6.16-10.el7                                                                    base                                                                       476 k
 libevent                                                                        x86_64                                                                    2.0.21-4.el7                                                                     base                                                                       214 k
 libseccomp                                                                      x86_64                                                                    2.3.1-3.el7                                                                      base                                                                        56 k
 unbound-libs                                                                    x86_64                                                                    1.6.6-1.el7                                                                      base                                                                       405 k

Transaction Summary
=============================================================================================================================================================================================================================================================================================================================
Install  3 Packages (+4 Dependent packages)

Total download size: 2.9 M
Installed size: 9.6 M
Is this ok [y/d/N]: y
Downloading packages:
(1/7): libseccomp-2.3.1-3.el7.x86_64.rpm                                                                                                                                                                                                                                                              |  56 kB  00:00:00
(2/7): libevent-2.0.21-4.el7.x86_64.rpm                                                                                                                                                                                                                                                               | 214 kB  00:00:00
(3/7): nmap-ncat-6.40-13.el7.x86_64.rpm                                                                                                                                                                                                                                                               | 205 kB  00:00:00
(4/7): socat-1.7.3.2-2.el7.x86_64.rpm                                                                                                                                                                                                                                                                 | 290 kB  00:00:00
(5/7): libreswan-3.23-5.el7_5.x86_64.rpm                                                                                                                                                                                                                                                              | 1.3 MB  00:00:00
(6/7): unbound-libs-1.6.6-1.el7.x86_64.rpm                                                                                                                                                                                                                                                            | 405 kB  00:00:00
(7/7): ldns-1.6.16-10.el7.x86_64.rpm                                                                                                                                                                                                                                                                  | 476 kB  00:00:00
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                                                                                                                                                                                        5.1 MB/s | 2.9 MB  00:00:00
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : libevent-2.0.21-4.el7.x86_64                                                                                                                                                                                                                                                                              1/7
  Installing : unbound-libs-1.6.6-1.el7.x86_64                                                                                                                                                                                                                                                                           2/7
  Installing : ldns-1.6.16-10.el7.x86_64                                                                                                                                                                                                                                                                                 3/7
  Installing : libseccomp-2.3.1-3.el7.x86_64                                                                                                                                                                                                                                                                             4/7
  Installing : libreswan-3.23-5.el7_5.x86_64                                                                                                                                                                                                                                                                             5/7
  Installing : socat-1.7.3.2-2.el7.x86_64                                                                                                                                                                                                                                                                                6/7
  Installing : 2:nmap-ncat-6.40-13.el7.x86_64                                                                                                                                                                                                                                                                            7/7
  Verifying  : 2:nmap-ncat-6.40-13.el7.x86_64                                                                                                                                                                                                                                                                            1/7
  Verifying  : libevent-2.0.21-4.el7.x86_64                                                                                                                                                                                                                                                                              2/7
  Verifying  : libreswan-3.23-5.el7_5.x86_64                                                                                                                                                                                                                                                                             3/7
  Verifying  : socat-1.7.3.2-2.el7.x86_64                                                                                                                                                                                                                                                                                4/7
  Verifying  : unbound-libs-1.6.6-1.el7.x86_64                                                                                                                                                                                                                                                                           5/7
  Verifying  : libseccomp-2.3.1-3.el7.x86_64                                                                                                                                                                                                                                                                             6/7
  Verifying  : ldns-1.6.16-10.el7.x86_64                                                                                                                                                                                                                                                                                 7/7

Installed:
  libreswan.x86_64 0:3.23-5.el7_5                                                                           nmap-ncat.x86_64 2:6.40-13.el7                                                                           socat.x86_64 0:1.7.3.2-2.el7

Dependency Installed:
  ldns.x86_64 0:1.6.16-10.el7                                                libevent.x86_64 0:2.0.21-4.el7                                                libseccomp.x86_64 0:2.3.1-3.el7                                                unbound-libs.x86_64 0:1.6.6-1.el7

Complete!
[root@ik1-343-31745 ~]#

ネットワーク関連をインストールします

EPELリポジトリをインストール

EPELリポジトリをまずインストールします

[root@ik1-343-31745 ~]# yum install epel-release
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
 * base: ftp.iij.ad.jp
 * epel: mirror.dmmlabs.jp
 * extras: ftp.iij.ad.jp
 * updates: ftp.iij.ad.jp
Resolving Dependencies
--> Running transaction check
---> Package epel-release.noarch 0:7-8 will be updated
---> Package epel-release.noarch 0:7-11 will be an update
--> Finished Dependency Resolution

Dependencies Resolved

=============================================================================================================================================================================================================================================================================================================================
 Package                                                                            Arch                                                                         Version                                                                    Repository                                                                  Size
=============================================================================================================================================================================================================================================================================================================================
Updating:
 epel-release                                                                       noarch                                                                       7-11                                                                       epel                                                                        15 k

Transaction Summary
=============================================================================================================================================================================================================================================================================================================================
Upgrade  1 Package

Total download size: 15 k
Is this ok [y/d/N]: y
Downloading packages:
Delta RPMs disabled because /usr/bin/applydeltarpm not installed.
epel-release-7-11.noarch.rpm                                                                                                                                                                                                                                                                          |  15 kB  00:00:00
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Updating   : epel-release-7-11.noarch                                                                                                                                                                                                                                                                                  1/2
  Cleanup    : epel-release-7-8.noarch                                                                                                                                                                                                                                                                                   2/2
  Verifying  : epel-release-7-11.noarch                                                                                                                                                                                                                                                                                  1/2
  Verifying  : epel-release-7-8.noarch                                                                                                                                                                                                                                                                                   2/2

Updated:
  epel-release.noarch 0:7-11

Complete!
[root@ik1-343-31745 ~]#

ここまでで事前準備完了・・・ではないです。最後にLiteSpeedリポジトリを追加します。

[root@ik1-343-31745 ~]# rpm -Uvh http://rpms.litespeedtech.com/centos/litespeed-repo-1.1-1.el7.noarch.rpm
Retrieving http://rpms.litespeedtech.com/centos/litespeed-repo-1.1-1.el7.noarch.rpm
Preparing...                          ################################# [100%]
Updating / installing...
   1:litespeed-repo-1.1-1.el7.centos  ################################# [100%]
[root@ik1-343-31745 ~]#
[root@ik1-343-31745 ~]# yum list ls*
Loaded plugins: fastestmirror, langpacks
litespeed                                                                                                                                                                                                                                                                                             | 3.6 kB  00:00:00
litespeed-update                                                                                                                                                                                                                                                                                      | 3.6 kB  00:00:00
(1/4): litespeed-update/7/x86_64/group_gz                                                                                                                                                                                                                                                             |  855 B  00:00:00
(2/4): litespeed/7/x86_64/group_gz                                                                                                                                                                                                                                                                    |  855 B  00:00:00
(3/4): litespeed-update/7/x86_64/primary_db                                                                                                                                                                                                                                                           | 169 kB  00:00:00
(4/4): litespeed/7/x86_64/primary_db                                                                                                                                                                                                                                                                  | 884 kB  00:00:01
Loading mirror speeds from cached hostfile
 * base: ftp.iij.ad.jp
 * epel: mirror.dmmlabs.jp
 * extras: ftp.iij.ad.jp
 * updates: ftp.iij.ad.jp
Installed Packages
lsof.x86_64                                                                                                                                                   4.87-4.el7                                                                                                                                     @base
lsscsi.x86_64                                                                                                                                                 0.27-3.el7                                                                                                                                     @base
Available Packages
lshell.noarch                                                                                                                                                 0.9.16-5.el7                                                                                                                                   epel
lshw.x86_64                                                                                                                                                   B.02.18-12.el7                                                                                                                                 base
lshw-gui.x86_64                                                                                                                                               B.02.18-12.el7                                                                                                                                 base
lsof.x86_64                                                                                                                                                   4.87-5.el7                                                                                                                                     base
lsphp53.x86_64                                                                                                                                                5.3.29-2.el7.centos                                                                                                                            litespeed-update
lsphp53-bcmath.x86_64                                                                                                                                         5.3.29-2.el7.centos                                                                                                                            litespeed-update
lsphp53-common.x86_64                                                                                                                                         5.3.29-2.el7.centos                                                                                                                            litespeed-update
lsphp53-dba.x86_64                                                                                                                                            5.3.29-2.el7.centos                                                                                                                            litespeed-update
lsphp53-debuginfo.x86_64                                                                                                                                      5.3.29-2.el7.centos                                                                                                                            litespeed-update
lsphp53-devel.x86_64                                                                                                                                          5.3.29-2.el7.centos                                                                                                                            litespeed-update
lsphp53-enchant.x86_64                                                                                                                                        5.3.29-2.el7.centos                                                                                                                            litespeed-update
lsphp53-gd.x86_64                                                                                                                                             5.3.29-2.el7.centos                                                                                                                            litespeed-update
lsphp53-imap.x86_64                                                                                                                                           5.3.29-2.el7.centos                                                                                                                            litespeed-update
lsphp53-intl.x86_64                                                                                                                                           5.3.29-2.el7.centos                                                                                                                            litespeed-update
lsphp53-ioncube-loader.x86_64                                                                                                                                 5.0.20-1.el7.centos                                                                                                                            litespeed
lsphp53-ldap.x86_64                                                                                                                                           5.3.29-2.el7.centos                                                                                                                            litespeed-update
lsphp53-mbstring.x86_64                                                                                                                                       5.3.29-2.el7.centos                                                                                                                            litespeed-update
lsphp53-mcrypt.x86_64                                                                                                                                         5.3.29-2.el7.centos                                                                                                                            litespeed-update
lsphp53-mysql.x86_64                                                                                                                                          5.3.29-2.el7.centos                                                                                                                            litespeed-update
lsphp53-mysql56.x86_64                                                                                                                                        5.3.29-3.el7.centos                                                                                                                            litespeed
lsphp53-mysqlnd.x86_64                                                                                                                                        5.3.29-2.el7.centos                                                                                                                            litespeed-update
lsphp53-odbc.x86_64                                                                                                                                           5.3.29-2.el7.centos                                                                                                                            litespeed-update
lsphp53-opcache.x86_64                                                                                                                                        5.3.29-3.el7.centos                                                                                                                            litespeed
lsphp53-pdo.x86_64                                                                                                                                            5.3.29-2.el7.centos                                                                                                                            litespeed-update
lsphp53-pear.noarch                                                                                                                                           1:1.9.5-1.el7.centos                                                                                                                           litespeed
lsphp53-pecl-apc.x86_64                                                                                                                                       5.3.29-3.el7.centos                                                                                                                            litespeed
lsphp53-pecl-apc-devel.x86_64                                                                                                                                 5.3.29-3.el7.centos                                                                                                                            litespeed
lsphp53-pecl-apc-panel.x86_64                                                                                                                                 5.3.29-3.el7.centos                                                                                                                            litespeed
lsphp53-pecl-igbinary.x86_64                                                                                                                                  1.2.1-1.el7.centos.5.3                                                                                                                         litespeed
lsphp53-pecl-igbinary-debuginfo.x86_64                                                                                                                        1.2.1-1.el7.centos.5.3                                                                                                                         litespeed
lsphp53-pecl-igbinary-devel.x86_64                                                                                                                            1.2.1-1.el7.centos.5.3                                                                                                                         litespeed
lsphp53-pecl-memcache.x86_64                                                                                                                                  5.3.29-3.el7.centos                                                                                                                            litespeed
lsphp53-pecl-memcached.x86_64                                                                                                                                 5.3.29-3.el7.centos                                                                                                                            litespeed
lsphp53-pecl-redis.x86_64                                                                                                                                     2.2.7-1.el7.centos                                                                                                                             litespeed
lsphp53-pgsql.x86_64                                                                                                                                          5.3.29-2.el7.centos                                                                                                                            litespeed-update
lsphp53-process.x86_64                                                                                                                                        5.3.29-2.el7.centos                                                                                                                            litespeed-update
lsphp53-pspell.x86_64                                                                                                                                         5.3.29-2.el7.centos                                                                                                                            litespeed-update
lsphp53-recode.x86_64                                                                                                                                         5.3.29-2.el7.centos                                                                                                                            litespeed-update
lsphp53-snmp.x86_64                                                                                                                                           5.3.29-2.el7.centos                                                                                                                            litespeed-update
lsphp53-soap.x86_64                                                                                                                                           5.3.29-2.el7.centos                                                                                                                            litespeed-update
lsphp53-sqlite.x86_64                                                                                                                                         5.3.29-2.el7.centos                                                                                                                            litespeed-update
lsphp53-tidy.x86_64                                                                                                                                           5.3.29-2.el7.centos                                                                                                                            litespeed-update
lsphp53-xcache.x86_64                                                                                                                                         5.3.29-3.el7.centos                                                                                                                            litespeed
lsphp53-xcache-admin.x86_64                                                                                                                                   5.3.29-3.el7.centos                                                                                                                            litespeed
lsphp53-xml.x86_64                                                                                                                                            5.3.29-2.el7.centos                                                                                                                            litespeed-update
lsphp53-xmlrpc.x86_64                                                                                                                                         5.3.29-2.el7.centos                                                                                                                            litespeed-update
lsphp54.x86_64                                                                                                                                                5.4.45-1.el7.centos                                                                                                                            litespeed
lsphp54-bcmath.x86_64                                                                                                                                         5.4.45-1.el7.centos                                                                                                                            litespeed
lsphp54-common.x86_64                                                                                                                                         5.4.45-1.el7.centos                                                                                                                            litespeed
lsphp54-dba.x86_64                                                                                                                                            5.4.45-1.el7.centos                                                                                                                            litespeed
lsphp54-debuginfo.x86_64                                                                                                                                      5.4.45-1.el7.centos                                                                                                                            litespeed
lsphp54-devel.x86_64                                                                                                                                          5.4.45-1.el7.centos                                                                                                                            litespeed
lsphp54-enchant.x86_64                                                                                                                                        5.4.45-1.el7.centos                                                                                                                            litespeed
lsphp54-gd.x86_64                                                                                                                                             5.4.45-1.el7.centos                                                                                                                            litespeed
lsphp54-imap.x86_64                                                                                                                                           5.4.45-1.el7.centos                                                                                                                            litespeed
lsphp54-intl.x86_64                                                                                                                                           5.4.45-1.el7.centos                                                                                                                            litespeed
lsphp54-ioncube-loader.x86_64                                                                                                                                 5.0.20-1.el7.centos                                                                                                                            litespeed
lsphp54-ldap.x86_64                                                                                                                                           5.4.45-1.el7.centos                                                                                                                            litespeed
lsphp54-mbstring.x86_64                                                                                                                                       5.4.45-1.el7.centos                                                                                                                            litespeed
lsphp54-mcrypt.x86_64                                                                                                                                         5.4.45-1.el7.centos                                                                                                                            litespeed
lsphp54-mysql.x86_64                                                                                                                                          5.4.45-1.el7.centos                                                                                                                            litespeed
lsphp54-mysql56.x86_64                                                                                                                                        5.4.45-1.el7.centos                                                                                                                            litespeed
lsphp54-mysqlnd.x86_64                                                                                                                                        5.4.45-1.el7.centos                                                                                                                            litespeed
lsphp54-odbc.x86_64                                                                                                                                           5.4.45-1.el7.centos                                                                                                                            litespeed
lsphp54-opcache.x86_64                                                                                                                                        5.4.45-1.el7.centos                                                                                                                            litespeed
lsphp54-pdo.x86_64                                                                                                                                            5.4.45-1.el7.centos                                                                                                                            litespeed
lsphp54-pear.noarch                                                                                                                                           1:1.10.1-1.el7.centos                                                                                                                          litespeed
lsphp54-pecl-apc.x86_64                                                                                                                                       5.4.45-1.el7.centos                                                                                                                            litespeed
lsphp54-pecl-apc-devel.x86_64                                                                                                                                 5.4.45-1.el7.centos                                                                                                                            litespeed
lsphp54-pecl-apc-panel.x86_64                                                                                                                                 5.4.45-1.el7.centos                                                                                                                            litespeed
lsphp54-pecl-igbinary.x86_64                                                                                                                                  1.2.1-1.el7.centos.5.4                                                                                                                         litespeed
lsphp54-pecl-igbinary-debuginfo.x86_64                                                                                                                        1.2.1-1.el7.centos.5.4                                                                                                                         litespeed
lsphp54-pecl-igbinary-devel.x86_64                                                                                                                            1.2.1-1.el7.centos.5.4                                                                                                                         litespeed
lsphp54-pecl-memcache.x86_64                                                                                                                                  5.4.45-1.el7.centos                                                                                                                            litespeed
lsphp54-pecl-memcached.x86_64                                                                                                                                 5.4.45-1.el7.centos                                                                                                                            litespeed
lsphp54-pecl-redis.x86_64                                                                                                                                     2.2.7-1.el7.centos                                                                                                                             litespeed
lsphp54-pgsql.x86_64                                                                                                                                          5.4.45-1.el7.centos                                                                                                                            litespeed
lsphp54-process.x86_64                                                                                                                                        5.4.45-1.el7.centos                                                                                                                            litespeed
lsphp54-pspell.x86_64                                                                                                                                         5.4.45-1.el7.centos                                                                                                                            litespeed
lsphp54-recode.x86_64                                                                                                                                         5.4.45-1.el7.centos                                                                                                                            litespeed
lsphp54-snmp.x86_64                                                                                                                                           5.4.45-1.el7.centos                                                                                                                            litespeed
lsphp54-soap.x86_64                                                                                                                                           5.4.45-1.el7.centos                                                                                                                            litespeed
lsphp54-tidy.x86_64                                                                                                                                           5.4.45-1.el7.centos                                                                                                                            litespeed
lsphp54-xcache.x86_64                                                                                                                                         5.4.45-1.el7.centos                                                                                                                            litespeed
lsphp54-xcache-admin.x86_64                                                                                                                                   5.4.45-1.el7.centos                                                                                                                            litespeed
lsphp54-xml.x86_64                                                                                                                                            5.4.45-1.el7.centos                                                                                                                            litespeed
lsphp54-xmlrpc.x86_64                                                                                                                                         5.4.45-1.el7.centos                                                                                                                            litespeed
lsphp55.x86_64                                                                                                                                                5.5.38-2.el7.centos                                                                                                                            litespeed-update
lsphp55-bcmath.x86_64                                                                                                                                         5.5.38-2.el7.centos                                                                                                                            litespeed-update
lsphp55-common.x86_64                                                                                                                                         5.5.38-2.el7.centos                                                                                                                            litespeed-update
lsphp55-dba.x86_64                                                                                                                                            5.5.38-2.el7.centos                                                                                                                            litespeed-update
lsphp55-debuginfo.x86_64                                                                                                                                      5.5.38-2.el7.centos                                                                                                                            litespeed-update
lsphp55-devel.x86_64                                                                                                                                          5.5.38-2.el7.centos                                                                                                                            litespeed-update
lsphp55-enchant.x86_64                                                                                                                                        5.5.38-2.el7.centos                                                                                                                            litespeed-update
lsphp55-gd.x86_64                                                                                                                                             5.5.38-2.el7.centos                                                                                                                            litespeed-update
lsphp55-gmp.x86_64                                                                                                                                            5.5.38-2.el7.centos                                                                                                                            litespeed-update
lsphp55-imap.x86_64                                                                                                                                           5.5.38-2.el7.centos                                                                                                                            litespeed-update
lsphp55-intl.x86_64                                                                                                                                           5.5.38-2.el7.centos                                                                                                                            litespeed-update
lsphp55-ioncube-loader.x86_64                                                                                                                                 5.0.20-1.el7.centos                                                                                                                            litespeed
lsphp55-ldap.x86_64                                                                                                                                           5.5.38-2.el7.centos                                                                                                                            litespeed-update
lsphp55-mbstring.x86_64                                                                                                                                       5.5.38-2.el7.centos                                                                                                                            litespeed-update
lsphp55-mcrypt.x86_64                                                                                                                                         5.5.38-2.el7.centos                                                                                                                            litespeed-update
lsphp55-mysql.x86_64                                                                                                                                          5.5.38-2.el7.centos                                                                                                                            litespeed-update
lsphp55-mysql56.x86_64                                                                                                                                        5.5.38-2.el7.centos                                                                                                                            litespeed-update
lsphp55-mysqlnd.x86_64                                                                                                                                        5.5.38-2.el7.centos                                                                                                                            litespeed-update
lsphp55-odbc.x86_64                                                                                                                                           5.5.38-2.el7.centos                                                                                                                            litespeed-update
lsphp55-opcache.x86_64                                                                                                                                        5.5.38-2.el7.centos                                                                                                                            litespeed-update
lsphp55-pdo.x86_64                                                                                                                                            5.5.38-2.el7.centos                                                                                                                            litespeed-update
lsphp55-pear.noarch                                                                                                                                           1:1.10.1-1.el7.centos                                                                                                                          litespeed
lsphp55-pecl-apcu.x86_64                                                                                                                                      5.5.38-2.el7.centos                                                                                                                            litespeed-update
lsphp55-pecl-apcu-devel.x86_64                                                                                                                                5.5.38-2.el7.centos                                                                                                                            litespeed-update
lsphp55-pecl-apcu-panel.x86_64                                                                                                                                5.5.38-2.el7.centos                                                                                                                            litespeed-update
lsphp55-pecl-igbinary.x86_64                                                                                                                                  1.2.1-1.el7.centos.5.5                                                                                                                         litespeed
lsphp55-pecl-igbinary-debuginfo.x86_64                                                                                                                        1.2.1-1.el7.centos.5.5                                                                                                                         litespeed
lsphp55-pecl-igbinary-devel.x86_64                                                                                                                            1.2.1-1.el7.centos.5.5                                                                                                                         litespeed
lsphp55-pecl-memcache.x86_64                                                                                                                                  5.5.38-2.el7.centos                                                                                                                            litespeed-update
lsphp55-pecl-memcached.x86_64                                                                                                                                 5.5.38-2.el7.centos                                                                                                                            litespeed-update
lsphp55-pecl-redis.x86_64                                                                                                                                     2.2.7-1.el7.centos                                                                                                                             litespeed
lsphp55-pgsql.x86_64                                                                                                                                          5.5.38-2.el7.centos                                                                                                                            litespeed-update
lsphp55-process.x86_64                                                                                                                                        5.5.38-2.el7.centos                                                                                                                            litespeed-update
lsphp55-pspell.x86_64                                                                                                                                         5.5.38-2.el7.centos                                                                                                                            litespeed-update
lsphp55-recode.x86_64                                                                                                                                         5.5.38-2.el7.centos                                                                                                                            litespeed-update
lsphp55-snmp.x86_64                                                                                                                                           5.5.38-2.el7.centos                                                                                                                            litespeed-update
lsphp55-soap.x86_64                                                                                                                                           5.5.38-2.el7.centos                                                                                                                            litespeed-update
lsphp55-tidy.x86_64                                                                                                                                           5.5.38-2.el7.centos                                                                                                                            litespeed-update
lsphp55-xcache.x86_64                                                                                                                                         5.5.38-2.el7.centos                                                                                                                            litespeed-update
lsphp55-xcache-admin.x86_64                                                                                                                                   5.5.38-2.el7.centos                                                                                                                            litespeed-update
lsphp55-xml.x86_64                                                                                                                                            5.5.38-2.el7.centos                                                                                                                            litespeed-update
lsphp55-xmlrpc.x86_64                                                                                                                                         5.5.38-2.el7.centos                                                                                                                            litespeed-update
lsphp56.x86_64                                                                                                                                                5.6.37-1.el7                                                                                                                                   litespeed
lsphp56-bcmath.x86_64                                                                                                                                         5.6.37-1.el7                                                                                                                                   litespeed
lsphp56-common.x86_64                                                                                                                                         5.6.37-1.el7                                                                                                                                   litespeed
lsphp56-dba.x86_64                                                                                                                                            5.6.37-1.el7                                                                                                                                   litespeed
lsphp56-dbg.x86_64                                                                                                                                            5.6.37-1.el7                                                                                                                                   litespeed
lsphp56-debuginfo.x86_64                                                                                                                                      5.6.37-1.el7                                                                                                                                   litespeed
lsphp56-devel.x86_64                                                                                                                                          5.6.37-1.el7                                                                                                                                   litespeed
lsphp56-enchant.x86_64                                                                                                                                        5.6.37-1.el7                                                                                                                                   litespeed
lsphp56-gd.x86_64                                                                                                                                             5.6.37-1.el7                                                                                                                                   litespeed
lsphp56-gmp.x86_64                                                                                                                                            5.6.37-1.el7                                                                                                                                   litespeed
lsphp56-imap.x86_64                                                                                                                                           5.6.37-1.el7                                                                                                                                   litespeed
lsphp56-intl.x86_64                                                                                                                                           5.6.37-1.el7                                                                                                                                   litespeed
lsphp56-ioncube-loader.x86_64                                                                                                                                 5.0.20-1.el7.centos                                                                                                                            litespeed
lsphp56-ldap.x86_64                                                                                                                                           5.6.37-1.el7                                                                                                                                   litespeed
lsphp56-mbstring.x86_64                                                                                                                                       5.6.37-1.el7                                                                                                                                   litespeed
lsphp56-mcrypt.x86_64                                                                                                                                         5.6.37-1.el7                                                                                                                                   litespeed
lsphp56-mysql.x86_64                                                                                                                                          5.6.37-1.el7                                                                                                                                   litespeed
lsphp56-mysql56.x86_64                                                                                                                                        5.6.29-1.el7.centos                                                                                                                            litespeed
lsphp56-mysqlnd.x86_64                                                                                                                                        5.6.37-1.el7                                                                                                                                   litespeed
lsphp56-odbc.x86_64                                                                                                                                           5.6.37-1.el7                                                                                                                                   litespeed
lsphp56-opcache.x86_64                                                                                                                                        5.6.37-1.el7                                                                                                                                   litespeed
lsphp56-pdo.x86_64                                                                                                                                            5.6.37-1.el7                                                                                                                                   litespeed
lsphp56-pear.noarch                                                                                                                                           1:1.10.1-1.el7.centos                                                                                                                          litespeed
lsphp56-pecl-apcu.x86_64                                                                                                                                      5.6.29-1.el7.centos                                                                                                                            litespeed
lsphp56-pecl-apcu-devel.x86_64                                                                                                                                5.6.29-1.el7.centos                                                                                                                            litespeed
lsphp56-pecl-apcu-panel.x86_64                                                                                                                                5.6.29-1.el7.centos                                                                                                                            litespeed
lsphp56-pecl-igbinary.x86_64                                                                                                                                  2.0.4-1.el7.centos.5.6                                                                                                                         litespeed
lsphp56-pecl-igbinary-debuginfo.x86_64                                                                                                                        2.0.4-1.el7.centos.5.6                                                                                                                         litespeed
lsphp56-pecl-igbinary-devel.x86_64                                                                                                                            2.0.4-1.el7.centos.5.6                                                                                                                         litespeed
lsphp56-pecl-memcache.x86_64                                                                                                                                  5.6.29-1.el7.centos                                                                                                                            litespeed
lsphp56-pecl-memcached.x86_64                                                                                                                                 5.6.29-1.el7.centos                                                                                                                            litespeed
lsphp56-pecl-redis.x86_64                                                                                                                                     3.1.2-1.el7.centos.5.6                                                                                                                         litespeed
lsphp56-pgsql.x86_64                                                                                                                                          5.6.37-1.el7                                                                                                                                   litespeed
lsphp56-process.x86_64                                                                                                                                        5.6.37-1.el7                                                                                                                                   litespeed
lsphp56-pspell.x86_64                                                                                                                                         5.6.37-1.el7                                                                                                                                   litespeed
lsphp56-recode.x86_64                                                                                                                                         5.6.37-1.el7                                                                                                                                   litespeed
lsphp56-snmp.x86_64                                                                                                                                           5.6.37-1.el7                                                                                                                                   litespeed
lsphp56-soap.x86_64                                                                                                                                           5.6.37-1.el7                                                                                                                                   litespeed
lsphp56-tidy.x86_64                                                                                                                                           5.6.37-1.el7                                                                                                                                   litespeed
lsphp56-xcache.x86_64                                                                                                                                         5.6.29-1.el7.centos                                                                                                                            litespeed
lsphp56-xcache-admin.x86_64                                                                                                                                   5.6.29-1.el7.centos                                                                                                                            litespeed
lsphp56-xml.x86_64                                                                                                                                            5.6.37-1.el7                                                                                                                                   litespeed
lsphp56-xmlrpc.x86_64                                                                                                                                         5.6.37-1.el7                                                                                                                                   litespeed
lsphp70.x86_64                                                                                                                                                7.0.31-1.el7                                                                                                                                   litespeed
lsphp70-bcmath.x86_64                                                                                                                                         7.0.31-1.el7                                                                                                                                   litespeed
lsphp70-common.x86_64                                                                                                                                         7.0.31-1.el7                                                                                                                                   litespeed
lsphp70-dba.x86_64                                                                                                                                            7.0.31-1.el7                                                                                                                                   litespeed
lsphp70-dbg.x86_64                                                                                                                                            7.0.31-1.el7                                                                                                                                   litespeed
lsphp70-debuginfo.x86_64                                                                                                                                      7.0.31-1.el7                                                                                                                                   litespeed
lsphp70-devel.x86_64                                                                                                                                          7.0.31-1.el7                                                                                                                                   litespeed
lsphp70-enchant.x86_64                                                                                                                                        7.0.31-1.el7                                                                                                                                   litespeed
lsphp70-gd.x86_64                                                                                                                                             7.0.31-1.el7                                                                                                                                   litespeed
lsphp70-gmp.x86_64                                                                                                                                            7.0.31-1.el7                                                                                                                                   litespeed
lsphp70-imap.x86_64                                                                                                                                           7.0.31-1.el7                                                                                                                                   litespeed
lsphp70-intl.x86_64                                                                                                                                           7.0.31-1.el7                                                                                                                                   litespeed
lsphp70-json.x86_64                                                                                                                                           7.0.31-1.el7                                                                                                                                   litespeed
lsphp70-ldap.x86_64                                                                                                                                           7.0.31-1.el7                                                                                                                                   litespeed
lsphp70-mbstring.x86_64                                                                                                                                       7.0.31-1.el7                                                                                                                                   litespeed
lsphp70-mcrypt.x86_64                                                                                                                                         7.0.31-1.el7                                                                                                                                   litespeed
lsphp70-mysqlnd.x86_64                                                                                                                                        7.0.31-1.el7                                                                                                                                   litespeed
lsphp70-odbc.x86_64                                                                                                                                           7.0.31-1.el7                                                                                                                                   litespeed
lsphp70-opcache.x86_64                                                                                                                                        7.0.31-1.el7                                                                                                                                   litespeed
lsphp70-pdo.x86_64                                                                                                                                            7.0.31-1.el7                                                                                                                                   litespeed
lsphp70-pear.noarch                                                                                                                                           1:1.10.1-1.el7.centos                                                                                                                          litespeed
lsphp70-pecl-apcu.x86_64                                                                                                                                      7.0.18-1.el7.centos.7.0                                                                                                                        litespeed
lsphp70-pecl-apcu-devel.x86_64                                                                                                                                7.0.18-1.el7.centos.7.0                                                                                                                        litespeed
lsphp70-pecl-apcu-panel.x86_64                                                                                                                                7.0.18-1.el7.centos.7.0                                                                                                                        litespeed
lsphp70-pecl-igbinary.x86_64                                                                                                                                  2.0.4-1.el7.centos.7.0                                                                                                                         litespeed
lsphp70-pecl-igbinary-debuginfo.x86_64                                                                                                                        2.0.4-1.el7.centos.7.0                                                                                                                         litespeed
lsphp70-pecl-igbinary-devel.x86_64                                                                                                                            2.0.4-1.el7.centos.7.0                                                                                                                         litespeed
lsphp70-pecl-memcache.x86_64                                                                                                                                  3.0.9-2.el7.centos.7.0                                                                                                                         litespeed-update
lsphp70-pecl-memcached.x86_64                                                                                                                                 3.0.3-1.el7.centos.7.0                                                                                                                         litespeed
lsphp70-pecl-msgpack.x86_64                                                                                                                                   2.0.2-1.el7.centos.7.0                                                                                                                         litespeed
lsphp70-pecl-msgpack-devel.x86_64                                                                                                                             2.0.2-1.el7.centos.7.0                                                                                                                         litespeed
lsphp70-pecl-redis.x86_64                                                                                                                                     3.1.2-1.el7.centos.7.0                                                                                                                         litespeed
lsphp70-pgsql.x86_64                                                                                                                                          7.0.31-1.el7                                                                                                                                   litespeed
lsphp70-process.x86_64                                                                                                                                        7.0.31-1.el7                                                                                                                                   litespeed
lsphp70-pspell.x86_64                                                                                                                                         7.0.31-1.el7                                                                                                                                   litespeed
lsphp70-recode.x86_64                                                                                                                                         7.0.31-1.el7                                                                                                                                   litespeed
lsphp70-snmp.x86_64                                                                                                                                           7.0.31-1.el7                                                                                                                                   litespeed
lsphp70-soap.x86_64                                                                                                                                           7.0.31-1.el7                                                                                                                                   litespeed
lsphp70-tidy.x86_64                                                                                                                                           7.0.31-1.el7                                                                                                                                   litespeed
lsphp70-xml.x86_64                                                                                                                                            7.0.31-1.el7                                                                                                                                   litespeed
lsphp70-xmlrpc.x86_64                                                                                                                                         7.0.31-1.el7                                                                                                                                   litespeed
lsphp70-zip.x86_64                                                                                                                                            7.0.31-1.el7                                                                                                                                   litespeed
lsphp71.x86_64                                                                                                                                                7.1.20-1.el7                                                                                                                                   litespeed
lsphp71-bcmath.x86_64                                                                                                                                         7.1.20-1.el7                                                                                                                                   litespeed
lsphp71-common.x86_64                                                                                                                                         7.1.20-1.el7                                                                                                                                   litespeed
lsphp71-dba.x86_64                                                                                                                                            7.1.20-1.el7                                                                                                                                   litespeed
lsphp71-dbg.x86_64                                                                                                                                            7.1.20-1.el7                                                                                                                                   litespeed
lsphp71-debuginfo.x86_64                                                                                                                                      7.1.20-1.el7                                                                                                                                   litespeed
lsphp71-devel.x86_64                                                                                                                                          7.1.20-1.el7                                                                                                                                   litespeed
lsphp71-enchant.x86_64                                                                                                                                        7.1.20-1.el7                                                                                                                                   litespeed
lsphp71-gd.x86_64                                                                                                                                             7.1.20-1.el7                                                                                                                                   litespeed
lsphp71-gmp.x86_64                                                                                                                                            7.1.20-1.el7                                                                                                                                   litespeed
lsphp71-imap.x86_64                                                                                                                                           7.1.20-1.el7                                                                                                                                   litespeed
lsphp71-intl.x86_64                                                                                                                                           7.1.20-1.el7                                                                                                                                   litespeed
lsphp71-json.x86_64                                                                                                                                           7.1.20-1.el7                                                                                                                                   litespeed
lsphp71-ldap.x86_64                                                                                                                                           7.1.20-1.el7                                                                                                                                   litespeed
lsphp71-mbstring.x86_64                                                                                                                                       7.1.20-1.el7                                                                                                                                   litespeed
lsphp71-mcrypt.x86_64                                                                                                                                         7.1.20-1.el7                                                                                                                                   litespeed
lsphp71-mysqlnd.x86_64                                                                                                                                        7.1.20-1.el7                                                                                                                                   litespeed
lsphp71-odbc.x86_64                                                                                                                                           7.1.20-1.el7                                                                                                                                   litespeed
lsphp71-opcache.x86_64                                                                                                                                        7.1.20-1.el7                                                                                                                                   litespeed
lsphp71-pdo.x86_64                                                                                                                                            7.1.20-1.el7                                                                                                                                   litespeed
lsphp71-pear.noarch                                                                                                                                           1:1.10.1-1.el7.centos                                                                                                                          litespeed
lsphp71-pecl-apcu.x86_64                                                                                                                                      5.1.8-1.el7.centos.7.1                                                                                                                         litespeed
lsphp71-pecl-apcu-devel.x86_64                                                                                                                                5.1.8-1.el7.centos.7.1                                                                                                                         litespeed
lsphp71-pecl-apcu-panel.x86_64                                                                                                                                5.1.8-1.el7.centos.7.1                                                                                                                         litespeed
lsphp71-pecl-igbinary.x86_64                                                                                                                                  2.0.4-1.el7.centos.7.1                                                                                                                         litespeed
lsphp71-pecl-igbinary-debuginfo.x86_64                                                                                                                        2.0.4-1.el7.centos.7.1                                                                                                                         litespeed
lsphp71-pecl-igbinary-devel.x86_64                                                                                                                            2.0.4-1.el7.centos.7.1                                                                                                                         litespeed
lsphp71-pecl-memcache.x86_64                                                                                                                                  3.0.9-1.el7.centos.7.1                                                                                                                         litespeed
lsphp71-pecl-memcached.x86_64                                                                                                                                 3.0.3-1.el7.centos.7.1                                                                                                                         litespeed
lsphp71-pecl-msgpack.x86_64                                                                                                                                   2.0.2-1.el7.centos.7.1                                                                                                                         litespeed
lsphp71-pecl-msgpack-devel.x86_64                                                                                                                             2.0.2-1.el7.centos.7.1                                                                                                                         litespeed
lsphp71-pecl-redis.x86_64                                                                                                                                     3.1.2-1.el7.centos.7.1                                                                                                                         litespeed
lsphp71-pgsql.x86_64                                                                                                                                          7.1.20-1.el7                                                                                                                                   litespeed
lsphp71-process.x86_64                                                                                                                                        7.1.20-1.el7                                                                                                                                   litespeed
lsphp71-pspell.x86_64                                                                                                                                         7.1.20-1.el7                                                                                                                                   litespeed
lsphp71-recode.x86_64                                                                                                                                         7.1.20-1.el7                                                                                                                                   litespeed
lsphp71-snmp.x86_64                                                                                                                                           7.1.20-1.el7                                                                                                                                   litespeed
lsphp71-soap.x86_64                                                                                                                                           7.1.20-1.el7                                                                                                                                   litespeed
lsphp71-tidy.x86_64                                                                                                                                           7.1.20-1.el7                                                                                                                                   litespeed
lsphp71-xml.x86_64                                                                                                                                            7.1.20-1.el7                                                                                                                                   litespeed
lsphp71-xmlrpc.x86_64                                                                                                                                         7.1.20-1.el7                                                                                                                                   litespeed
lsphp71-zip.x86_64                                                                                                                                            7.1.20-1.el7                                                                                                                                   litespeed
lsphp72.x86_64                                                                                                                                                7.2.8-1.el7                                                                                                                                    litespeed
lsphp72-bcmath.x86_64                                                                                                                                         7.2.8-1.el7                                                                                                                                    litespeed
lsphp72-common.x86_64                                                                                                                                         7.2.8-1.el7                                                                                                                                    litespeed
lsphp72-dba.x86_64                                                                                                                                            7.2.8-1.el7                                                                                                                                    litespeed
lsphp72-dbg.x86_64                                                                                                                                            7.2.8-1.el7                                                                                                                                    litespeed
lsphp72-debuginfo.x86_64                                                                                                                                      7.2.8-1.el7                                                                                                                                    litespeed
lsphp72-devel.x86_64                                                                                                                                          7.2.8-1.el7                                                                                                                                    litespeed
lsphp72-enchant.x86_64                                                                                                                                        7.2.8-1.el7                                                                                                                                    litespeed
lsphp72-gd.x86_64                                                                                                                                             7.2.8-1.el7                                                                                                                                    litespeed
lsphp72-gmp.x86_64                                                                                                                                            7.2.8-1.el7                                                                                                                                    litespeed
lsphp72-imap.x86_64                                                                                                                                           7.2.8-1.el7                                                                                                                                    litespeed
lsphp72-intl.x86_64                                                                                                                                           7.2.8-1.el7                                                                                                                                    litespeed
lsphp72-json.x86_64                                                                                                                                           7.2.8-1.el7                                                                                                                                    litespeed
lsphp72-ldap.x86_64                                                                                                                                           7.2.8-1.el7                                                                                                                                    litespeed
lsphp72-mbstring.x86_64                                                                                                                                       7.2.8-1.el7                                                                                                                                    litespeed
lsphp72-mysqlnd.x86_64                                                                                                                                        7.2.8-1.el7                                                                                                                                    litespeed
lsphp72-odbc.x86_64                                                                                                                                           7.2.8-1.el7                                                                                                                                    litespeed
lsphp72-opcache.x86_64                                                                                                                                        7.2.8-1.el7                                                                                                                                    litespeed
lsphp72-pdo.x86_64                                                                                                                                            7.2.8-1.el7                                                                                                                                    litespeed
lsphp72-pear.noarch                                                                                                                                           1:1.10.5-1.el7.centos                                                                                                                          litespeed
lsphp72-pecl-apcu.x86_64                                                                                                                                      5.1.8-1.el7.centos.7.2                                                                                                                         litespeed
lsphp72-pecl-apcu-devel.x86_64                                                                                                                                5.1.8-1.el7.centos.7.2                                                                                                                         litespeed
lsphp72-pecl-apcu-panel.x86_64                                                                                                                                5.1.8-1.el7.centos.7.2                                                                                                                         litespeed
lsphp72-pecl-igbinary.x86_64                                                                                                                                  2.0.5-1.el7.centos.7.2                                                                                                                         litespeed
lsphp72-pecl-igbinary-debuginfo.x86_64                                                                                                                        2.0.5-1.el7.centos.7.2                                                                                                                         litespeed
lsphp72-pecl-igbinary-devel.x86_64                                                                                                                            2.0.5-1.el7.centos.7.2                                                                                                                         litespeed
lsphp72-pecl-mcrypt.x86_64                                                                                                                                    1.0.1-1.el7.centos.7.2                                                                                                                         litespeed
lsphp72-pecl-mcrypt-debuginfo.x86_64                                                                                                                          1.0.1-1.el7.centos.7.2                                                                                                                         litespeed
lsphp72-pecl-memcache.x86_64                                                                                                                                  3.0.9-1.el7.centos.7.2                                                                                                                         litespeed
lsphp72-pecl-memcached.x86_64                                                                                                                                 3.0.4-1.el7.centos.7.2                                                                                                                         litespeed
lsphp72-pecl-msgpack.x86_64                                                                                                                                   2.0.2-1.el7.centos.7.2                                                                                                                         litespeed
lsphp72-pecl-msgpack-devel.x86_64                                                                                                                             2.0.2-1.el7.centos.7.2                                                                                                                         litespeed
lsphp72-pecl-redis.x86_64                                                                                                                                     3.1.5-1.el7.centos.7.2                                                                                                                         litespeed
lsphp72-pgsql.x86_64                                                                                                                                          7.2.8-1.el7                                                                                                                                    litespeed
lsphp72-process.x86_64                                                                                                                                        7.2.8-1.el7                                                                                                                                    litespeed
lsphp72-pspell.x86_64                                                                                                                                         7.2.8-1.el7                                                                                                                                    litespeed
lsphp72-recode.x86_64                                                                                                                                         7.2.8-1.el7                                                                                                                                    litespeed
lsphp72-snmp.x86_64                                                                                                                                           7.2.8-1.el7                                                                                                                                    litespeed
lsphp72-soap.x86_64                                                                                                                                           7.2.8-1.el7                                                                                                                                    litespeed
lsphp72-tidy.x86_64                                                                                                                                           7.2.8-1.el7                                                                                                                                    litespeed
lsphp72-xml.x86_64                                                                                                                                            7.2.8-1.el7                                                                                                                                    litespeed
lsphp72-xmlrpc.x86_64                                                                                                                                         7.2.8-1.el7                                                                                                                                    litespeed
lsphp72-zip.x86_64                                                                                                                                            7.2.8-1.el7                                                                                                                                    litespeed
lsscsi.x86_64                                                                                                                                                 0.27-6.el7                                                                                                                                     base
lsws.x86_64                                                                                                                                                   5.2.8-6.el7                                                                                                                                    litespeed-update
lsws-cpanel.x86_64                                                                                                                                            4.2.23-1.el7.centos                                                                                                                            litespeed
lsws-whm-plugin.noarch                                                                                                                                        2.1.5-1.el7.centos                                                                                                                             litespeed
lsyncd.x86_64                                                                                                                                                 2.2.2-1.el7                                                                                                                                    epel
[root@ik1-343-31745 ~]#

PHPも一緒にインストールできるみたいです。これはラッキー

LiteSpeed Web Server をインストール

WEBサーバーのインストールをしてみます

[root@ik1-343-31745 ~]# yum install openlitespeed
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
 * base: ftp.iij.ad.jp
 * epel: mirror.dmmlabs.jp
 * extras: ftp.iij.ad.jp
 * updates: ftp.iij.ad.jp
Resolving Dependencies
--> Running transaction check
---> Package openlitespeed.x86_64 0:1.4.35-1.el7 will be installed
--> Processing Dependency: geoip for package: openlitespeed-1.4.35-1.el7.x86_64
--> Running transaction check
---> Package GeoIP.x86_64 0:1.5.0-11.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

=============================================================================================================================================================================================================================================================================================================================
 Package                                                                         Arch                                                                     Version                                                                          Repository                                                                   Size
=============================================================================================================================================================================================================================================================================================================================
Installing:
 openlitespeed                                                                   x86_64                                                                   1.4.35-1.el7                                                                     litespeed                                                                    27 M
Installing for dependencies:
 GeoIP                                                                           x86_64                                                                   1.5.0-11.el7                                                                     base                                                                        1.1 M

Transaction Summary
=============================================================================================================================================================================================================================================================================================================================
Install  1 Package (+1 Dependent package)

Total download size: 28 M
Installed size: 116 M
Is this ok [y/d/N]: y
Downloading packages:
(1/2): GeoIP-1.5.0-11.el7.x86_64.rpm                                                                                                                                                                                                                                                                  | 1.1 MB  00:00:00
(2/2): openlitespeed-1.4.35-1.el7.x86_64.rpm                                                                                                                                                                                                                                                          |  27 MB  00:00:08
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                                                                                                                                                                                        3.3 MB/s |  28 MB  00:00:08
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Warning: RPMDB altered outside of yum.
** Found 1 pre-existing rpmdb problem(s), 'yum check' output follows:
kmod-kvdo-6.1.0.171-17.el7_5.x86_64 has installed conflicts kmod-kvdo: kmod-kvdo-6.1.0.171-17.el7_5.x86_64
  Installing : GeoIP-1.5.0-11.el7.x86_64                                                                                                                                                                                                                                                                                 1/2
  Installing : openlitespeed-1.4.35-1.el7.x86_64                                                                                                                                                                                                                                                                         2/2
Certificate Request:
    Data:
        Version: 0 (0x0)
        Subject: C=US, ST=New Jersey, L=Virtual, O=LiteSpeedCommunity, OU=Testing, CN=webadmin
        Subject Public Key Info:
            Public Key Algorithm: rsaEncryption
                Public-Key: (2048 bit)
                Modulus:
                    00:b7:ba:ab:3f:89:d5:d4:55:84:66:c9:3e:e5:92:
                    3b:bf:9b:06:e2:8c:dd:4a:69:4e:e8:f4:e5:34:d9:
                    fe:db:64:7e:a9:66:15:e5:d9:76:fa:5b:41:f2:fd:
                    2d:ed:f0:ef:3f:b5:ea:b2:11:a0:0a:08:0a:5d:a4:
                    a3:b9:31:e3:7b:16:c3:81:c2:df:25:f2:47:33:85:
                    78:4d:64:fe:d7:b9:e5:7a:be:a9:4a:f4:d3:21:e2:
                    a3:d4:47:c2:1b:48:fb:c4:be:fd:88:a0:7a:70:33:
                    31:74:0c:bc:2c:ed:53:c6:5d:b5:c0:16:7e:96:79:
                    c8:fa:03:61:f4:f2:f9:db:da:35:99:d7:bc:0c:d1:
                    d2:be:d5:b9:ab:76:d7:19:8a:58:3f:5b:14:52:d2:
                    37:b6:19:7e:fb:3e:5c:0e:a8:01:fa:a3:41:27:1b:
                    55:31:9e:0d:dc:3d:ad:bf:fc:d1:64:a5:0d:b1:23:
                    b0:01:3e:ab:36:59:eb:b1:04:85:91:56:49:c7:e7:
                    ad:1d:6e:d9:97:ea:a8:be:15:c4:26:1b:cf:99:9d:
                    1e:d0:9e:a0:13:53:34:93:20:c2:4d:43:fe:c7:a7:
                    44:b2:5a:a1:1e:93:fc:1c:7e:96:6a:67:ef:70:14:
                    01:6e:16:3b:0c:8e:c8:08:3d:6a:bb:ed:3a:39:e9:
                    8d:83
                Exponent: 65537 (0x10001)
        Attributes:
            a0:00
    Signature Algorithm: sha256WithRSAEncryption
         78:26:1c:8e:f2:63:87:cc:05:43:69:79:c0:8d:b8:ef:1d:80:
         be:27:d9:5f:5e:7d:12:db:64:3a:58:cc:c2:5c:a9:fc:be:e7:
         f4:05:05:ab:e4:93:de:1e:84:8c:cb:a8:20:2d:84:dd:85:32:
         d7:1a:7f:09:6b:9e:50:e8:4b:62:4c:7f:f1:67:7e:8d:95:21:
         86:08:95:24:cd:4e:b5:e2:75:f2:66:02:87:38:9b:f6:e0:57:
         16:a0:b9:1f:a5:2d:76:9c:fd:a5:91:24:d5:68:a9:20:1f:80:
         3d:86:5e:be:a2:34:80:29:c3:2c:1d:df:33:e5:9c:59:cb:88:
         db:fe:f5:9c:27:06:23:00:1a:89:65:0b:e4:5d:8e:5d:65:fc:
         20:2e:6c:1e:15:49:16:84:38:c4:ed:dd:08:36:ef:86:24:97:
         30:58:6c:74:12:97:d2:f3:a9:6f:32:f4:b6:ae:80:2c:f3:9d:
         d6:f9:2a:5f:5e:e4:98:16:9e:99:46:f1:ca:e1:9a:0b:d7:68:
         d7:49:12:24:82:7c:65:cd:db:6f:6b:3a:0d:88:d8:21:86:1a:
         aa:fc:ed:55:00:ce:2a:03:51:3f:aa:56:13:3c:ab:8c:00:70:
         12:c9:54:46:4e:b7:16:86:96:91:65:c8:23:59:41:09:96:07:
         a0:93:a1:c5
  Verifying  : openlitespeed-1.4.35-1.el7.x86_64                                                                                                                                                                                                                                                                         1/2
  Verifying  : GeoIP-1.5.0-11.el7.x86_64                                                                                                                                                                                                                                                                                 2/2

Installed:
  openlitespeed.x86_64 0:1.4.35-1.el7

Dependency Installed:
  GeoIP.x86_64 0:1.5.0-11.el7

Complete!
[root@ik1-343-31745 ~]#

無事インストールできたみたいです

LiteSpeed Web Server の起動と自動起動設定

WEBサーバーの起動と自動設定をします。service コマンドの方が使われるみたいです。

[root@ik1-343-31745 ~]# service lsws start #起動
[root@ik1-343-31745 ~]# service lsws stop #停止
[root@ik1-343-31745 ~]# chkconfig lsws on #自動起動on

firewalld設定

80、443と管理用7080を許可します

[root@ik1-343-31745 ~]# firewall-cmd --add-port=80/tcp --permanent
success
[root@ik1-343-31745 ~]# firewall-cmd --add-port=443/tcp --permanent
success
[root@ik1-343-31745 ~]# firewall-cmd --add-port=7080/tcp --permanent
success
[root@ik1-343-31745 ~]# firewall-cmd --reload
success
[root@ik1-343-31745 ~]#
[c]
  
設定が反映されているか確認します
[c]
[root@ik1-343-31745 ~]# firewall-cmd --list-ports --zone=public
443/tcp 80/tcp 7080/tcp
[root@ik1-343-31745 ~]#

問題無さそうです

管理画面にアクセスできるか確認

まずは管理画面にアクセスしてみます。https://IPアドレス:7080/login.php でログイン画面が表示できます。管理画面はPHPでできているみたいですね。

パスワードの変更

デフォルトの設定だと以下になります

  • admin
  • 123456

さすがにこれはハッキングしてくれといっているようなものです。例えばツールを使ってWEBサーバーがLiteSpeedだとわかれば、IPアドレス:7080と入れてくる可能性もあります。デフォルトのままだと結構怖いので変更します。ユーザー名とパスワードの変更は LiteSpeed Web Server 付属の admpass.sh スクリプトで行います。

[root@ik1-343-31745 ~]# /usr/local/lsws/admin/misc/admpass.sh

Please specify the user name of administrator.
This is the user name required to login the administration Web interface.

User name [admin]: admin

Please specify the administrator's password.
This is the password required to login the administration Web interface.

Password:
Retype password:
Administrator's username/password is updated successfully!
[root@ik1-343-31745 ~]#

ここではユーザー名はそのままでパスワードだけ変更しました

管理画面でポート変更

管理画面にログインをしたら、まずは英語なので日本語にします。デフォルトで日本語なのもありがたいです。

日本語へ変更

ダッシュボードの右側に言語設定があるので、それを日本語に変更します

ポート変更

リスナーをクリックして、リスナー名Defaultをクリックします

一般タブの編集ボタンをクリックして、ポートを80にします

保存をして再起動します

再起動もブラウザから行えます。リロードボタンを押すだけでできます

WEBページを表示

http://IPアドレス/ に接続してウエルカムページがでれば成功です

個人支援・寄付について

サイトラボでは個人支援・寄付を受けております。ご協力いただける方はお願いいたします。当サイトではビットコインで受け付けております。

  • ビットコイン:3LHnADwZwUbic2L45EnVJEykiG6KfbqrwS