両方とも前のリビジョン 前のリビジョン 次のリビジョン | 前のリビジョン |
linux:podman:openlitespeed [2025/02/25 09:24] – [firewall の設定] ともやん | linux:podman:openlitespeed [2025/03/20 04:34] (現在) – [lsphp83 パッケージ一覧] ともやん |
---|
[[https://docs.litespeedtech.com/cloud/docker/openlitespeed/|OLS | Docker | Cloud | LiteSpeed Documentation]] [[gtr>https://docs.litespeedtech.com/cloud/docker/openlitespeed/|翻訳]]\\ | [[https://docs.litespeedtech.com/cloud/docker/openlitespeed/|OLS | Docker | Cloud | LiteSpeed Documentation]] [[gtr>https://docs.litespeedtech.com/cloud/docker/openlitespeed/|翻訳]]\\ |
ソースコード: [[git>litespeedtech/ols-dockerfiles|litespeedtech/ols-dockerfiles]] [[gtr>https://github.com/litespeedtech/ols-dockerfiles|翻訳]]\\ | ソースコード: [[git>litespeedtech/ols-dockerfiles|litespeedtech/ols-dockerfiles]] [[gtr>https://github.com/litespeedtech/ols-dockerfiles|翻訳]]\\ |
| <WRAP zoomimg w600 x1_2> |
| {{:linux:podman:openlitespeed_podman_001.png?720|OpenLiteSpeed 001}} |
| </WRAP> |
| |
===== インストール ===== | ===== インストール ===== |
<WRAP color_term> | <WRAP color_term> |
<WRAP color_command><html><pre> | <WRAP color_command><html><pre> |
<font color="#0087FF"><b>$</b></font> <font color="#26A269">mkdir</font> tomoyan-net <font color="#12488B"><b>&&</b></font> <font color="#26A269">cd</font> tomoyan-net | <font color="#0087FF"><b>$</b></font> <font color="#26A269">mkdir</font> tomoyan.net <font color="#12488B"><b>&&</b></font> <font color="#26A269">cd</font> tomoyan.net |
</pre></html></WRAP> | </pre></html></WRAP> |
</WRAP> | </WRAP> |
| |
| |
podman compose の定義...🤔\\ | podman compose の定義...🤔\\ |
<WRAP color_term> | <WRAP color_term> |
<WRAP color_command><html><pre> | <WRAP color_command><html><pre> |
| <font color="#0087FF"><b>$</b></font> <font color="#26A269">cat</font> <font color="#2A7BDE"><b><<</b></font> <font color="#A2734C">'EOF'</font> <font color="#2A7BDE"><b>></b></font> container-compose.yaml |
| </pre></html></WRAP> |
| <WRAP color_result><html><pre> |
<font color="#FF5F5F">services</font><font color="#FFFFFF">:</font> | <font color="#FF5F5F">services</font><font color="#FFFFFF">:</font> |
<font color="#FFFFFF"> </font><font color="#FF5F5F">litespeed</font><font color="#FFFFFF">:</font> | <font color="#FFFFFF"> </font><font color="#FF5F5F">litespeed</font><font color="#FFFFFF">:</font> |
<font color="#FFFFFF"> </font><font color="#FF5F5F">networks</font><font color="#FFFFFF">:</font> | <font color="#FFFFFF"> </font><font color="#FF5F5F">networks</font><font color="#FFFFFF">:</font> |
<font color="#FFFFFF"> - </font><font color="#D7D787">default</font> | <font color="#FFFFFF"> - </font><font color="#D7D787">default</font> |
| <font color="#F66151"><b>EOF</b></font> |
</pre></html></WRAP> | </pre></html></WRAP> |
</WRAP> | </WRAP> |
<WRAP color_term> | <WRAP color_term> |
<WRAP color_command><html><pre> | <WRAP color_command><html><pre> |
<font color="#0087FF"><b>$</b></font> <font color="#26A269">cat</font> <font color="#12488B"><b><<</b></font> EOF <font color="#12488B"><b>></b></font> .env | <font color="#0087FF"><b>$</b></font> <font color="#26A269">cat</font> <font color="#2A7BDE"><b><<</b></font> <font color="#A2734C">'EOF'</font> <font color="#2A7BDE"><b>></b></font> .env |
</pre></html></WRAP> | </pre></html></WRAP> |
<WRAP color_mincmd><html><pre> | <WRAP color_mincmd><html><pre> |
<font color="#FFFFFF">TimeZone</font><font color="#FF5F5F">=</font><font color="#FFFFFF">Asia/Tokyo</font> | <font color="#FFFFFF">TimeZone</font><font color="#FF5F5F">=</font><font color="#FFFFFF">Asia/Tokyo</font> |
<font color="#FFFFFF">OLS_VERSION</font><font color="#FF5F5F">=</font><font color="#AF87FF">1.8.2</font> | <font color="#FFFFFF">OLS_VERSION</font><font color="#FF5F5F">=</font><font color="#AF87FF">1.8.3</font> |
<font color="#FFFFFF">PHP_VERSION</font><font color="#FF5F5F">=</font><font color="#FFFFFF">lsphp83</font> | <font color="#FFFFFF">PHP_VERSION</font><font color="#FF5F5F">=</font><font color="#FFFFFF">lsphp83</font> |
EOF | <font color="#F66151"><b>EOF</b></font> |
</pre></html></WRAP> | </pre></html></WRAP> |
</WRAP> | </WRAP> |
<WRAP color_term> | <WRAP color_term> |
<WRAP color_command><html><pre> | <WRAP color_command><html><pre> |
<font color="#0087FF"><b>$</b></font> <font color="#26A269">podman</font> compose up | <font color="#0087FF"><b>$</b></font> <font color="#26A269">podman</font> compose up <font color="#A347BA">-d</font> |
</pre></html></WRAP> | </pre></html></WRAP> |
<WRAP color_result><html><pre> | <WRAP color_result><html><pre> |
<u style="text-decoration-style:solid">>>>> Executing external compose provider "/usr/libexec/docker/cli-plugins/docker-compose". Please see podman-compose(1) for how to disable this message. <<<<</u> | e1868e93c6de591f7b4e85418b0d30cfcb453d76ffdaf64aee92d09ccbb3c906 |
| litespeed |
| </pre></html></WRAP> |
| </WRAP> |
| |
| [[http://localhost:7080]] - LiteSpeed WebAdmin Console\\ |
| [[http://localhost:8088]] - Welcome Example\\ |
| |
| === 自動作成されるディレクトリ階層🤔 === |
| <WRAP color_term> |
| <WRAP color_command><html><pre> |
| <font color="#0087FF"><b>$</b></font> <font color="#26A269"><u style="text-decoration-style:solid">sudo</u></font> <font color="#26A269">tree</font> <font color="#A347BA">-u</font> <font color="#A347BA">--du</font> |
| </pre></html></WRAP> |
| <WRAP color_result_long><html><pre> |
| [tomoyan 136183] <font color="#2A7BDE"><b>.</b></font> |
| ├── [tomoyan 0] <font color="#2A7BDE"><b>acme</b></font> |
| ├── [tomoyan 18] <font color="#2A7BDE"><b>bin</b></font> |
| │ └── [tomoyan 0] <font color="#2A7BDE"><b>container</b></font> |
| ├── [tomoyan 608] container-compose.yaml |
| ├── [tomoyan 40708] <font color="#2A7BDE"><b>logs</b></font> |
| │ ├── [165533 0] access.log |
| │ ├── [165533 40148] error.log |
| │ ├── [tomoyan 476] lsrestart.log |
| │ └── [165533 0] stderr.log |
| ├── [tomoyan 94757] <font color="#2A7BDE"><b>lsws</b></font> |
| │ ├── [100993 46166] <font color="#2A7BDE"><b>admin-conf</b></font> |
| │ │ ├── [100993 648] admin_config.conf |
| │ │ ├── [tomoyan 489] admin_config.conf.txt |
| │ │ ├── [tomoyan 648] admin_config.conf0 |
| │ │ ├── [100993 41] htpasswd |
| │ │ ├── [100993 529] jcryption_keypair |
| │ │ ├── [100993 38186] php.ini |
| │ │ ├── [tomoyan 2075] quic-cloud-ips |
| │ │ ├── [100993 1590] webadmin.crt |
| │ │ └── [100993 1708] webadmin.key |
| │ └── [100992 48563] <font color="#2A7BDE"><b>conf</b></font> |
| │ ├── [100992 0] <font color="#2A7BDE"><b>cert</b></font> |
| │ ├── [100992 8136] <font color="#33D17A"><b>httpd_config.conf</b></font> |
| │ ├── [100992 5346] <font color="#33D17A"><b>httpd_config.conf.txt</b></font> |
| │ ├── [100992 8136] <font color="#33D17A"><b>httpd_config.conf0</b></font> |
| │ ├── [100992 5123] <font color="#33D17A"><b>mime.properties</b></font> |
| │ ├── [tomoyan 5123] <font color="#33D17A"><b>mime.properties0</b></font> |
| │ ├── [100992 11499] <font color="#2A7BDE"><b>templates</b></font> |
| │ │ ├── [100992 1274] <font color="#33D17A"><b>ccl.conf</b></font> |
| │ │ ├── [tomoyan 1538] ccl.conf.txt |
| │ │ ├── [tomoyan 1274] <font color="#33D17A"><b>ccl.conf0</b></font> |
| │ │ ├── [100992 1208] <font color="#33D17A"><b>docker.conf</b></font> |
| │ │ ├── [tomoyan 1093] docker.conf.txt |
| │ │ ├── [tomoyan 1208] <font color="#33D17A"><b>docker.conf0</b></font> |
| │ │ ├── [100992 1154] <font color="#33D17A"><b>rails.conf</b></font> |
| │ │ ├── [tomoyan 1392] rails.conf.txt |
| │ │ └── [tomoyan 1154] <font color="#33D17A"><b>rails.conf0</b></font> |
| │ └── [100992 4988] <font color="#2A7BDE"><b>vhosts</b></font> |
| │ └── [100992 4974] <font color="#2A7BDE"><b>Example</b></font> |
| │ ├── [100992 64] <font color="#33D17A"><b>htgroup</b></font> |
| │ ├── [100992 39] <font color="#33D17A"><b>htpasswd</b></font> |
| │ ├── [100992 1517] <font color="#33D17A"><b>vhconf.conf</b></font> |
| │ ├── [tomoyan 1731] vhconf.conf.txt |
| │ └── [tomoyan 1517] <font color="#33D17A"><b>vhconf.conf0</b></font> |
| └── [tomoyan 0] <font color="#2A7BDE"><b>sites</b></font> |
| |
| 386846 bytes used in 13 directories, 33 files |
| </pre></html></WRAP> |
| </WRAP> |
| |
| === lsphp83 パッケージ一覧 === |
| <WRAP color_term> |
| <WRAP color_command><html><pre> |
| <font color="#0087FF"><b>$</b></font> <font color="#26A269"><u style="text-decoration-style:solid">sudo</u></font> <font color="#26A269">dnf</font> search lsphp83 |
| </pre></html></WRAP> |
| <WRAP color_result_long><html><pre> |
| Last metadata expiration check: 0:02:10 ago on Sun Mar 16 12:39:48 2025. |
| ========================================== Name Exactly Matched: lsphp83 ========================================== |
| <font color="#C061CB"><b>lsphp83</b></font>.x86_64 : PHP scripting language for creating dynamic web sites |
| ========================================= Name & Summary Matched: lsphp83 ========================================= |
| <font color="#C061CB"><b>lsphp83</b></font>-debugsource.x86_64 : Debug sources for package <font color="#C061CB"><b>lsphp83</b></font> |
| <font color="#C061CB"><b>lsphp83</b></font>-pecl-igbinary-debugsource.x86_64 : Debug sources for package <font color="#C061CB"><b>lsphp83</b></font>-pecl-igbinary |
| <font color="#C061CB"><b>lsphp83</b></font>-pecl-imagick-debugsource.x86_64 : Debug sources for package <font color="#C061CB"><b>lsphp83</b></font>-pecl-imagick |
| ============================================== Name Matched: lsphp83 ============================================== |
| <font color="#C061CB"><b>lsphp83</b></font>-bcmath.x86_64 : A module for PHP applications for using the bcmath library |
| <font color="#C061CB"><b>lsphp83</b></font>-common.x86_64 : Common files for PHP |
| <font color="#C061CB"><b>lsphp83</b></font>-dba.x86_64 : A database abstraction layer module for PHP applications |
| <font color="#C061CB"><b>lsphp83</b></font>-dbg.x86_64 : The interactive PHP debugger |
| <font color="#C061CB"><b>lsphp83</b></font>-devel.x86_64 : Files needed for building PHP extensions |
| <font color="#C061CB"><b>lsphp83</b></font>-enchant.x86_64 : Enchant spelling extension for PHP applications |
| <font color="#C061CB"><b>lsphp83</b></font>-gd.x86_64 : A module for PHP applications for using the gd graphics library |
| <font color="#C061CB"><b>lsphp83</b></font>-gmp.x86_64 : A module for PHP applications for using the GNU MP library |
| <font color="#C061CB"><b>lsphp83</b></font>-imap.x86_64 : A module for PHP applications that use IMAP |
| <font color="#C061CB"><b>lsphp83</b></font>-intl.x86_64 : Internationalization extension for PHP applications |
| <font color="#C061CB"><b>lsphp83</b></font>-ldap.x86_64 : A module for PHP applications that use LDAP |
| <font color="#C061CB"><b>lsphp83</b></font>-mbstring.x86_64 : A module for PHP applications which need multi-byte string handling |
| <font color="#C061CB"><b>lsphp83</b></font>-mysqlnd.x86_64 : A module for PHP applications that use MySQL databases |
| <font color="#C061CB"><b>lsphp83</b></font>-odbc.x86_64 : A module for PHP applications that use ODBC databases |
| <font color="#C061CB"><b>lsphp83</b></font>-opcache.x86_64 : The Zend OPcache |
| <font color="#C061CB"><b>lsphp83</b></font>-pdo.x86_64 : A database access abstraction module for PHP applications |
| <font color="#C061CB"><b>lsphp83</b></font>-pear.noarch : PHP Extension and Application Repository framework |
| <font color="#C061CB"><b>lsphp83</b></font>-pecl-apcu.x86_64 : APC User Cache |
| <font color="#C061CB"><b>lsphp83</b></font>-pecl-apcu-devel.x86_64 : APCu developer files (header) |
| <font color="#C061CB"><b>lsphp83</b></font>-pecl-apcu-panel.x86_64 : APCu control panel |
| <font color="#C061CB"><b>lsphp83</b></font>-pecl-igbinary.x86_64 : Replacement for the standard PHP serializer |
| <font color="#C061CB"><b>lsphp83</b></font>-pecl-igbinary-devel.x86_64 : Igbinary developer files (header) |
| <font color="#C061CB"><b>lsphp83</b></font>-pecl-imagick.x86_64 : Extension to create and modify images using ImageMagick |
| <font color="#C061CB"><b>lsphp83</b></font>-pecl-imagick-devel.x86_64 : imagick extension developer files (header) |
| <font color="#C061CB"><b>lsphp83</b></font>-pecl-memcached.x86_64 : Extension to work with the Memcached caching daemon |
| <font color="#C061CB"><b>lsphp83</b></font>-pecl-msgpack.x86_64 : API for communicating with MessagePack serialization |
| <font color="#C061CB"><b>lsphp83</b></font>-pecl-msgpack-devel.x86_64 : MessagePack developer files (header) |
| <font color="#C061CB"><b>lsphp83</b></font>-pecl-redis.x86_64 : Extension for communicating with the Redis key-value store |
| <font color="#C061CB"><b>lsphp83</b></font>-pgsql.x86_64 : A PostgreSQL database module for PHP |
| <font color="#C061CB"><b>lsphp83</b></font>-process.x86_64 : Modules for PHP script using system process interfaces |
| <font color="#C061CB"><b>lsphp83</b></font>-pspell.x86_64 : A module for PHP applications for using pspell interfaces |
| <font color="#C061CB"><b>lsphp83</b></font>-snmp.x86_64 : A module for PHP applications that query SNMP-managed devices |
| <font color="#C061CB"><b>lsphp83</b></font>-soap.x86_64 : A module for PHP applications that use the SOAP protocol |
| <font color="#C061CB"><b>lsphp83</b></font>-sodium.x86_64 : Wrapper for the Sodium cryptographic library |
| <font color="#C061CB"><b>lsphp83</b></font>-tidy.x86_64 : Standard PHP module provides tidy library support |
| <font color="#C061CB"><b>lsphp83</b></font>-xml.x86_64 : A module for PHP applications which use XML |
| <font color="#C061CB"><b>lsphp83</b></font>-zip.x86_64 : ZIP archive management extension for PHP |
| </pre></html></WRAP> |
| </WRAP> |
| |
| <WRAP color_term> |
| <WRAP color_command><html><pre> |
| <font color="#0087FF"><b>$</b></font> <font color="#26A269"><u style="text-decoration-style:solid">sudo</u></font> <font color="#26A269">dnf</font> install <font color="#A347BA">-y</font> lsphp83-gd lsphp83-xml lsphp83-mbstring lsphp83-pecl-apcu lsphp83-pdo lsphp83-pear |
| </pre></html></WRAP> |
| <WRAP color_result_long><html><pre> |
| AlmaLinux 9 - AppStream 2.3 kB/s | 4.2 kB 00:01 |
| AlmaLinux 9 - AppStream 117 kB/s | 14 MB 02:02 |
| AlmaLinux 9 - BaseOS 2.4 kB/s | 3.8 kB 00:01 |
| AlmaLinux 9 - BaseOS 104 kB/s | 15 MB 02:26 |
| AlmaLinux 9 - CRB 2.1 kB/s | 4.2 kB 00:02 |
| AlmaLinux 9 - CRB 106 kB/s | 3.6 MB 00:34 |
| AlmaLinux 9 - Extras 3.5 kB/s | 3.3 kB 00:00 |
| AlmaLinux 9 - Extras 8.1 kB/s | 13 kB 00:01 |
| Dependencies resolved. |
| ================================================================================================================== |
| Package Architecture Version Repository Size |
| ================================================================================================================== |
| Installing: |
| <font color="#33D17A"><b>lsphp83-gd </b></font> x86_64 8.3.12-2.el9 litespeed-update 40 k |
| <font color="#33D17A"><b>lsphp83-mbstring </b></font> x86_64 8.3.12-2.el9 litespeed-update 524 k |
| <font color="#33D17A"><b>lsphp83-pdo </b></font> x86_64 8.3.12-2.el9 litespeed-update 85 k |
| <font color="#33D17A"><b>lsphp83-pear </b></font> noarch 1:1.10.15-1.el9 litespeed 311 k |
| <font color="#33D17A"><b>lsphp83-pecl-apcu </b></font> x86_64 5.1.23-1.el9.8.3 litespeed 66 k |
| <font color="#33D17A"><b>lsphp83-xml </b></font> x86_64 8.3.12-2.el9 litespeed-update 150 k |
| Installing dependencies: |
| <font color="#33D17A"><b>gd3php </b></font> x86_64 2.3.3-9.el9.remi remi-safe 136 k |
| <font color="#33D17A"><b>libavif </b></font> x86_64 0.11.1-5.el9 epel 80 k |
| <font color="#33D17A"><b>libimagequant </b></font> x86_64 2.17.0-1.el9 epel 62 k |
| <font color="#33D17A"><b>lsphp83-process </b></font> x86_64 8.3.12-2.el9 litespeed-update 41 k |
| <font color="#33D17A"><b>oniguruma </b></font> x86_64 6.9.6-1.el9.6 baseos 217 k |
| <font color="#33D17A"><b>oniguruma5php </b></font> x86_64 6.9.10-1.el9.remi remi-safe 222 k |
| <font color="#33D17A"><b>rav1e-libs </b></font> x86_64 0.7.1-3.el9 epel 1.0 M |
| <font color="#33D17A"><b>svt-av1-libs </b></font> x86_64 0.9.0-1.el9 epel 1.7 M |
| |
| Transaction Summary |
| ================================================================================================================== |
| Install 14 Packages |
| |
[+] Running 1/1 | Total download size: 4.6 M |
<font color="#26A269">✔</font> Container litespeed <font color="#26A269">Created</font> <font color="#12488B">0.0s </font> | Installed size: 16 M |
Attaching to litespeed | Downloading Packages: |
<font color="#2AA1B3">litespeed | </font>[OK] litespeed: pid=28. | (1/14): oniguruma-6.9.6-1.el9.6.x86_64.rpm 301 kB/s | 217 kB 00:00 |
| (2/14): libimagequant-2.17.0-1.el9.x86_64.rpm 59 kB/s | 62 kB 00:01 |
| (3/14): libavif-0.11.1-5.el9.x86_64.rpm 20 kB/s | 80 kB 00:03 |
| (4/14): lsphp83-pear-1.10.15-1.el9.noarch.rpm 20 kB/s | 311 kB 00:15 |
| (5/14): lsphp83-pecl-apcu-5.1.23-1.el9.8.3.x86_64.rpm 37 kB/s | 66 kB 00:01 |
| (6/14): lsphp83-gd-8.3.12-2.el9.x86_64.rpm 18 kB/s | 40 kB 00:02 |
| (7/14): rav1e-libs-0.7.1-3.el9.x86_64.rpm 40 kB/s | 1.0 MB 00:26 |
| (8/14): lsphp83-pdo-8.3.12-2.el9.x86_64.rpm 35 kB/s | 85 kB 00:02 |
| (9/14): lsphp83-process-8.3.12-2.el9.x86_64.rpm 42 kB/s | 41 kB 00:00 |
| (10/14): lsphp83-xml-8.3.12-2.el9.x86_64.rpm 50 kB/s | 150 kB 00:03 |
| (11/14): svt-av1-libs-0.9.0-1.el9.x86_64.rpm 53 kB/s | 1.7 MB 00:33 |
| (12/14): gd3php-2.3.3-9.el9.remi.x86_64.rpm 43 kB/s | 136 kB 00:03 |
| (13/14): lsphp83-mbstring-8.3.12-2.el9.x86_64.rpm 34 kB/s | 524 kB 00:15 |
| (14/14): oniguruma5php-6.9.10-1.el9.remi.x86_64.rpm 49 kB/s | 222 kB 00:04 |
| ------------------------------------------------------------------------------------------------------------------ |
| Total 114 kB/s | 4.6 MB 00:41 |
| Running transaction check |
| Transaction check succeeded. |
| Running transaction test |
| Transaction test succeeded. |
| Running transaction |
| Preparing : 1/1 |
| Installing : oniguruma5php-6.9.10-1.el9.remi.x86_64 1/14 |
| Installing : lsphp83-xml-8.3.12-2.el9.x86_64 2/14 |
| Installing : lsphp83-process-8.3.12-2.el9.x86_64 3/14 |
| Installing : svt-av1-libs-0.9.0-1.el9.x86_64 4/14 |
| Installing : rav1e-libs-0.7.1-3.el9.x86_64 5/14 |
| Installing : libavif-0.11.1-5.el9.x86_64 6/14 |
| Installing : libimagequant-2.17.0-1.el9.x86_64 7/14 |
| Installing : gd3php-2.3.3-9.el9.remi.x86_64 8/14 |
| Installing : oniguruma-6.9.6-1.el9.6.x86_64 9/14 |
| Installing : lsphp83-mbstring-8.3.12-2.el9.x86_64 10/14 |
| Installing : lsphp83-gd-8.3.12-2.el9.x86_64 11/14 |
| Running scriptlet: lsphp83-pear-1:1.10.15-1.el9.noarch 12/14 |
| Installing : lsphp83-pear-1:1.10.15-1.el9.noarch 12/14 |
| Running scriptlet: lsphp83-pear-1:1.10.15-1.el9.noarch 12/14 |
| Installing : lsphp83-pdo-8.3.12-2.el9.x86_64 13/14 |
| Installing : lsphp83-pecl-apcu-5.1.23-1.el9.8.3.x86_64 14/14 |
| Running scriptlet: lsphp83-pecl-apcu-5.1.23-1.el9.8.3.x86_64 14/14 |
| Verifying : oniguruma-6.9.6-1.el9.6.x86_64 1/14 |
| Verifying : libavif-0.11.1-5.el9.x86_64 2/14 |
| Verifying : libimagequant-2.17.0-1.el9.x86_64 3/14 |
| Verifying : rav1e-libs-0.7.1-3.el9.x86_64 4/14 |
| Verifying : svt-av1-libs-0.9.0-1.el9.x86_64 5/14 |
| Verifying : lsphp83-pear-1:1.10.15-1.el9.noarch 6/14 |
| Verifying : lsphp83-pecl-apcu-5.1.23-1.el9.8.3.x86_64 7/14 |
| Verifying : lsphp83-gd-8.3.12-2.el9.x86_64 8/14 |
| Verifying : lsphp83-mbstring-8.3.12-2.el9.x86_64 9/14 |
| Verifying : lsphp83-pdo-8.3.12-2.el9.x86_64 10/14 |
| Verifying : lsphp83-process-8.3.12-2.el9.x86_64 11/14 |
| Verifying : lsphp83-xml-8.3.12-2.el9.x86_64 12/14 |
| Verifying : gd3php-2.3.3-9.el9.remi.x86_64 13/14 |
| Verifying : oniguruma5php-6.9.10-1.el9.remi.x86_64 14/14 |
| |
| Installed: |
| gd3php-2.3.3-9.el9.remi.x86_64 libavif-0.11.1-5.el9.x86_64 |
| libimagequant-2.17.0-1.el9.x86_64 lsphp83-gd-8.3.12-2.el9.x86_64 |
| lsphp83-mbstring-8.3.12-2.el9.x86_64 lsphp83-pdo-8.3.12-2.el9.x86_64 |
| lsphp83-pear-1:1.10.15-1.el9.noarch lsphp83-pecl-apcu-5.1.23-1.el9.8.3.x86_64 |
| lsphp83-process-8.3.12-2.el9.x86_64 lsphp83-xml-8.3.12-2.el9.x86_64 |
| oniguruma-6.9.6-1.el9.6.x86_64 oniguruma5php-6.9.10-1.el9.remi.x86_64 |
| rav1e-libs-0.7.1-3.el9.x86_64 svt-av1-libs-0.9.0-1.el9.x86_64 |
| |
<span style="background-color:#FFFFFF"><font color="#000000"><b>w</b></font></span><font color="#576364"> Enable Watch</font> | Complete! |
</pre></html></WRAP> | </pre></html></WRAP> |
</WRAP> | </WRAP> |
Password: <html><code>123456</code></html>(OpenLiteSpeed 初期パスワード)\\ | Password: <html><code>123456</code></html>(OpenLiteSpeed 初期パスワード)\\ |
<WRAP group> | <WRAP group> |
<WRAP zoomimg w400 x1_3 column> | <WRAP zoomimg w400 x1_2 column> |
{{:linux:openlitespeed_docker_001.png|OpenLiteSpeed 001}} | {{:linux:openlitespeed_docker_001.png?480|OpenLiteSpeed 001}} |
</WRAP> | </WRAP> |
<WRAP zoomimg w400 x1_3 column> | <WRAP zoomimg w600 x1_2 column> |
{{:linux:openlitespeed_docker_002.png|OpenLiteSpeed 001}} | {{:linux:podman:openlitespeed_podman_001.png?720|OpenLiteSpeed 001}} |
</WRAP> | </WRAP> |
| </WRAP> |
| |
| ==== 管理コマンドリファレンス ==== |
| 参考: [[https://gitlab.litespeedtech.com/preview/lsws/commands/index.html|Commands Reference - LiteSpeed Documentation - LiteSpeed Web Server]]\\ |
| |
| === 管理者アカウント/パスワード変更 === |
| LiteSpeed WebAdmin Console のアカウント/パスワード変更する🤔\\ |
| 次回ログイン時から有効...😉\\ |
| <WRAP color_term> |
| <WRAP color_command><html><pre><font color="#0087FF"><b>$</b></font> <font color="#26A269">podman</font> exec <font color="#A347BA">-ti</font> litespeed <u style="text-decoration-style:solid">/usr/local/lsws/admin/misc/admpass.sh</u> |
| </pre></html></WRAP> |
| <WRAP color_result><html><pre> |
| |
| Please specify the user name of administrator. |
| This is the user name required to login the administration Web interface. |
| |
| User name [admin]: <b class=DiYE>tomoyan</b> |
| |
| Please specify the administrator's password. |
| This is the password required to login the administration Web interface. |
| |
| Password: <b class=DiYE>-> 管理者パスワード</b> |
| Retype password: <b class=DiYE>-> 管理者パスワード確認用</b> |
| Administrator's username/password is updated successfully! |
| </pre></html></WRAP> |
| </WRAP> |
| |
| === lswsctrl コマンドの使い方 === |
| <WRAP color_term> |
| <WRAP color_command><html><pre> |
| <font color="#0087FF"><b>$</b></font> <font color="#26A269">podman</font> exec <font color="#A347BA">-ti</font> litespeed <u style="text-decoration-style:solid">/usr/local/lsws/bin/lswsctrl</u> help |
| </pre></html></WRAP> |
| <WRAP color_result><html><pre> |
| Usage: /usr/local/lsws/bin/lswsctrl {start|stop|restart|reload|condrestrt|try-restart|status|help} |
| |
| start - start web server |
| stop - stop web server |
| restart - gracefully restart web server with zero down time |
| reload - same as restart |
| condrestart - gracefully restart web server if server is running |
| try-restart - same as condrestart |
| fullrestart - do full stop then start |
| status - show service status |
| help - this screen |
| </pre></html></WRAP> |
</WRAP> | </WRAP> |
| |
| |
==== バーチャルホストの設定 ==== | ==== バーチャルホストの設定 ==== |
| <WRAP color_term> |
| <WRAP color_command><html><pre> |
| <font color="#0087FF"><b>$</b></font> <font color="#26A269"><u style="text-decoration-style:solid">sudo</u></font> <font color="#26A269">mkdir</font> <font color="#A347BA">-p</font> lsws/conf/vhosts/tomoyan.net |
| <font color="#0087FF"><b>$</b></font> <font color="#26A269"><u style="text-decoration-style:solid">sudo</u></font> <font color="#26A269">nano</font> lsws/conf/vhosts/tomoyan.net/vhconf.conf |
| </pre></html></WRAP> |
| <WRAP color_mincode><html><pre> |
| <font color="#F92672">docRoot</font><font color="#FFFFFF"> $VH_ROOT/</font> |
| <font color="#F92672">enableBr</font><font color="#FFFFFF"> 1</font> |
| |
| <font color="#F92672">errorlog</font><font color="#FFFFFF"> $VH_ROOT/logs/error.log {</font> |
| <font color="#F8F8F2"> </font><font color="#F92672">useServer</font><font color="#FFFFFF"> 1</font> |
| <font color="#F8F8F2"> </font><font color="#F92672">logLevel</font><font color="#FFFFFF"> DEBUG</font> |
| <font color="#F8F8F2"> </font><font color="#F92672">rollingSize</font><font color="#FFFFFF"> 10M</font> |
| <font color="#F8F8F2">}</font> |
| |
| <font color="#F92672">context</font><font color="#FFFFFF"> / {</font> |
| <font color="#F8F8F2"> </font><font color="#F92672">location</font><font color="#FFFFFF"> $DOC_ROOT/dokuwiki</font> |
| <font color="#F8F8F2"> </font><font color="#F92672">allowBrowse</font><font color="#FFFFFF"> 1</font> |
| |
| <font color="#F8F8F2"> </font><font color="#F92672">rewrite</font><font color="#FFFFFF"> </font><font color="#F6AA11">{</font> |
| |
| <font color="#FFFFFF"> }</font> |
| <font color="#FFFFFF"> addDefaultCharset off</font> |
| |
| <font color="#FFFFFF"> phpIniOverride {</font> |
| |
| <font color="#FFFFFF"> }</font> |
| <font color="#FFFFFF">}</font> |
| |
| <font color="#FFFFFF">rewrite {</font> |
| <font color="#FFFFFF"> enable 1</font> |
| <font color="#FFFFFF"> autoLoadHtaccess 1</font> |
| <font color="#FFFFFF">}</font> |
| </pre></html></WRAP> |
| <WRAP color_command><html><pre> |
| <font color="#0087FF"><b>$</b></font> <font color="#26A269"><u style="text-decoration-style:solid">sudo</u></font> <font color="#26A269">nano</font> lsws/conf/httpd_config.conf |
| </pre></html></WRAP> |
| <WRAP color_mincode><html><pre> |
| <font color="#FFFFFF">listener HTTPS {</font> |
| <font color="#FFFFFF"> address *:443</font> |
| <font color="#FFFFFF"> secure 1</font> |
| <font color="#FFFFFF"> keyFile /usr/local/lsws/admin/conf/webadmin.key</font> |
| <font color="#FFFFFF"> certFile /usr/local/lsws/admin/conf/webadmin.crt</font> |
| <span style="background-color:#333333"><font color="#FFFFFF"> map tomoyan.lan www.tomoyan.lan</font></span><span style="background-color:#333333"> </span> |
| <font color="#FFFFFF">}</font> |
| |
| <font color="#FFFFFF">virtualhost tomoyan.lan {</font> |
| <font color="#FFFFFF"> vhRoot /var/www/vhosts/tomoyan.net</font> |
| <font color="#FFFFFF"> configFile conf/vhosts/tomoyan.net/vhconf.conf</font> |
| <font color="#FFFFFF"> allowSymbolLink 1</font> |
| <font color="#FFFFFF"> enableScript 1</font> |
| <font color="#FFFFFF"> restrained 0</font> |
| <font color="#FFFFFF">}</font> |
| </pre></html></WRAP> |
| </WRAP> |
| |
| 設定内容を反映するために podman でコンテナ内の litespeed エンジンにリロードを指示する😉 |
| <WRAP color_term> |
| <WRAP color_command><html><pre> |
| <font color="#0087FF"><b>$</b></font> <font color="#26A269">podman</font> exec <font color="#A347BA">-ti</font> litespeed <u style="text-decoration-style:solid">/usr/local/lsws/bin/lswsctrl</u> reload |
| </pre></html></WRAP> |
| <WRAP color_result><html><pre> |
| [OK] Send SIGUSR1 to 26 |
| </pre></html></WRAP> |
| </WRAP> |
===== 技術情報 ===== | ===== 技術情報 ===== |
コンテナは Ubuntu 22.04.3 LTS (Jammy Jellyfish) 🤔\\ | コンテナは Ubuntu 22.04.3 LTS (Jammy Jellyfish) 🤔\\ |