両方とも前のリビジョン 前のリビジョン 次のリビジョン | 前のリビジョン |
linux:openlitespeed [2022/10/05 06:40] – [依存パッケージのインストール] ともやん | linux:openlitespeed [2025/02/13 10:07] (現在) – [OpenLiteSpeed] ともやん |
---|
本家: [[https://openlitespeed.org/|OpenLiteSpeed]]\\ | 本家: [[https://openlitespeed.org/|OpenLiteSpeed]]\\ |
[[https://www.litespeedtech.com/|LiteSpeed | Internet. Accelerated. - LiteSpeed Technologies]]\\ | [[https://www.litespeedtech.com/|LiteSpeed | Internet. Accelerated. - LiteSpeed Technologies]]\\ |
ソースコード: [[https://github.com/litespeedtech/openlitespeed|litespeedtech/openlitespeed: Our high-performance, lightweight, open source HTTP server]]\\ | ソースコード: [[git>litespeedtech/openlitespeed|litespeedtech/openlitespeed: Our high-performance, lightweight, open source HTTP server]]\\ |
| |
OpenLiteSpeed は、LiteSpeed Web Server Enterprise のオープンソース版である。\\ | OpenLiteSpeed は、LiteSpeed Web Server Enterprise のオープンソース版である。\\ |
主な特徴は、[[https://www.nginx.com/|NGINX]] よりも高速、イベント駆動型アーキテクチャ、Apache 書き換えルールの理解、使いやすい管理インターフェイス、スピードとセキュリティのためのビルド、インテリジェントキャッシュアクセラレーション、PageSpeed の最適化、PHP LiteSpeed SAPI などである。\\ | 主な特徴は、[[https://www.nginx.com/|NGINX]] よりも高速、イベント駆動型アーキテクチャ、Apache 書き換えルールの理解、使いやすい管理インターフェイス、スピードとセキュリティのためのビルド、インテリジェントキャッシュアクセラレーション、PageSpeed の最適化、PHP LiteSpeed SAPI などである。\\ |
| |
| * 関連: \\ [[linux:podman:openlitespeed|OpenLiteSpeed (Podman)]] - Podman での手順。\\ [[linux:docker:openlitespeed|OpenLiteSpeed (docker)]] - Docker での手順。\\ |
| |
===== インストール ===== | ===== インストール ===== |
</WRAP> | </WRAP> |
**※libxcrypt-compat は i686 と x86_64 が存在するので、<wrap em>アーキテクチャ (x86_64)</wrap> を指定しないと共有ライブラリのロードエラーが発生します。**\\ | **※libxcrypt-compat は i686 と x86_64 が存在するので、<wrap em>アーキテクチャ (x86_64)</wrap> を指定しないと共有ライブラリのロードエラーが発生します。**\\ |
| \\ |
Ruby on Rails などを利用する場合\\ | Ruby on Rails などを利用する場合\\ |
<WRAP color_term> | <WRAP color_term> |
</WRAP> | </WRAP> |
| |
| ==== OpenLiteSpeed Welcome ページ ==== |
[[http://localhost:8088|]] にアクセスする。\\ | [[http://localhost:8088|]] にアクセスする。\\ |
{{linux:openlitespeed_example.png?640|OpenLiteSpeed Example}}\\ | {{linux:openlitespeed_example.png?640|OpenLiteSpeed Example}}\\ |
| |
| ==== 管理画面の管理者ユーザー/パスワード変更 ==== |
| <WRAP color_term> |
| <WRAP color_command><html><pre> |
| <b class=GRN>$</b> <b class=HIY>sudo</b> /usr/local/lsws/admin/misc/admpass.sh |
| </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]: tomoyan596 <b class=DiYE><- 管理者ユーザーを入力</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> |
| <WRAP round tip 90%> |
| このスクリプトは ''/usr/local/lsws/admin/conf/htpasswd'' を上書きリセットする...🤔\\ |
| <WRAP color_term> |
| <WRAP color_command><html><pre> |
| <b class=GRN>$</b> <b class=HIY>sudo</b> cat /usr/local/lsws/admin/conf/htpasswd |
| </pre></html></WRAP> |
| <WRAP color_result><html><pre> |
| tomoyan596:$1$2wALctqc$wIsHdEdChWRN0AmAT6L8E0 |
| </pre></html></WRAP> |
| </WRAP> |
| |
| パスワードは php により暗号化される...🤔\\ |
| <WRAP color_code><code php /usr/local/lsws/admin/misc/admpass.sh> |
| # generate password file |
| ENCRYPT_PASS=`$CUR_DIR/../fcgi-bin/admin_php -q $CUR_DIR/htpasswd.php $PASS_ONE` |
| echo "$ADMIN_USER:$ENCRYPT_PASS" > $CUR_DIR/../conf/htpasswd |
| </code></WRAP> |
| </WRAP> |
| |
| ==== OpenLiteSpeed WebAdmin Console ==== |
| [[https://localhost:7080/|]] にアクセスする。\\ |
| {{linux:openlitespeed_webadmin_001.png?640|LiteSpeed WebAdmin 001}}\\ |
| |
==== ソースコードからビルド ==== | ==== ソースコードからビルド ==== |
[[https://openlitespeed.org/kb/install-openlitespeed-from-source-with-build-script/|Install OpenLiteSpeed from Source with Build Script for OLS 1.6 and above – OpenLiteSpeed]]\\ | 公式: [[https://openlitespeed.org/kb/install-openlitespeed-from-source-with-build-script/|Install OpenLiteSpeed from Source with Build Script for OLS 1.6 and above – OpenLiteSpeed]]\\ |
| ソースコード: [[git>litespeedtech/openlitespeed|GitHub - litespeedtech/openlitespeed: Our high-performance, lightweight, open source HTTP server]]\\ |
| |
ソースコードのダウンロード🤤\\ | ソースコードのダウンロード🤤\\ |
</code></WRAP> | </code></WRAP> |
| |
[[.:openlitespeed:fedora_support_for_scripts|ビルドスクリプトの Fedora 対応🤤]]\\ | [[.openlitespeed:fedora_support_for_build_scripts|OpenLiteSpeed ビルドスクリプトの Fedora 対応🤤]]\\ |
| |
===== LiteSpeed WebAdmin Console ===== | |
[[https://localhost:7080/|]] にアクセスする。\\ | |
{{linux:openlitespeed_webadmin_001.png?640|LiteSpeed WebAdmin 001}}\\ | |
| |
===== WSGI Web アプリの実行 ===== | ===== WSGI Web アプリの実行 ===== |