両方とも前のリビジョン 前のリビジョン 次のリビジョン | 前のリビジョン |
linux:openlitespeed [2020/03/16 07:46] – [参考文献] ともやん | linux:openlitespeed [2024/03/14 14:19] (現在) – [OpenLiteSpeed] ともやん |
---|
====== Fedora 31 に OpenLiteSpeed をインストールする方法 ====== | ====== OpenLiteSpeed ====== |
{{:linux:openlitespeed_logo.png?200|OpenLiteSpeed Logo}}\\ | {{linux:openlitespeed_logo.png?400|OpenLiteSpeed Logo}}\\ |
本家: [[https://openlitespeed.org/|Get 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 での手順。\\ |
| |
===== インストール ===== | ===== インストール ===== |
| |
| ==== 依存パッケージのインストール ==== |
| <WRAP color_term> |
| <WRAP color_command><html><pre> |
| <b class=GRN>$</b> <b class=HIY>sudo</b> dnf install libxcrypt-compat.x86_64 findutils openssl which wget |
| </pre></html></WRAP> |
| <WRAP color_result_long><html><pre> |
| メタデータの期限切れの最終確認: 1:00:34 時間前の 2022年10月05日 05時36分31秒 に実施しました。 |
| パッケージ findutils-1:4.9.0-1.fc36.x86_64 は既にインストールされています。 |
| パッケージ which-2.21-32.fc36.x86_64 は既にインストールされています。 |
| パッケージ wget-1.21.3-1.fc36.x86_64 は既にインストールされています。 |
| 依存関係が解決しました。 |
| ============================================================================================================== |
| パッケージ アーキテクチャー バージョン リポジトリー サイズ |
| ============================================================================================================== |
| インストール: |
| <b class=GRN>libxcrypt-compat</b> x86_64 4.4.28-1.fc36 fedora 90 k |
| <b class=GRN>openssl</b> x86_64 1:3.0.5-1.fc36 updates 1.1 M |
| |
| トランザクションの概要 |
| ============================================================================================================== |
| インストール 2 パッケージ |
| |
| ダウンロードサイズの合計: 1.2 M |
| インストール後のサイズ: 2.0 M |
| これでよろしいですか? [y/N]: y |
| パッケージのダウンロード: |
| (1/2): libxcrypt-compat-4.4.28-1.fc36.x86_64.rpm 167 kB/s | 90 kB 00:00 |
| (2/2): openssl-3.0.5-1.fc36.x86_64.rpm 1.2 MB/s | 1.1 MB 00:00 |
| -------------------------------------------------------------------------------------------------------------- |
| 合計 402 kB/s | 1.2 MB 00:03 |
| トランザクションの確認を実行中 |
| トランザクションの確認に成功しました。 |
| トランザクションのテストを実行中 |
| トランザクションのテストに成功しました。 |
| トランザクションを実行中 |
| 準備 : 1/1 |
| インストール中 : openssl-1:3.0.5-1.fc36.x86_64 1/2 |
| インストール中 : libxcrypt-compat-4.4.28-1.fc36.x86_64 2/2 |
| scriptletの実行中: libxcrypt-compat-4.4.28-1.fc36.x86_64 2/2 |
| 検証 : libxcrypt-compat-4.4.28-1.fc36.x86_64 1/2 |
| 検証 : openssl-1:3.0.5-1.fc36.x86_64 2/2 |
| |
| インストール済み: |
| libxcrypt-compat-4.4.28-1.fc36.x86_64 openssl-1:3.0.5-1.fc36.x86_64 |
| |
| 完了しました! |
| </pre></html></WRAP> |
| </WRAP> |
| **※libxcrypt-compat は i686 と x86_64 が存在するので、<wrap em>アーキテクチャ (x86_64)</wrap> を指定しないと共有ライブラリのロードエラーが発生します。**\\ |
| \\ |
| Ruby on Rails などを利用する場合\\ |
| <WRAP color_term> |
| <WRAP color_command><html><pre> |
| <b class=GRN>$</b> <b class=HIY>sudo</b> dnf install ruby |
| </pre></html></WRAP> |
| </WRAP> |
| |
| |
==== バイナリ インストール ==== | ==== バイナリ インストール ==== |
ダウンロード ページから OpenLiteSpeed バイナリを [[https://openlitespeed.org/downloads/|ダウンロード]] する。\\ | ダウンロード ページから OpenLiteSpeed バイナリを [[https://openlitespeed.org/downloads/|ダウンロード]] する。\\ |
| |
<code> | <WRAP color_term> |
$ curl -O https://openlitespeed.org/packages/openlitespeed-1.6.6.tgz | <WRAP color_command><html><pre> |
| <b class=GRN>$</b> <b class=HIY>curl</b> -O https://openlitespeed.org/packages/openlitespeed-1.7.16.tgz |
| </pre></html></WRAP> |
| <WRAP color_result><html><pre> |
% Total % Received % Xferd Average Speed Time Time Time Current | % Total % Received % Xferd Average Speed Time Time Time Current |
Dload Upload Total Spent Left Speed | Dload Upload Total Spent Left Speed |
100 49.1M 100 49.1M 0 0 1674k 0 0:00:30 0:00:30 --:--:-- 3083k | 100 74.6M 100 74.6M 0 0 2747k 0 0:00:27 0:00:27 --:--:-- 3582k |
| </pre></html></WRAP> |
$ tar zxvf openlitespeed-1.6.6.tgz | <WRAP color_command><html><pre> |
| <b class=GRN>$</b> <b class=HIY>tar</b> zxvf openlitespeed-1.7.16.tgz |
| </pre></html></WRAP> |
| <WRAP color_result_long><html><pre> |
openlitespeed/ | openlitespeed/ |
openlitespeed/modules/ | openlitespeed/modules/ |
openlitespeed/modules/modinspector.so | openlitespeed/modules/mod_security.so |
... | openlitespeed/modules/modpagespeed.so |
| openlitespeed/VERSION |
| openlitespeed/add-ons/ |
| openlitespeed/add-ons/webcachemgr/ |
| openlitespeed/add-ons/webcachemgr/VERSION |
| openlitespeed/add-ons/webcachemgr/bootstrap.php |
| openlitespeed/add-ons/webcachemgr/autoloader.php |
| openlitespeed/add-ons/webcachemgr/src/ |
| openlitespeed/add-ons/webcachemgr/src/Panel/ |
| openlitespeed/add-ons/webcachemgr/src/Panel/ControlPanel.php |
| openlitespeed/add-ons/webcachemgr/src/Panel/CustomPanelBase.php |
| openlitespeed/add-ons/webcachemgr/src/Panel/CustomPanel.php |
| openlitespeed/add-ons/webcachemgr/src/Panel/Plesk.php |
| openlitespeed/add-ons/webcachemgr/src/Panel/DirectAdmin.php |
| openlitespeed/add-ons/webcachemgr/src/Panel/CPanel.php |
| openlitespeed/add-ons/webcachemgr/src/CliController.php |
| openlitespeed/add-ons/webcachemgr/src/Util.php |
| openlitespeed/add-ons/webcachemgr/src/LSCMException.php |
| openlitespeed/add-ons/webcachemgr/src/WPInstall.php |
| openlitespeed/add-ons/webcachemgr/src/WPDashMsgs.php |
| openlitespeed/add-ons/webcachemgr/src/DashNotifier.php |
| openlitespeed/add-ons/webcachemgr/src/Logger.php |
| openlitespeed/add-ons/webcachemgr/src/Context/ |
| openlitespeed/add-ons/webcachemgr/src/Context/Context.php |
| openlitespeed/add-ons/webcachemgr/src/Context/RootCLIContextOption.php |
| openlitespeed/add-ons/webcachemgr/src/Context/UserCLIContextOption.php |
| openlitespeed/add-ons/webcachemgr/src/Context/RootPanelContextOption.php |
| openlitespeed/add-ons/webcachemgr/src/Context/ContextOption.php |
| openlitespeed/add-ons/webcachemgr/src/View/ |
| openlitespeed/add-ons/webcachemgr/src/View/AjaxView.php |
| openlitespeed/add-ons/webcachemgr/src/View/Tpl/ |
| openlitespeed/add-ons/webcachemgr/src/View/Tpl/Blocks/ |
| openlitespeed/add-ons/webcachemgr/src/View/Tpl/Blocks/InputSubmitBtn.tpl |
| openlitespeed/add-ons/webcachemgr/src/View/Tpl/VersionManage.tpl |
| openlitespeed/add-ons/webcachemgr/src/View/Tpl/VersionChange.tpl |
| openlitespeed/add-ons/webcachemgr/src/View/Tpl/ScanProgress.tpl |
| openlitespeed/add-ons/webcachemgr/src/View/Tpl/MissingTpl.tpl |
| openlitespeed/add-ons/webcachemgr/src/View/Tpl/Ajax/ |
| openlitespeed/add-ons/webcachemgr/src/View/Tpl/Ajax/CacheMgrActionsCol.tpl |
| openlitespeed/add-ons/webcachemgr/src/View/Tpl/Ajax/CacheMgrFlagCol.tpl |
| openlitespeed/add-ons/webcachemgr/src/View/Tpl/Ajax/CacheMgrStatusCol.tpl |
| openlitespeed/add-ons/webcachemgr/src/View/Tpl/MassDashNotifyProgress.tpl |
| openlitespeed/add-ons/webcachemgr/src/View/Tpl/MassDashDisableProgress.tpl |
| openlitespeed/add-ons/webcachemgr/src/View/Tpl/CacheRootNotSet.tpl |
| openlitespeed/add-ons/webcachemgr/src/View/Tpl/ScanProgressStep2.tpl |
| openlitespeed/add-ons/webcachemgr/src/View/Tpl/UnflagAllProgress.tpl |
| openlitespeed/add-ons/webcachemgr/src/View/Tpl/MassEnableDisableProgress.tpl |
| openlitespeed/add-ons/webcachemgr/src/View/Tpl/MassEnableDisable.tpl |
| openlitespeed/add-ons/webcachemgr/src/View/Tpl/Manage.tpl |
| openlitespeed/add-ons/webcachemgr/src/View/Tpl/DashNotifier.tpl |
| openlitespeed/add-ons/webcachemgr/src/View/Tpl/RefreshStatusProgress.tpl |
| openlitespeed/add-ons/webcachemgr/src/View/Tpl/DataFileMsg.tpl |
| openlitespeed/add-ons/webcachemgr/src/View/Tpl/ScanProgressStep1.tpl |
| openlitespeed/add-ons/webcachemgr/src/View/Model/ |
| openlitespeed/add-ons/webcachemgr/src/View/Model/VersionManageViewModel.php |
| openlitespeed/add-ons/webcachemgr/src/View/Model/MassEnableDisableProgressViewModel.php |
| openlitespeed/add-ons/webcachemgr/src/View/Model/UnflagAllProgressViewModel.php |
| openlitespeed/add-ons/webcachemgr/src/View/Model/ScanProgressStepViewModel.php |
| openlitespeed/add-ons/webcachemgr/src/View/Model/MassDashNotifyProgressViewModel.php |
| openlitespeed/add-ons/webcachemgr/src/View/Model/DashNotifierViewModel.php |
| openlitespeed/add-ons/webcachemgr/src/View/Model/MassEnableDisableViewModel.php |
| openlitespeed/add-ons/webcachemgr/src/View/Model/MassDashDisableProgressViewModel.php |
| openlitespeed/add-ons/webcachemgr/src/View/Model/MissingTplViewModel.php |
| openlitespeed/add-ons/webcachemgr/src/View/Model/Ajax/ |
| openlitespeed/add-ons/webcachemgr/src/View/Model/Ajax/CacheMgrRowViewModel.php |
| openlitespeed/add-ons/webcachemgr/src/View/Model/CacheRootNotSetViewModel.php |
| openlitespeed/add-ons/webcachemgr/src/View/Model/DataFileMsgViewModel.php |
| openlitespeed/add-ons/webcachemgr/src/View/Model/ManageViewModel.php |
| openlitespeed/add-ons/webcachemgr/src/View/Model/ScanProgressViewModel.php |
| openlitespeed/add-ons/webcachemgr/src/View/Model/RefreshStatusProgressViewModel.php |
| openlitespeed/add-ons/webcachemgr/src/View/Model/VersionChangeViewModel.php |
| openlitespeed/add-ons/webcachemgr/src/PluginVersion.php |
| openlitespeed/add-ons/webcachemgr/src/LogEntry.php |
| openlitespeed/add-ons/webcachemgr/src/WPInstallStorage.php |
| openlitespeed/add-ons/webcachemgr/src/UserCommand.php |
| openlitespeed/add-ons/webcachemgr/src/WPCaller.php |
| openlitespeed/add-ons/webcachemgr/src/PanelController.php |
| openlitespeed/add-ons/webcachemgr/src/RedefineGlobalFuncs.php |
| openlitespeed/add-ons/webcachemgr/src/AjaxResponse.php |
| openlitespeed/add-ons/webcachemgr/bootstrap_cli.php |
| openlitespeed/add-ons/snmp_monitoring/ |
| openlitespeed/add-ons/snmp_monitoring/sample.php |
| openlitespeed/add-ons/snmp_monitoring/litespeed_vhost.xml |
| openlitespeed/add-ons/snmp_monitoring/litespeed_general.xml |
| openlitespeed/add-ons/snmp_monitoring/litespeed_extapp.xml |
| openlitespeed/add-ons/snmp_monitoring/litespeed_cacti_template.xml |
| openlitespeed/add-ons/snmp_monitoring/class.litespeed_snmp_bridge.php |
| openlitespeed/add-ons/snmp_monitoring/class.litespeed_stats.php |
| openlitespeed/add-ons/snmp_monitoring/README |
| openlitespeed/adminssl.conf |
| openlitespeed/docs/ |
| openlitespeed/docs/ja-JP/ |
| openlitespeed/docs/ja-JP/Module_Context.html |
| openlitespeed/docs/ja-JP/webconsole.html |
| openlitespeed/docs/ja-JP/FCGI_Context.html |
| openlitespeed/docs/ja-JP/ServSecurity_Help.html |
| openlitespeed/docs/ja-JP/Rewrite_Help.html |
| openlitespeed/docs/ja-JP/VHSSL_Help.html |
| openlitespeed/docs/ja-JP/Static_Context.html |
| openlitespeed/docs/ja-JP/Module_Help.html |
| openlitespeed/docs/ja-JP/security.html |
| openlitespeed/docs/ja-JP/AdminListeners_SSL_Help.html |
| openlitespeed/docs/ja-JP/ServTuning_Help.html |
| openlitespeed/docs/ja-JP/CGI_Context.html |
| openlitespeed/docs/ja-JP/App_Server_Context.html |
| openlitespeed/docs/ja-JP/ServLog_Help.html |
| openlitespeed/docs/ja-JP/AdminListeners_General_Help.html |
| openlitespeed/docs/ja-JP/External_FCGI.html |
| openlitespeed/docs/ja-JP/ExtApp_Help.html |
| openlitespeed/docs/ja-JP/Servlet_Context.html |
| openlitespeed/docs/ja-JP/Redirect_Context.html |
| openlitespeed/docs/ja-JP/App_Server_Help.html |
| openlitespeed/docs/ja-JP/External_FCGI_Auth.html |
| openlitespeed/docs/ja-JP/install.html |
| openlitespeed/docs/ja-JP/External_PL.html |
| openlitespeed/docs/ja-JP/Listeners_General_Help.html |
| openlitespeed/docs/ja-JP/External_LB.html |
| openlitespeed/docs/ja-JP/intro.html |
| openlitespeed/docs/ja-JP/External_LSAPI.html |
| openlitespeed/docs/ja-JP/index.html |
| openlitespeed/docs/ja-JP/VHWebSocket_Help.html |
| openlitespeed/docs/ja-JP/LSAPI_Context.html |
| openlitespeed/docs/ja-JP/External_WS.html |
| openlitespeed/docs/ja-JP/license.html |
| openlitespeed/docs/ja-JP/ServGeneral_Help.html |
| openlitespeed/docs/ja-JP/Context_Help.html |
| openlitespeed/docs/ja-JP/External_Servlet.html |
| openlitespeed/docs/ja-JP/AdminSecurity_Help.html |
| openlitespeed/docs/ja-JP/Proxy_Context.html |
| openlitespeed/docs/ja-JP/ServerStat_Help.html |
| openlitespeed/docs/ja-JP/admin.html |
| openlitespeed/docs/ja-JP/VirtualHosts_Help.html |
| openlitespeed/docs/ja-JP/Java_Web_App_Context.html |
| openlitespeed/docs/ja-JP/AdminGeneral_Help.html |
| openlitespeed/docs/ja-JP/Templates_Help.html |
| openlitespeed/docs/ja-JP/Listeners_SSL_Help.html |
| openlitespeed/docs/ja-JP/VHGeneral_Help.html |
| openlitespeed/docs/ja-JP/LB_Context.html |
| openlitespeed/docs/ja-JP/ScriptHandler_Help.html |
| openlitespeed/docs/ja-JP/CompilePHP_Help.html |
| openlitespeed/docs/ja-JP/config.html |
| openlitespeed/docs/ja-JP/VHSecurity_Help.html |
| openlitespeed/docs/Module_Context.html |
| openlitespeed/docs/webconsole.html |
| openlitespeed/docs/FCGI_Context.html |
| openlitespeed/docs/ServSecurity_Help.html |
| openlitespeed/docs/Rewrite_Help.html |
| openlitespeed/docs/VHSSL_Help.html |
| openlitespeed/docs/Static_Context.html |
| openlitespeed/docs/Module_Help.html |
| openlitespeed/docs/security.html |
| openlitespeed/docs/AdminListeners_SSL_Help.html |
| openlitespeed/docs/img/ |
| openlitespeed/docs/img/info.svg |
| openlitespeed/docs/img/shield.svg |
| openlitespeed/docs/img/lightning-bolt.svg |
| openlitespeed/docs/img/lsws_logo.svg |
| openlitespeed/docs/img/attention.svg |
| openlitespeed/docs/img/ols_logo.svg |
| openlitespeed/docs/img/web-adc_logo.svg |
| openlitespeed/docs/ServTuning_Help.html |
| openlitespeed/docs/CGI_Context.html |
| openlitespeed/docs/App_Server_Context.html |
| openlitespeed/docs/ServLog_Help.html |
| openlitespeed/docs/AdminListeners_General_Help.html |
| openlitespeed/docs/External_FCGI.html |
| openlitespeed/docs/ExtApp_Help.html |
| openlitespeed/docs/Servlet_Context.html |
| openlitespeed/docs/Redirect_Context.html |
| openlitespeed/docs/App_Server_Help.html |
| openlitespeed/docs/External_FCGI_Auth.html |
| openlitespeed/docs/install.html |
| openlitespeed/docs/zh-CN/ |
| openlitespeed/docs/zh-CN/Module_Context.html |
| openlitespeed/docs/zh-CN/webconsole.html |
| openlitespeed/docs/zh-CN/FCGI_Context.html |
| openlitespeed/docs/zh-CN/ServSecurity_Help.html |
| openlitespeed/docs/zh-CN/Rewrite_Help.html |
| openlitespeed/docs/zh-CN/VHSSL_Help.html |
| openlitespeed/docs/zh-CN/Static_Context.html |
| openlitespeed/docs/zh-CN/Module_Help.html |
| openlitespeed/docs/zh-CN/security.html |
| openlitespeed/docs/zh-CN/AdminListeners_SSL_Help.html |
| openlitespeed/docs/zh-CN/ServTuning_Help.html |
| openlitespeed/docs/zh-CN/CGI_Context.html |
| openlitespeed/docs/zh-CN/App_Server_Context.html |
| openlitespeed/docs/zh-CN/ServLog_Help.html |
| openlitespeed/docs/zh-CN/AdminListeners_General_Help.html |
| openlitespeed/docs/zh-CN/External_FCGI.html |
| openlitespeed/docs/zh-CN/ExtApp_Help.html |
| openlitespeed/docs/zh-CN/Servlet_Context.html |
| openlitespeed/docs/zh-CN/Redirect_Context.html |
| openlitespeed/docs/zh-CN/App_Server_Help.html |
| openlitespeed/docs/zh-CN/External_FCGI_Auth.html |
| openlitespeed/docs/zh-CN/install.html |
| openlitespeed/docs/zh-CN/External_PL.html |
| openlitespeed/docs/zh-CN/Listeners_General_Help.html |
| openlitespeed/docs/zh-CN/External_LB.html |
| openlitespeed/docs/zh-CN/intro.html |
| openlitespeed/docs/zh-CN/External_LSAPI.html |
| openlitespeed/docs/zh-CN/index.html |
| openlitespeed/docs/zh-CN/VHWebSocket_Help.html |
| openlitespeed/docs/zh-CN/LSAPI_Context.html |
| openlitespeed/docs/zh-CN/External_WS.html |
| openlitespeed/docs/zh-CN/license.html |
| openlitespeed/docs/zh-CN/ServGeneral_Help.html |
| openlitespeed/docs/zh-CN/Context_Help.html |
| openlitespeed/docs/zh-CN/External_Servlet.html |
| openlitespeed/docs/zh-CN/AdminSecurity_Help.html |
| openlitespeed/docs/zh-CN/Proxy_Context.html |
| openlitespeed/docs/zh-CN/ServerStat_Help.html |
| openlitespeed/docs/zh-CN/admin.html |
| openlitespeed/docs/zh-CN/VirtualHosts_Help.html |
| openlitespeed/docs/zh-CN/Java_Web_App_Context.html |
| openlitespeed/docs/zh-CN/AdminGeneral_Help.html |
| openlitespeed/docs/zh-CN/Templates_Help.html |
| openlitespeed/docs/zh-CN/Listeners_SSL_Help.html |
| openlitespeed/docs/zh-CN/VHGeneral_Help.html |
| openlitespeed/docs/zh-CN/LB_Context.html |
| openlitespeed/docs/zh-CN/ScriptHandler_Help.html |
| openlitespeed/docs/zh-CN/CompilePHP_Help.html |
| openlitespeed/docs/zh-CN/config.html |
| openlitespeed/docs/zh-CN/VHSecurity_Help.html |
| openlitespeed/docs/External_PL.html |
| openlitespeed/docs/Listeners_General_Help.html |
| openlitespeed/docs/External_LB.html |
| openlitespeed/docs/intro.html |
| openlitespeed/docs/External_LSAPI.html |
| openlitespeed/docs/index.html |
| openlitespeed/docs/VHWebSocket_Help.html |
| openlitespeed/docs/LSAPI_Context.html |
| openlitespeed/docs/External_WS.html |
| openlitespeed/docs/license.html |
| openlitespeed/docs/ServGeneral_Help.html |
| openlitespeed/docs/Context_Help.html |
| openlitespeed/docs/External_Servlet.html |
| openlitespeed/docs/AdminSecurity_Help.html |
| openlitespeed/docs/Proxy_Context.html |
| openlitespeed/docs/ServerStat_Help.html |
| openlitespeed/docs/admin.html |
| openlitespeed/docs/VirtualHosts_Help.html |
| openlitespeed/docs/Java_Web_App_Context.html |
| openlitespeed/docs/AdminGeneral_Help.html |
| openlitespeed/docs/Templates_Help.html |
| openlitespeed/docs/Listeners_SSL_Help.html |
| openlitespeed/docs/VHGeneral_Help.html |
| openlitespeed/docs/LB_Context.html |
| openlitespeed/docs/ScriptHandler_Help.html |
| openlitespeed/docs/CompilePHP_Help.html |
| openlitespeed/docs/config.html |
| openlitespeed/docs/VHSecurity_Help.html |
| openlitespeed/docs/css/ |
| openlitespeed/docs/css/hdoc.css |
| openlitespeed/Example/ |
| openlitespeed/Example/cgi-bin/ |
| openlitespeed/Example/cgi-bin/helloworld |
| openlitespeed/Example/html/ |
| openlitespeed/Example/html/upload.html |
| openlitespeed/Example/html/protected/ |
| openlitespeed/Example/html/protected/index.html |
| openlitespeed/Example/html/img/ |
| openlitespeed/Example/html/img/blocked_content-icon.png |
| openlitespeed/Example/html/img/cgi-icon.png |
| openlitespeed/Example/html/img/php-icon.png |
| openlitespeed/Example/html/img/olsws_logo.png |
| openlitespeed/Example/html/img/powered_by_ols-new.png |
| openlitespeed/Example/html/img/404-icon.png |
| openlitespeed/Example/html/img/file_upload-icon.png |
| openlitespeed/Example/html/img/pwd_protect-icon.png |
| openlitespeed/Example/html/error404.html |
| openlitespeed/Example/html/index.html |
| openlitespeed/Example/html/.htaccess |
| openlitespeed/Example/html/blocked/ |
| openlitespeed/Example/html/blocked/index.html |
| openlitespeed/Example/html/phpinfo.php |
| openlitespeed/Example/html/upload.php |
| openlitespeed/Example/html/css/ |
| openlitespeed/Example/html/css/bootstrap.min.css |
| openlitespeed/Example/html/css/custom.css |
| openlitespeed/conf/ |
| openlitespeed/conf/switch_config.sh |
| openlitespeed/conf/httpd_config.conf.in |
| openlitespeed/conf/vhosts/ |
| openlitespeed/conf/vhosts/Example/ |
| openlitespeed/conf/vhosts/Example/vhconf.conf |
| openlitespeed/conf/vhosts/Example/htpasswd |
| openlitespeed/conf/vhosts/Example/htgroup |
| openlitespeed/conf/templates/ |
| openlitespeed/conf/templates/ccl.conf |
| openlitespeed/conf/templates/rails.conf |
| openlitespeed/conf/mime.properties |
| openlitespeed/functions.sh |
| openlitespeed/_in.sh |
| openlitespeed/ols.conf |
| openlitespeed/bin/ |
| openlitespeed/bin/openlitespeed |
| openlitespeed/bin/lswsctrl |
| openlitespeed/lsrecaptcha/ |
| openlitespeed/lsrecaptcha/_recaptcha |
| openlitespeed/lsrecaptcha/_recaptcha.shtml |
| openlitespeed/GPL.txt |
| openlitespeed/share/ |
| openlitespeed/share/autoindex/ |
| openlitespeed/share/autoindex/default_withjs.php |
| openlitespeed/share/autoindex/assets/ |
| openlitespeed/share/autoindex/assets/icons/ |
| openlitespeed/share/autoindex/assets/icons/folder-fill.svg |
| openlitespeed/share/autoindex/assets/icons/file.svg |
| openlitespeed/share/autoindex/assets/icons/music.svg |
| openlitespeed/share/autoindex/assets/icons/file-text.svg |
| openlitespeed/share/autoindex/assets/icons/image.svg |
| openlitespeed/share/autoindex/assets/icons/corner-left-up.svg |
| openlitespeed/share/autoindex/assets/icons/video.svg |
| openlitespeed/share/autoindex/assets/js/ |
| openlitespeed/share/autoindex/assets/js/tablesort.number.js |
| openlitespeed/share/autoindex/assets/js/tablesort.js |
| openlitespeed/share/autoindex/assets/css/ |
| openlitespeed/share/autoindex/assets/css/autoindex.css |
| openlitespeed/share/autoindex/autoindex_include.php |
| openlitespeed/share/autoindex/bwlimit.html |
| openlitespeed/share/autoindex/default_nojs.php |
| openlitespeed/share/autoindex/default.php |
| openlitespeed/install.sh |
| openlitespeed/fcgi-bin/ |
| openlitespeed/fcgi-bin/lsperld.fpl |
| openlitespeed/fcgi-bin/lsnode.js |
| openlitespeed/fcgi-bin/RackRunner.rb |
| openlitespeed/admin/ |
| openlitespeed/admin/html.open/ |
| openlitespeed/admin/html.open/view/ |
| openlitespeed/admin/html.open/view/compilePHP.php |
| openlitespeed/admin/html.open/view/realtimestats.php |
| openlitespeed/admin/html.open/view/UIBase.php |
| openlitespeed/admin/html.open/view/serviceMgr.php |
| openlitespeed/admin/html.open/view/confMgr.php |
| openlitespeed/admin/html.open/view/ajax_data.php |
| openlitespeed/admin/html.open/view/UIProperty.php |
| openlitespeed/admin/html.open/view/logviewer.php |
| openlitespeed/admin/html.open/view/dashboard.php |
| openlitespeed/admin/html.open/view/inc/ |
| openlitespeed/admin/html.open/view/inc/global.php |
| openlitespeed/admin/html.open/view/inc/auth.php |
| openlitespeed/admin/html.open/view/inc/nav.php |
| openlitespeed/admin/html.open/view/inc/configui.php |
| openlitespeed/admin/html.open/view/inc/header.php |
| openlitespeed/admin/html.open/view/inc/scripts.php |
| openlitespeed/admin/html.open/res/ |
| openlitespeed/admin/html.open/res/fonts/ |
| openlitespeed/admin/html.open/res/fonts/FontAwesome.otf |
| openlitespeed/admin/html.open/res/fonts/glyphicons-halflings-regular.svg |
| openlitespeed/admin/html.open/res/fonts/glyphicons-halflings-regular.ttf |
| openlitespeed/admin/html.open/res/fonts/open-sans-v17-latin-700italic.woff |
| openlitespeed/admin/html.open/res/fonts/fontawesome-webfont.woff |
| openlitespeed/admin/html.open/res/fonts/open-sans-v17-latin-regular.woff2 |
| openlitespeed/admin/html.open/res/fonts/open-sans-v17-latin-regular.woff |
| openlitespeed/admin/html.open/res/fonts/open-sans-v17-latin-700italic.woff2 |
| openlitespeed/admin/html.open/res/fonts/open-sans-v17-latin-italic.woff |
| openlitespeed/admin/html.open/res/fonts/fontawesome-webfont.eot |
| openlitespeed/admin/html.open/res/fonts/fontawesome-webfont.svg |
| openlitespeed/admin/html.open/res/fonts/glyphicons-halflings-regular.woff |
| openlitespeed/admin/html.open/res/fonts/open-sans-v17-latin-300.woff |
| openlitespeed/admin/html.open/res/fonts/open-sans-v17-latin-700.woff |
| openlitespeed/admin/html.open/res/fonts/fontawesome-webfont.ttf |
| openlitespeed/admin/html.open/res/fonts/open-sans-v17-latin-italic.woff2 |
| openlitespeed/admin/html.open/res/fonts/glyphicons-halflings-regular.eot |
| openlitespeed/admin/html.open/res/fonts/open-sans-v17-latin-300.woff2 |
| openlitespeed/admin/html.open/res/fonts/open-sans-v17-latin-700.woff2 |
| openlitespeed/admin/html.open/res/img/ |
| openlitespeed/admin/html.open/res/img/lsws_bolt.svg |
| openlitespeed/admin/html.open/res/img/product_logo.svg |
| openlitespeed/admin/html.open/res/img/hue.png |
| openlitespeed/admin/html.open/res/img/ribbon.png |
| openlitespeed/admin/html.open/res/img/icons/ |
| openlitespeed/admin/html.open/res/img/icons/filter.gif |
| openlitespeed/admin/html.open/res/img/icons/form.gif |
| openlitespeed/admin/html.open/res/img/icons/search.gif |
| openlitespeed/admin/html.open/res/img/icons/play.gif |
| openlitespeed/admin/html.open/res/img/icons/servlet_engine.gif |
| openlitespeed/admin/html.open/res/img/icons/adminconfig.gif |
| openlitespeed/admin/html.open/res/img/icons/serverconfig.gif |
| openlitespeed/admin/html.open/res/img/icons/shield.gif |
| openlitespeed/admin/html.open/res/img/icons/module.gif |
| openlitespeed/admin/html.open/res/img/icons/info.gif |
| openlitespeed/admin/html.open/res/img/icons/link.gif |
| openlitespeed/admin/html.open/res/img/icons/application.gif |
| openlitespeed/admin/html.open/res/img/icons/cgi.gif |
| openlitespeed/admin/html.open/res/img/icons/down.gif |
| openlitespeed/admin/html.open/res/img/icons/administrator.gif |
| openlitespeed/admin/html.open/res/img/icons/record.gif |
| openlitespeed/admin/html.open/res/img/icons/module_handler.gif |
| openlitespeed/admin/html.open/res/img/icons/favicon.ico |
| openlitespeed/admin/html.open/res/img/icons/ls_sapi.gif |
| openlitespeed/admin/html.open/res/img/icons/web_server.gif |
| openlitespeed/admin/html.open/res/img/icons/web_link.gif |
| openlitespeed/admin/html.open/res/img/icons/load_balancer.gif |
| openlitespeed/admin/html.open/res/img/icons/debug.gif |
| openlitespeed/admin/html.open/res/img/icons/fast_cgi.gif |
| openlitespeed/admin/html.open/res/img/icons/graph.gif |
| openlitespeed/admin/html.open/res/img/icons/up.gif |
| openlitespeed/admin/html.open/res/img/icons/database.gif |
| openlitespeed/admin/html.open/res/img/icons/file.gif |
| openlitespeed/admin/html.open/res/img/icons/help.png |
| openlitespeed/admin/html.open/res/img/icons/report.gif |
| openlitespeed/admin/html.open/res/img/icons/network.gif |
| openlitespeed/admin/html.open/res/img/icons/stop.gif |
| openlitespeed/admin/html.open/res/img/icons/edit.gif |
| openlitespeed/admin/html.open/res/img/icons/web.gif |
| openlitespeed/admin/html.open/res/img/icons/redirect.gif |
| openlitespeed/admin/html.open/res/img/icons/trash.gif |
| openlitespeed/admin/html.open/res/img/icons/lock.gif |
| openlitespeed/admin/html.open/res/img/icons/script.gif |
| openlitespeed/admin/html.open/res/img/icons/controlpanel.gif |
| openlitespeed/admin/html.open/res/img/icons/refresh.gif |
| openlitespeed/admin/html.open/res/img/sort_asc.png |
| openlitespeed/admin/html.open/res/img/sa-dark.png |
| openlitespeed/admin/html.open/res/img/clear.png |
| openlitespeed/admin/html.open/res/img/minus.png |
| openlitespeed/admin/html.open/res/img/ajax-loader.gif |
| openlitespeed/admin/html.open/res/img/mybg.png |
| openlitespeed/admin/html.open/res/img/sort_asc_disabled.png |
| openlitespeed/admin/html.open/res/img/favicon/ |
| openlitespeed/admin/html.open/res/img/favicon/favicon.ico |
| openlitespeed/admin/html.open/res/img/alpha.png |
| openlitespeed/admin/html.open/res/img/blank.gif |
| openlitespeed/admin/html.open/res/img/vt-menu.png |
| openlitespeed/admin/html.open/res/img/product_logo.gif |
| openlitespeed/admin/html.open/res/img/sort_desc.png |
| openlitespeed/admin/html.open/res/img/plus.png |
| openlitespeed/admin/html.open/res/img/lsws_bolt.png |
| openlitespeed/admin/html.open/res/img/loading.gif |
| openlitespeed/admin/html.open/res/img/sort_both.png |
| openlitespeed/admin/html.open/res/img/sort_desc_disabled.png |
| openlitespeed/admin/html.open/res/img/mappin-default.png |
| openlitespeed/admin/html.open/res/img/sa-default.png |
| openlitespeed/admin/html.open/res/lang/ |
| openlitespeed/admin/html.open/res/lang/zh-CN_tips.php |
| openlitespeed/admin/html.open/res/lang/ja-JP_tips.php |
| openlitespeed/admin/html.open/res/lang/zh-CN_msg.php |
| openlitespeed/admin/html.open/res/lang/en-US_msg.php |
| openlitespeed/admin/html.open/res/lang/ja-JP_msg.php |
| openlitespeed/admin/html.open/res/lang/util_sortlang.php |
| openlitespeed/admin/html.open/res/lang/en-US_tips.php |
| openlitespeed/admin/html.open/res/js/ |
| openlitespeed/admin/html.open/res/js/libs/ |
| openlitespeed/admin/html.open/res/js/libs/jquery-2.2.4.min.js |
| openlitespeed/admin/html.open/res/js/libs/jquery-ui-1.12.1.min.js |
| openlitespeed/admin/html.open/res/js/app.config.min.js |
| openlitespeed/admin/html.open/res/js/notification/ |
| openlitespeed/admin/html.open/res/js/notification/SmartNotification.js |
| openlitespeed/admin/html.open/res/js/notification/SmartNotification.min.js |
| openlitespeed/admin/html.open/res/js/bootstrap/ |
| openlitespeed/admin/html.open/res/js/bootstrap/bootstrap.min.js |
| openlitespeed/admin/html.open/res/js/lst-app.min.js |
| openlitespeed/admin/html.open/res/js/jcryption/ |
| openlitespeed/admin/html.open/res/js/jcryption/jquery.jcryption.min.js |
| openlitespeed/admin/html.open/res/js/plugin/ |
| openlitespeed/admin/html.open/res/js/plugin/datatables/ |
| openlitespeed/admin/html.open/res/js/plugin/datatables/dataTables.colVis.min.js |
| openlitespeed/admin/html.open/res/js/plugin/datatables/jquery.dataTables.min.js |
| openlitespeed/admin/html.open/res/js/plugin/datatables/dataTables.tableTools.min.js |
| openlitespeed/admin/html.open/res/js/plugin/datatables/dataTables.bootstrap.min.js |
| openlitespeed/admin/html.open/res/js/plugin/datatables/swf/ |
| openlitespeed/admin/html.open/res/js/plugin/datatables/swf/copy_csv_xls_pdf.swf |
| openlitespeed/admin/html.open/res/js/plugin/datatables/swf/copy_csv_xls.swf |
| openlitespeed/admin/html.open/res/js/plugin/datatables/dataTables.colReorder.min.js |
| openlitespeed/admin/html.open/res/js/plugin/flot/ |
| openlitespeed/admin/html.open/res/js/plugin/flot/jquery.flot.resize.min.js |
| openlitespeed/admin/html.open/res/js/plugin/flot/jquery.flot.tooltip.min.js |
| openlitespeed/admin/html.open/res/js/plugin/flot/jquery.flot.orderBar.min.js |
| openlitespeed/admin/html.open/res/js/plugin/flot/jquery.flot.cust.min.js |
| openlitespeed/admin/html.open/res/js/plugin/flot/jquery.flot.pie.min.js |
| openlitespeed/admin/html.open/res/js/plugin/flot/jquery.flot.fillbetween.min.js |
| openlitespeed/admin/html.open/res/js/plugin/datatable-responsive/ |
| openlitespeed/admin/html.open/res/js/plugin/datatable-responsive/datatables.responsive.min.js |
| openlitespeed/admin/html.open/res/js/plugin/msie-fix/ |
| openlitespeed/admin/html.open/res/js/plugin/msie-fix/jquery.mb.browser.min.js |
| openlitespeed/admin/html.open/res/css/ |
| openlitespeed/admin/html.open/res/css/bootstrap.min.css |
| openlitespeed/admin/html.open/res/css/lockscreen.min.css |
| openlitespeed/admin/html.open/res/css/font-awesome.min.css |
| openlitespeed/admin/html.open/res/css/smartadmin-production.min.css |
| openlitespeed/admin/html.open/res/css/lst-webadmin.min.css |
| openlitespeed/admin/html.open/res/css/googlefonts.css |
| openlitespeed/admin/html.open/lib/ |
| openlitespeed/admin/html.open/lib/CNode.php |
| openlitespeed/admin/html.open/lib/DTblMap.php |
| openlitespeed/admin/html.open/lib/jCryption.php |
| openlitespeed/admin/html.open/lib/DPage.php |
| openlitespeed/admin/html.open/lib/CData.php |
| openlitespeed/admin/html.open/lib/DInfo.php |
| openlitespeed/admin/html.open/lib/PathTool.php |
| openlitespeed/admin/html.open/lib/PlainConfParser.php |
| openlitespeed/admin/html.open/lib/CValidation.php |
| openlitespeed/admin/html.open/lib/CAuthorizer.php |
| openlitespeed/admin/html.open/lib/XmlParser.php |
| openlitespeed/admin/html.open/lib/SInfo.php |
| openlitespeed/admin/html.open/lib/ControllerBase.php |
| openlitespeed/admin/html.open/lib/DTbl.php |
| openlitespeed/admin/html.open/lib/LogViewer.php |
| openlitespeed/admin/html.open/lib/util/ |
| openlitespeed/admin/html.open/lib/util/build_php/ |
| openlitespeed/admin/html.open/lib/util/build_php/build_prepare.template |
| openlitespeed/admin/html.open/lib/util/build_php/BuildConfig.php |
| openlitespeed/admin/html.open/lib/util/build_php/build_install_ext.template |
| openlitespeed/admin/html.open/lib/util/build_php/build_prepare_ext.template |
| openlitespeed/admin/html.open/lib/util/build_php/build_manual_run.template |
| openlitespeed/admin/html.open/lib/util/build_php/build_common.template |
| openlitespeed/admin/html.open/lib/util/build_php/build_install.template |
| openlitespeed/admin/html.open/lib/util/build_php/buildfunc.inc.php |
| openlitespeed/admin/html.open/lib/ows/ |
| openlitespeed/admin/html.open/lib/ows/DPageDef.php |
| openlitespeed/admin/html.open/lib/ows/Product.php |
| openlitespeed/admin/html.open/lib/ows/DTblDef.php |
| openlitespeed/admin/html.open/lib/ows/ConfValidation.php |
| openlitespeed/admin/html.open/lib/ows/Service.php |
| openlitespeed/admin/html.open/lib/ows/RealTimeStats.php |
| openlitespeed/admin/html.open/lib/ows/DAttr.php |
| openlitespeed/admin/html.open/lib/ows/UI.php |
| openlitespeed/admin/html.open/lib/DAttrBase.php |
| openlitespeed/admin/html.open/lib/blowfish.php |
| openlitespeed/admin/html.open/lib/DMsg.php |
| openlitespeed/admin/html.open/lib/DKeywordAlias.php |
| openlitespeed/admin/html.open/lib/DAttrHelp.php |
| openlitespeed/admin/html.open/lib/DTblDefBase.php |
| openlitespeed/admin/html.open/favicon.ico |
| openlitespeed/admin/html.open/index.php |
| openlitespeed/admin/html.open/login.php |
| openlitespeed/admin/conf/ |
| openlitespeed/admin/conf/php.ini |
| openlitespeed/admin/conf/admin_config_ssl.conf.in |
| openlitespeed/admin/conf/admin_config.conf.in |
| openlitespeed/admin/misc/ |
| openlitespeed/admin/misc/uninstall.sh |
| openlitespeed/admin/misc/php.ini |
| openlitespeed/admin/misc/lsup.sh |
| openlitespeed/admin/misc/create_admin_keypair.sh |
| openlitespeed/admin/misc/lsws.rc.gentoo.in |
| openlitespeed/admin/misc/gdb-bt |
| openlitespeed/admin/misc/lsws.rc.in |
| openlitespeed/admin/misc/build_admin_php.sh |
| openlitespeed/admin/misc/admpass.sh |
| openlitespeed/admin/misc/genjCryptionKeyPair.php |
| openlitespeed/admin/misc/testbeta.sh |
| openlitespeed/admin/misc/convertxml.php |
| openlitespeed/admin/misc/convertxml.sh |
| openlitespeed/admin/misc/lshttpd.service.in |
| openlitespeed/admin/misc/htpasswd.php |
| openlitespeed/admin/misc/lscmctl |
| openlitespeed/admin/misc/gzipStatic.sh |
| openlitespeed/admin/misc/rc-inst.sh |
| openlitespeed/admin/misc/rc-uninst.sh |
| openlitespeed/admin/misc/enable_phpa.sh |
| openlitespeed/admin/fcgi-bin/ |
| openlitespeed/admin/fcgi-bin/admin_php5 |
| </pre></html></WRAP> |
| <WRAP color_command><html><pre> |
| <b class=GRN>$</b> <b class=HIY>cd</b> openlitespeed |
| <b class=GRN>$</b> <b class=HIY>sudo</b> ./install.sh |
| </pre></html></WRAP> |
| <WRAP color_result_long><html><pre> |
| INSTALL_TYPE is reinstall |
| Cannot find RUBY installation, remember to fix up the ruby path configuration |
| before you can use our easy RubyOnRails setup. |
| |
$ cd openlitespeed | Target_Dir:/usr/local/lsws User:nobody Group:nobody |
$ sudo ./install.sh | Admin:admin Password:MWMzMDA2 AdminSSL:yes ADMIN_PORT:7080 |
| LSINSTALL_DIR:/home/tomoyan/work/openlitespeed_binary/openlitespeed |
| TEMP_DIR:/tmp/lshttpd PID_FILE:/tmp/lshttpd/lshttpd.pid |
| |
$ sudo systemctl start lshttpd | <b class=GRN>Installing, please wait...</b> |
| |
$ sudo systemctl status lshttpd | Admin SSL enabled! |
● lshttpd.service - OpenLiteSpeed HTTP Server | download comamnd is wget -nv -O |
Loaded: loaded (/usr/lib/systemd/system/lshttpd.service; enabled; vendor preset: disabled) | 2022-10-05 05:01:24 URL:http://cyberpanel.sh/?ip [14/14] -> "/usr/local/lsws/myip" [1] |
Active: active (running) since Tue 2020-01-28 05:52:08 JST; 36min ago | ./functions.sh: 行 1163: openssl: コマンドが見つかりません |
Main PID: 17435 (litespeed) | cp: '/home/tomoyan/work/openlitespeed_binary/openlitespeed/webadmin.crt' を stat できません: そのようなファイルやディレクトリはありません |
CGroup: /system.slice/lshttpd.service | cp: '/home/tomoyan/work/openlitespeed_binary/openlitespeed/webadmin.key' を stat できません: そのようなファイルやディレクトリはありません |
├─17435 openlitespeed (lshttpd - main) | SSL host is [webadmin], use adminSSL |
├─17440 openlitespeed (lscgid) | download comamnd is wget -nv -O |
├─17441 openlitespeed (lshttpd - #01) | 2022-10-05 05:01:30 URL:http://www.litespeedtech.com/packages/lsphp5_bin/x86_64/lsphp5 [4902224/4902224] -> "/usr/local/lsws/admin/fcgi-bin/admin_php" [1] |
├─17442 openlitespeed (lshttpd - #02) | admin_php downloaded. |
├─17443 openlitespeed (lshttpd - #03) | /usr/local/lsws/admin/fcgi-bin/admin_php: error while loading shared libraries: libnsl.so.1: cannot open shared object file: No such file or directory |
└─17444 openlitespeed (lshttpd - #04) | Fedora 36 - x86_64 - Updates 2.2 kB/s | 5.0 kB 00:02 |
| Fedora 36 - x86_64 - Updates 389 kB/s | 3.0 MB 00:07 |
| Fedora Modular 36 - x86_64 - Updates 2.9 kB/s | 4.7 kB 00:01 |
| メタデータの期限切れの最終確認: 0:00:01 時間前の 2022年10月05日 05時01分48秒 に実施しました。 |
| 依存関係が解決しました。 |
| ============================================================================================================== |
| パッケージ アーキテクチャー バージョン リポジトリー サイズ |
| ============================================================================================================== |
| インストール: |
| <b class=GRN>libnsl</b> x86_64 2.35-17.fc36 updates 97 k |
| |
1月 28 05:52:06 cmon-fc systemd[1]: Starting OpenLiteSpeed HTTP Server... | トランザクションの概要 |
1月 28 05:52:06 cmon-fc lswsctrl[124]: [OK] litespeed: pid=137. | ============================================================================================================== |
1月 28 05:52:08 cmon-fc systemd[1]: Started OpenLiteSpeed HTTP Server. | インストール 1 パッケージ |
| |
$ sudo firewall-cmd --set-default-zone=FedoraServer | ダウンロードサイズの合計: 97 k |
$ sudo firewall-cmd --permanent --add-service=http | インストール後のサイズ: 100 k |
$ sudo firewall-cmd --permanent --add-service=https | パッケージのダウンロード: |
$ sudo firewall-cmd --reload | libnsl-2.35-17.fc36.x86_64.rpm 225 kB/s | 97 kB 00:00 |
</code> | -------------------------------------------------------------------------------------------------------------- |
| 合計 67 kB/s | 97 kB 00:01 |
| トランザクションの確認を実行中 |
| トランザクションの確認に成功しました。 |
| トランザクションのテストを実行中 |
| トランザクションのテストに成功しました。 |
| トランザクションを実行中 |
| 準備 : 1/1 |
| インストール中 : libnsl-2.35-17.fc36.x86_64 1/1 |
| scriptletの実行中: libnsl-2.35-17.fc36.x86_64 1/1 |
| 検証 : libnsl-2.35-17.fc36.x86_64 1/1 |
| |
| インストール済み: |
| libnsl-2.35-17.fc36.x86_64 |
| |
| 完了しました! |
| |
| x86_64 detected. |
| |
| [Notice] We only have lsphp7 ready for Centos, Debian and Ubuntu in x86_64 architecture. |
| Generating key pair for web console login page, please wait ... |
| /usr/local/lsws/admin/misc/create_admin_keypair.sh: 行 8: openssl: コマンドが見つかりません |
| Using php to generate keys, please be patient ... |
| Created symlink /etc/systemd/system/openlitespeed.service → /usr/lib/systemd/system/lshttpd.service. |
| Created symlink /etc/systemd/system/multi-user.target.wants/lshttpd.service → /usr/lib/systemd/system/lshttpd.service. |
| [OK] lshttpd.service has been successfully installed! |
| <b class=GRN>Updating webcache manager, please waiting ...</b> |
| Downloading latest shared code tar file... |
| Checking tar file md5... |
| Removing existing shared code directory... |
| Extracting downloaded shared code... |
| Removing local shared code tar file... |
| Updating lscmctl script... |
| Done! |
| |
| <b class=GRN>Installation finished, Enjoy!</b> |
| |
| <b class=RED>Your webAdmin password is MWMzMDA2, written to file /usr/local/lsws/adminpasswd.</b> |
| </pre></html></WRAP> |
| <WRAP color_command><html><pre> |
| <b class=GRN>$</b> <b class=HIY>sudo</b> systemctl start lshttpd |
| <b class=GRN>$</b> <b class=HIY>systemctl</b> status lshttpd |
| </pre></html></WRAP> |
| <WRAP color_result><html><pre> |
| ● lshttpd.service - OpenLiteSpeed HTTP Server |
| Loaded: loaded (/usr/lib/systemd/system/lshttpd.service; enabled; vendor preset: disabled) |
| Active: activating (start) since Wed 2022-10-05 05:09:09 JST; 866ms ago |
| Cntrl PID: 28768 (lswsctrl) |
| CGroup: /system.slice/lshttpd.service |
| ├─ 28768 /bin/sh /usr/local/lsws/bin/lswsctrl start |
| ├─ 28789 "openlitespeed (lscgid)" |
| └─ 28790 sleep 2 |
| |
| 10月 05 05:09:09 highway-x.fireball.local systemd[1]: Starting lshttpd.service - OpenLiteSpeed HTTP Server... |
| 10月 05 05:09:09 highway-x.fireball.local lswsctrl[28768]: [OK] litespeed: pid=28786. |
| </pre></html></WRAP> |
| <WRAP color_command><html><pre> |
| <b class=GRN>$</b> <b class=HIY>sudo</b> firewall-cmd --set-default-zone=FedoraServer |
| <b class=GRN>$</b> <b class=HIY>sudo</b> firewall-cmd --permanent --add-service={http,https} |
| <b class=GRN>$</b> <b class=HIY>sudo</b> firewall-cmd --reload |
| </pre></html></WRAP> |
| </WRAP> |
※インストール先は **/usr/local/lsws** である。\\ | ※インストール先は **/usr/local/lsws** である。\\ |
| <WRAP color_term> |
| <WRAP color_command><html><pre> |
| <b class=GRN>$</b> <b class=HIY>ll</b> /usr/local/lsws |
| </pre></html></WRAP> |
| <WRAP color_result><html><pre> |
| 合計 44 |
| drwxr-xr-x 1 root root 46 10月 5 05:01 <b class=HIB>Example</b> |
| -rw-r--r-- 1 root root 35147 10月 5 05:01 GPL.txt |
| -rw-r--r-- 1 root root 7 10月 5 05:01 VERSION |
| drwxr-xr-x 1 root root 52 10月 5 05:03 <b class=HIB>add-ons</b> |
| drwxr-xr-x 1 root root 80 10月 5 05:01 <b class=HIB>admin</b> |
| -rw------- 1 root root 41 10月 5 05:01 adminpasswd |
| drwxr-xr-x 1 nobody nobody 0 10月 5 05:01 <b class=HIB>autoupdate</b> |
| drwxr-xr-x 1 root root 0 10月 5 05:01 <b class=HIB>backup</b> |
| drwxr-xr-x 1 root root 116 10月 5 05:03 <b class=HIB>bin</b> |
| drwxr-xr-x 1 nobody nobody 54 10月 5 05:08 <b class=HIB>cachedata</b> |
| drwx--x--- 1 nobody nobody 0 10月 5 05:12 <b class=HIB>cgid</b> |
| drwxr-x--- 1 lsadm nobody 212 10月 5 05:08 <b class=HIB>conf</b> |
| drwxr-xr-x 1 root root 1898 10月 5 05:01 <b class=HIB>docs</b> |
| drwxr-xr-x 1 root root 88 10月 5 05:01 <b class=HIB>fcgi-bin</b> |
| drwxr-xr-x 1 root root 0 10月 5 05:01 <b class=HIB>gdata</b> |
| drwxr-xr-x 1 root root 0 10月 5 05:01 <b class=HIB>lib</b> |
| drwxr-x--- 1 root nobody 64 10月 5 05:08 <b class=HIB>logs</b> |
| drwxr-xr-x 1 root root 52 10月 5 05:01 <b class=HIB>lsrecaptcha</b> |
| drwxr-xr-x 1 root root 142 10月 5 05:08 <b class=HIB>modules</b> |
| drwxr-xr-x 1 root root 0 10月 5 05:01 <b class=HIB>php</b> |
| drwx------ 1 lsadm lsadm 0 10月 5 05:01 <b class=HIB>phpbuild</b> |
| drwxr-xr-x 1 root root 18 10月 5 05:01 <b class=HIB>share</b> |
| drwxr-xr-x 1 nobody nobody 64 10月 5 05:08 <b class=HIB>tmp</b> |
| </pre></html></WRAP> |
| </WRAP> |
| |
| ==== OpenLiteSpeed Welcome ページ ==== |
[[http://localhost:8088|]] にアクセスする。\\ | [[http://localhost:8088|]] にアクセスする。\\ |
{{:linux:openlitespeed_example.png?640|OpenLiteSpeed Example}}\\ | {{linux:openlitespeed_example.png?640|OpenLiteSpeed Example}}\\ |
| |
==== Demos の phpinfo が何も表示されない場合 ==== | ==== 管理画面の管理者ユーザー/パスワード変更 ==== |
恐らく libnsl がシステムにインストールされていないのでインストールする。\\ | <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]]\\ |
| ソースコード: [[git>litespeedtech/openlitespeed|GitHub - litespeedtech/openlitespeed: Our high-performance, lightweight, open source HTTP server]]\\ |
| |
| ソースコードのダウンロード🤤\\ |
| <WRAP color_term> |
| <WRAP color_command><html><pre> |
| <b class=GRN>$</b> <b class=HIY>cd</b> ~/work |
| <b class=GRN>$</b> <b class=HIY>git</b> clone --depth 1 https://github.com/litespeedtech/openlitespeed.git |
| </pre></html></WRAP> |
| <WRAP color_result><html><pre> |
| Cloning into 'openlitespeed'... |
| remote: Enumerating objects: 1888, done. |
| remote: Counting objects: 100% (1888/1888), done. |
| remote: Compressing objects: 100% (1739/1739), done. |
| remote: Total 1888 (delta 679), reused 572 (delta 108), pack-reused 0 |
| Receiving objects: 100% (1888/1888), 7.97 MiB | 2.20 MiB/s, done. |
| Resolving deltas: 100% (679/679), done. |
| </pre></html></WRAP> |
| </WRAP> |
| |
| Linux を最新に更新する🤔\\ |
| <WRAP color_term> |
| <WRAP color_command><html><pre> |
| <b class=GRN>$</b> <b class=HIY>sudo</b> dnf update -y |
| </pre></html></WRAP> |
| <WRAP color_result><html><pre> |
| </pre></html></WRAP> |
| </WRAP> |
| |
| ビルドする🤤\\ |
| <WRAP color_term> |
| <WRAP color_command><html><pre> |
| <b class=GRN>$</b> <b class=HIY>cd</b> openlitespeed/ |
| <b class=GRN>$</b> <b class=HIY>sudo</b> ./build.sh |
| </pre></html></WRAP> |
| <WRAP color_result><html><pre> |
| </pre></html></WRAP> |
| </WRAP> |
| |
| しかし、これは Fedora 36 向けには作られていない😅\\ |
| <WRAP color_term> |
| <WRAP color_result><html><pre> |
| OS is Linux, APP_MGR_CMD is dnf. |
| メタデータの期限切れの最終確認: 0:22:36 時間前の 2022年09月27日 06時27分22秒 に実施しました。 |
| 依存関係が解決しました。 |
| 行うべきことはありません。 |
| 完了しました! |
| メタデータの期限切れの最終確認: 0:22:43 時間前の 2022年09月27日 06時27分22秒 に実施しました。 |
| 一致した引数がありません: epel-release |
| エラー: 一致するものが見つかりません: epel-release |
| This script only works on 7/8/9 for centos family._Static_assert |
| </pre></html></WRAP> |
| </WRAP> |
| |
| <WRAP mincode><code> |
| This script only works on 7/8/9 for centos family._Static_assert |
| このスクリプトは、centos ファミリの 7/8/9 でのみ機能します。_Static_assert😥 |
| </code></WRAP> |
| |
| [[.openlitespeed:fedora_support_for_build_scripts|OpenLiteSpeed ビルドスクリプトの Fedora 対応🤤]]\\ |
| |
| |
| ===== WSGI Web アプリの実行 ===== |
| 参考文献: [[https://openlitespeed.org/kb/python-wsgi-applications/|Running Python WSGI Apps with LSAPI • OpenLiteSpeed]]\\ |
| [[https://www.litespeedtech.com/docs/lsapi/python|Documentation for Python LiteSpeed Server API - LiteSpeed Technologies]]\\ |
| |
| ==== Python ライブラリのインストール ==== |
<code> | <code> |
$ sudo dnf install libnsl -y | $ sudo dnf install python3-devel python3-pip |
</code> | </code> |
[[http://localhost:8088/phpinfo.php|]]\\ | |
{{:linux:openlitespeed_phpinfo.png?640|Demos phpinfo}}\\ | |
| |
==== ソースコードのビルド ==== | ==== Python モジュールのインストール ==== |
※configure でエラーになり上手く行かない。\\ | [[https://www.litespeedtech.com/open-source/litespeed-sapi/download|LiteSpeed Server API Downloads - LiteSpeed Technologies]] より Python Module をダウンロードしてインストールする。\\ |
参考文献: [[https://openlitespeed.org/kb/installation-from-source-code/|OpenLiteSpeed installation from source code • OpenLiteSpeed]]\\ | <WRAP prewrap 100%> |
依存パッケージのインストール。\\ | |
<code> | <code> |
$ sudo dnf install gcc gcc-c++ make autoconf glibc rcs | $ curl -O https://www.litespeedtech.com/packages/lsapi/wsgi-lsapi-1.5.tgz |
$ sudo dnf install pcre-devel openssl-devel expat-devel geoip-devel zlib-devel udns-devel | $ tar xvzf wsgi-lsapi-1.5.tgz |
| $ cd wsgi-lsapi-1.5 |
| $ python ./configure.py |
| Done. |
| $ make |
| $ sudo mv lswsgi /usr/local/lsws/fcgi-bin/lswsgi-1.5 |
| $ sudo chown root.root /usr/local/lsws/fcgi-bin/lswsgi-1.5 |
| $ sudo ln -sf /usr/local/lsws/fcgi-bin/lswsgi-1.5 /usr/local/lsws/fcgi-bin/lswsgi |
</code> | </code> |
| </WRAP> |
| [[https://www.litespeedtech.com/docs/lsapi|LSAPI Documentation - LiteSpeed Technologies]]\\ |
| [[https://www.litespeedtech.com/docs/lsapi/python|Documentation for Python LiteSpeed Server API - LiteSpeed Technologies]]\\ |
| |
ソースコードのダウンロード。\\ | ==== Python 仮想環境の作成 ==== |
<code> | <code> |
$ git clone https://github.com/litespeedtech/openlitespeed.git | $ cd /usr/local/lsws/Example/ |
| $ sudo mkdir py3dj3_venv |
| $ sudo chmod 777 py3dj3_venv |
| $ python3 -m venv py3dj3_venv |
| $ cd py3dj3_venv |
| $ . bin/activate |
| (py3dj3_venv) $ |
</code> | </code> |
| |
configure & make\\ | ==== Django のインストールと設定 ==== |
<code> | <code> |
$ cd openlitespeed | (py3dj3_venv) $ pip install django |
$ ./configure | (py3dj3_venv) $ django-admin startproject django_project |
$ make | |
</code> | </code> |
| |
===== LiteSpeed WebAdmin Console ===== | ==== Django アプリケーションの作成 ==== |
[[https://localhost:7080/|]] にアクセスする。\\ | <code> |
{{:linux:openlitespeed_webadmin_001.png?640|LiteSpeed WebAdmin 001}}\\ | (py3dj3_venv) $ cd django_project |
| (py3dj3_venv) $ python manage.py startapp django_app |
| </code> |
| |
| ===== トラブルシューティング ===== |
| |
| ==== ./install.sh で インストール時に 「openssl: コマンドが見つかりません」と表示される🤔 ==== |
| [[http://localhost:8088]] にもアクセスできない😥\\ |
| **openssl** パッケージが足りていなくて、インストールにも失敗している😥\\ |
| <WRAP color_term> |
| <WRAP color_command><html><pre> |
| <b class=GRN>$</b> <b class=HIY>sudo</b> ./install.sh |
| </pre></html></WRAP> |
| <WRAP color_result><html><pre> |
| ... |
| download comamnd is wget -nv -O |
| 2022-10-05 05:01:24 URL:http://cyberpanel.sh/?ip [14/14] -> "/usr/local/lsws/myip" [1] |
| ./functions.sh: 行 1163: openssl: コマンドが見つかりません |
| cp: '/home/tomoyan/work/openlitespeed_binary/openlitespeed/webadmin.crt' を stat できません: そのようなファイルやディレクトリはありません |
| cp: '/home/tomoyan/work/openlitespeed_binary/openlitespeed/webadmin.key' を stat できません: そのようなファイルやディレクトリはありません |
| SSL host is [webadmin], use adminSSL |
| ... |
| </pre></html></WRAP> |
| </WRAP> |
| |
| **openssl** パッケージをインストールしてから ''sudo ./install.sh'' も再実行する必要がある...🤔\\ |
| <WRAP color_term> |
| <WRAP color_command><html><pre> |
| <b class=GRN>$</b> <b class=HIY>sudo</b> dnf install openssl |
| </pre></html></WRAP> |
| <WRAP color_result_long><html><pre> |
| メタデータの期限切れの最終確認: 0:20:26 時間前の 2022年10月05日 05時02分04秒 に実施しました。 |
| 依存関係が解決しました。 |
| ============================================================================================================== |
| パッケージ アーキテクチャー バージョン リポジトリー サイズ |
| ============================================================================================================== |
| インストール: |
| <b class=GRN>openssl</b> x86_64 1:3.0.5-1.fc36 updates 1.1 M |
| |
| トランザクションの概要 |
| ============================================================================================================== |
| インストール 1 パッケージ |
| |
| ダウンロードサイズの合計: 1.1 M |
| インストール後のサイズ: 1.8 M |
| これでよろしいですか? [y/N]: y |
| パッケージのダウンロード: |
| openssl-3.0.5-1.fc36.x86_64.rpm 1.6 MB/s | 1.1 MB 00:00 |
| -------------------------------------------------------------------------------------------------------------- |
| 合計 507 kB/s | 1.1 MB 00:02 |
| トランザクションの確認を実行中 |
| トランザクションの確認に成功しました。 |
| トランザクションのテストを実行中 |
| トランザクションのテストに成功しました。 |
| トランザクションを実行中 |
| 準備 : 1/1 |
| インストール中 : openssl-1:3.0.5-1.fc36.x86_64 1/1 |
| scriptletの実行中: openssl-1:3.0.5-1.fc36.x86_64 1/1 |
| 検証 : openssl-1:3.0.5-1.fc36.x86_64 1/1 |
| |
| インストール済み: |
| openssl-1:3.0.5-1.fc36.x86_64 |
| |
| 完了しました! |
| </pre></html></WRAP> |
| <WRAP color_command><html><pre> |
| <b class=GRN>$</b> <b class=HIY>sudo</b> ./install.sh |
| </pre></html></WRAP> |
| <WRAP color_result_long><html><pre> |
| Openlitespeed web server exists, will upgrade. |
| [ERROR] litespeed is not running. |
| INSTALL_TYPE is upgrade |
| Cannot find RUBY installation, remember to fix up the ruby path configuration |
| before you can use our easy RubyOnRails setup. |
| |
| Target_Dir:/usr/local/lsws User:nobody Group:nobody |
| Admin:admin Password:MWMzMDA2 AdminSSL:yes ADMIN_PORT:7080 |
| LSINSTALL_DIR:/home/tomoyan/work/openlitespeed_binary/openlitespeed |
| TEMP_DIR:/tmp/lshttpd PID_FILE:/tmp/lshttpd/lshttpd.pid |
| |
| <b class=GRN>Installing, please wait...</b> |
| |
| Admin SSL enabled! |
| download comamnd is wget -nv -O |
| 2022-10-05 05:25:32 URL:http://cyberpanel.sh/?ip [14/14] -> "/usr/local/lsws/myip" [1] |
| ......+.+...+..+...+.+...+...+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*.....+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*........+........+......+.........+....+........+.......+..+.+..+..........+.....+...+...+.+.........+..+.......+......+......+.....+......+.......+..+.+........+..........+..........................+..........+..................+.....+.+......+.....+.+..+...+...+.+...............+...+..+.+............+..+.+.........+.....+....+..............+.+.....+.+...+...+...+.....+.......+............+.....+......+....+..+....+.....+....+.....+.....................+.+...+...+..+............+.+.........+.....+......+.........+......+.......+.......................+....+........+..........+......+.....+.+.....+.........+......+.+.........+...+..+.+........+.+...+.................+....+..+.......+........+...+............+...+................+.....+....+..+...+.+.....+.+.........+...........+.......+..+...+...+.........+...+.+.........+.....+...+............+.+......+.........+......+...+..+.+.....+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
| .+.+.....+...+......+....+......+.....+....+..+...+............+.......+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*.+...+..+.+........+.+.....+...+......+.+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*..+........+...............+.......+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
| ----- |
| SSL host is [webadmin], use adminSSL |
| groupadd: グループ 'lsadm' は既に存在します |
| useradd: ユーザ 'lsadm' は既に存在します |
| download comamnd is wget -nv -O |
| admin_php found and mv to admin_php.bak |
| 2022-10-05 05:25:38 URL:http://www.litespeedtech.com/packages/lsphp5_bin/x86_64/lsphp5 [4902224/4902224] -> "/usr/local/lsws/admin/fcgi-bin/admin_php" [1] |
| admin_php downloaded. |
| [OK] lshttpd.service has been successfully installed! |
| <b class=GRN>Updating webcache manager, please waiting ...</b> |
| Downloading latest shared code tar file... |
| Checking tar file md5... |
| Removing existing shared code directory... |
| Extracting downloaded shared code... |
| Removing local shared code tar file... |
| Updating lscmctl script... |
| Done! |
| |
| <b class=GRN>Installation finished, Enjoy!</b> |
| |
| <b class=RED>Your webAdmin password not changed.</b> |
| </pre></html></WRAP> |
| </WRAP> |
| |
==== LiteSpeed WebAdmin Console で 503 Server Unavailable エラーが発生する場合 ==== | ==== LiteSpeed WebAdmin Console で 503 Server Unavailable エラーが発生する場合 ==== |
| <wrap em>※バイナリーインストールの ''./install.sh'' で RedHat 系の場合は libnsl パッケージのインストールを実行する考慮がされたので、この問題はおそらく今後は起きない🤔</wrap>\\ |
恐らく libnsl がシステムにインストールされていないのでインストールする。\\ | 恐らく libnsl がシステムにインストールされていないのでインストールする。\\ |
<code> | <code> |
</code> | </code> |
| |
==== LiteSpeed WebAdmin Console のユーザー/パスワードが分からない ==== | ==== Demos の phpinfo が何も表示されない場合 ==== |
初期設定では admin/123456 である。\\ | <wrap em>※バイナリーインストールの ''./install.sh'' で RedHat 系の場合は libnsl パッケージのインストールを実行する考慮がされたので、この問題はおそらく今後は起きない🤔</wrap>\\ |
| 恐らく libnsl がシステムにインストールされていないのでインストールする。\\ |
| <code> |
| $ sudo dnf install libnsl -y |
| </code> |
| |
| [[http://localhost:8088/phpinfo.php|]]\\ |
| {{:linux:openlitespeed_phpinfo.png?640|Demos phpinfo}}\\ |
| |
| ==== LiteSpeed WebAdmin Console のユーザー/パスワードが分からない場合 ==== |
**/usr/local/lsws/admin/misc/admpass.sh** でリセットできる。\\ | **/usr/local/lsws/admin/misc/admpass.sh** でリセットできる。\\ |
<code> | <code> |
</code> | </code> |
| |
===== WSGI Web アプリの実行 ===== | ==== error while loading shared libraries: libcrypt.so.1: cannot open shared object file: No such file or directory が発生する ==== |
参考文献: [[https://openlitespeed.org/kb/python-wsgi-applications/|Running Python WSGI Apps with LSAPI • OpenLiteSpeed]]\\ | 依存するライブラリがインストールされていないのでインストールする。\\ |
[[https://www.litespeedtech.com/docs/lsapi/python|Documentation for Python LiteSpeed Server API - LiteSpeed Technologies]]\\ | <code> |
| $ sudo dnf install libxcrypt-compat.x86_64 |
| </code> |
| |
==== Python ライブラリのインストール ==== | 参考: [[https://twitter.com/tomoyan596/status/1372607949818843137|「OpenLiteSpeedのインストール手順は、問題に対処して今まで動作していた手順ですが、共有ライブラリが見つからないって言われます。インストールしていますけど何故でしょうねぇ🤔 ../fcgi-bin/admin_php: error while loading shared libraries: ...」 / Twitter]]\\ |
| |
| **libxcrypt-compat は i686 と x86_64 が存在しているので、アーキテクチャを指定せずにインストールすると問題が解消せずに悩みます。😅💦**\\ |
| |
| <WRAP prewrap 100%> |
<code> | <code> |
$ sudo dnf install python3-devel python3-pip | $ cd openlitespeed |
| $ sudo ./install.sh |
</code> | </code> |
| </WRAP> |
| <WRAP prewrap 100% #result_long> |
| <code> |
| [sudo] password for tomoyan: |
| Openlitespeed web server exists, will upgrade. |
| [ERROR] litespeed is not running. |
| INSTALL_TYPE is upgrade |
| Target_Dir:/usr/local/lsws User:nobody Group:nobody |
| Admin:admin Password:ZDdhN2E3 AdminSSL:yes ADMIN_PORT:7080 |
| LSINSTALL_DIR:/home/tomoyan/openlitespeed |
| TEMP_DIR:/tmp/lshttpd PID_FILE:/tmp/lshttpd/lshttpd.pid |
| |
==== Python モジュールのインストール ==== | Installing, please wait... |
[[https://www.litespeedtech.com/open-source/litespeed-sapi/download|LiteSpeed Server API Downloads - LiteSpeed Technologies]] より Python Module をダウンロードしてインストールする。\\ | |
| Admin SSL enabled! |
| download comamnd is wget -nv -O |
| 2021-03-19 02:45:34 URL:http://cyberpanel.sh/?ip [15] -> "/usr/local/lsws/myip" [1] |
| Generating a RSA private key |
| .........................................................+++++ |
| ...........+++++ |
| writing new private key to 'webadmin.key' |
| ----- |
| SSL host is [webadmin], use adminSSL |
| groupadd: group 'lsadm' already exists |
| useradd: user 'lsadm' already exists |
| download comamnd is wget -nv -O |
| admin_php found and mv to admin_php.bak |
| 2021-03-19 02:45:45 URL:http://www.litespeedtech.com/packages/lsphp5_bin/x86_64/lsphp5 [4902224/4902224] -> "/usr/local/lsws/admin/fcgi-bin/admin_php" [1] |
| admin_php downloaded. |
| Generating key pair for web console login page, please wait ... |
| Generating RSA private key, 512 bit long modulus (2 primes) |
| ....................................+++++++++++++++++++++++++++ |
| ..+++++++++++++++++++++++++++ |
| e is 65537 (0x010001) |
| ../fcgi-bin/admin_php: error while loading shared libraries: libcrypt.so.1: cannot open shared object file: No such file or directory |
| chown: cannot access '/usr/local/lsws/admin/conf/jcryption_keypair': No such file or directory |
| chmod: cannot access '/usr/local/lsws/admin/conf/jcryption_keypair': No such file or directory |
| [OK] lshttpd.service has been successfully installed! |
| Updating webcache manager, please waiting ... |
| Downloading latest shared code tar file... |
| Checking tar file md5... |
| Removing existing shared code directory... |
| Extracting downloaded shared code... |
| Removing local shared code tar file... |
| Updating lscmctl script... |
| Done! |
| |
| Installation finished, Enjoy! |
| |
| Your webAdmin password not changed. |
| </code> |
| <wrap em> |
| ../fcgi-bin/admin_php: error while loading shared libraries: libcrypt.so.1: cannot open shared object file: No such file or directory |
| </wrap> |
| </WRAP> |
| |
| <WRAP prewrap 100%> |
<code> | <code> |
$ curl -O https://www.litespeedtech.com/packages/lsapi/wsgi-lsapi-1.5.tgz | $ ldd /usr/local/lsws/admin/fcgi-bin/admin_php |
$ tar xvzf wsgi-lsapi-1.5.tgz | |
$ cd wsgi-lsapi-1.5 | |
$ | |
</code> | </code> |
| </WRAP> |
| <WRAP prewrap 100% #result> |
| <code> |
| linux-vdso.so.1 (0x00007ffc859b6000) |
| libcrypt.so.1 => not found |
| libresolv.so.2 => /lib64/libresolv.so.2 (0x00007f45d3468000) |
| librt.so.1 => /lib64/librt.so.1 (0x00007f45d345d000) |
| libm.so.6 => /lib64/libm.so.6 (0x00007f45d3317000) |
| libdl.so.2 => /lib64/libdl.so.2 (0x00007f45d3310000) |
| libnsl.so.1 => /lib64/libnsl.so.1 (0x00007f45d32f4000) |
| libc.so.6 => /lib64/libc.so.6 (0x00007f45d3127000) |
| libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f45d3105000) |
| /lib64/ld-linux-x86-64.so.2 (0x00007f45d3489000) |
| </code> |
| </WRAP> |
| |
===== トラブルシューティング ===== | <WRAP prewrap 100%> |
| <code> |
| $ sudo ldconfig -p | grep libcrypt |
| </code> |
| </WRAP> |
| <WRAP prewrap 100% #result> |
| <code> |
| libcryptsetup.so.12 (libc6,x86-64) => /lib64/libcryptsetup.so.12 |
| libcrypto.so.1.1 (libc6,x86-64) => /lib64/libcrypto.so.1.1 |
| libcrypt.so.2 (libc6,x86-64) => /lib64/libcrypt.so.2 |
| libcrypt.so.2 (libc6) => /lib/libcrypt.so.2 |
| libcrypt.so.1 (libc6) => /lib/libcrypt.so.1 |
| </code> |
| </WRAP> |
| |
==== error while loading shared libraries: libcrypt.so.1: cannot open shared object file: No such file or directory が発生する ==== | **これは x86_64 ではない i686 の libcrypt.so.1 がインストールされていて admin_php で共有ライブラリが見つからないと言われます。**\\ |
依存するライブラリがインストールされていないのでインストールする。\\ | <wrap em> |
| libcrypt.so.1 (libc6) => /lib/libcrypt.so.1 |
| </wrap> |
| |
| i686 をアンインストールして x86_64 をインストールし直します。\\ |
| <WRAP prewrap 100%> |
<code> | <code> |
$ sudo dnf install libxcrypt-compat | $ sudo dnf remove libxcrypt-compat |
| $ sudo dnf install libxcrypt-compat.x86_64 |
</code> | </code> |
| </WRAP> |
| |
| <WRAP prewrap 100%> |
| <code> |
| $ sudo ldconfig -p | grep libcrypt |
| </code> |
| </WRAP> |
| <WRAP prewrap 100% #result> |
| <code> |
| libcryptsetup.so.12 (libc6,x86-64) => /lib64/libcryptsetup.so.12 |
| libcrypto.so.1.1 (libc6,x86-64) => /lib64/libcrypto.so.1.1 |
| libcrypt.so.2 (libc6,x86-64) => /lib64/libcrypt.so.2 |
| libcrypt.so.1 (libc6,x86-64) => /lib64/libcrypt.so.1 |
| </code> |
| </WRAP> |
| |
| <WRAP prewrap 100%> |
| <code> |
| $ ldd /usr/local/lsws/admin/fcgi-bin/admin_php |
| </code> |
| </WRAP> |
| <WRAP prewrap 100% #result> |
| <code> |
| linux-vdso.so.1 (0x00007ffd7d2db000) |
| libcrypt.so.1 => /lib64/libcrypt.so.1 (0x00007f5d0fd21000) |
| libresolv.so.2 => /lib64/libresolv.so.2 (0x00007f5d0fd07000) |
| librt.so.1 => /lib64/librt.so.1 (0x00007f5d0fcfc000) |
| libm.so.6 => /lib64/libm.so.6 (0x00007f5d0fbb6000) |
| libdl.so.2 => /lib64/libdl.so.2 (0x00007f5d0fbaf000) |
| libnsl.so.1 => /lib64/libnsl.so.1 (0x00007f5d0fb93000) |
| libc.so.6 => /lib64/libc.so.6 (0x00007f5d0f9c6000) |
| libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f5d0f9a4000) |
| /lib64/ld-linux-x86-64.so.2 (0x00007f5d0fd62000) |
| </code> |
| |
| x86_64 の libcrypt.so.1 が正常にロードできます🥰\\ |
| <wrap em> |
| libcrypt.so.1 => /lib64/libcrypt.so.1 (0x00007f5d0fd21000) |
| </wrap> |
| </WRAP> |
| |
===== 参考文献 ===== | ===== 参考文献 ===== |
[[https://www.thesslstore.com/knowledgebase/ssl-install/litespeed-ssl-installation/|How to Install an SSL/TLS Certificate In LiteSpeed - The SSL Store™]]\\ | [[https://www.thesslstore.com/knowledgebase/ssl-install/litespeed-ssl-installation/|How to Install an SSL/TLS Certificate In LiteSpeed - The SSL Store™]]\\ |
[[https://www.logw.jp/cloudserver/8557.html|LiteSpeedの管理画面でPHP7をインストールしてみる | logw-ログウ個人的な記録用-]]\\ | [[https://www.logw.jp/cloudserver/8557.html|LiteSpeedの管理画面でPHP7をインストールしてみる | logw-ログウ個人的な記録用-]]\\ |
| [[https://openlitespeed.org/kb/reverse-proxy-basics/|Setting up OpenLiteSpeed as a Reverse Proxy • OpenLiteSpeed]]\\ |
| |
| [[https://chemicloud.com/blog/litespeed-vs-nginx-vs-apache/|Litespeed vs Nginx vs Apache: Which Web Server Is the Best?]]\\ |
| |
| ==== 付録 ==== |
| [[tw>tomoyan596sp/status/1189522004820426753|OpenLiteSpeedをFedora向けに直してみるよ!]]\\ |
| [[tw>tomoyan596sp/status/1221922342164557825|Fedora で OpenLiteSpeed Webサーバーを動作させる方法を久々に更新したよ。]]\\ |
| [[tw>tomoyan596sp/status/1372607949818843137|OpenLiteSpeedのインストール手順は、問題に対処して今まで動作していた手順ですが、共有ライブラリが見つからないって言われます。インストールしていますけど何故でしょうねぇ🤔../fcgi-bin/admin_php: error while loading shared libraries: libcrypt.so.1]]\\ |
| [[tw>tomoyan596sp/status/1574519601018568704|epel-releaseパッケージが無い...🤔 |
| AlmaLinux、CentOS、Debian 、Ubuntuでのビルドしか想定されていないのかも😇]]\\ |
| |