linux:openlitespeed

差分

このページの2つのバージョン間の差分を表示します。

この比較画面へのリンク

両方とも前のリビジョン 前のリビジョン
次のリビジョン
前のリビジョン
linux:openlitespeed [2022/10/05 06:40] – [依存パッケージのインストール] ともやんlinux:openlitespeed [2024/03/14 14:19] (現在) – [OpenLiteSpeed] ともやん
行 3: 行 3:
 本家: [[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:docker:openlitespeed|OpenLiteSpeed (docker)]] - Docker での手順。\\
  
 ===== インストール ===== ===== インストール =====
行 15: 行 17:
 <b class=GRN>$</b> <b class=HIY>sudo</b> dnf install libxcrypt-compat.x86_64 findutils openssl which wget <b class=GRN>$</b> <b class=HIY>sudo</b> dnf install libxcrypt-compat.x86_64 findutils openssl which wget
 </pre></html></WRAP> </pre></html></WRAP>
-<WRAP color_result><html><pre>+<WRAP color_result_long><html><pre>
 メタデータの期限切れの最終確認: 1:00:34 時間前の 2022年10月05日 05時36分31秒 に実施しました。 メタデータの期限切れの最終確認: 1:00:34 時間前の 2022年10月05日 05時36分31秒 に実施しました。
 パッケージ findutils-1:4.9.0-1.fc36.x86_64 は既にインストールされています。 パッケージ findutils-1:4.9.0-1.fc36.x86_64 は既にインストールされています。
行 58: 行 60:
 </pre></html></WRAP> </pre></html></WRAP>
 </WRAP> </WRAP>
- 
-</code> 
 **※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>
行 787: 行 787:
 </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>&lt;- 管理者ユーザーを入力</b>
 +
 +Please specify the administrator's password.
 +This is the password required to login the administration Web interface.
 +
 +Password: <b class=DiYE>&lt;- 管理者パスワードを入力</b>
 +Retype password: <b class=DiYE>&lt;- 管理者パスワードの確認でもう一度入力</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]]\\
  
 ソースコードのダウンロード🤤\\ ソースコードのダウンロード🤤\\
行 850: 行 894:
 </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 アプリの実行 =====
  • linux/openlitespeed.1664919603.txt.gz
  • 最終更新: 2022/10/05 06:40
  • by ともやん