Skip to content
View in the app

A better way to browse. Learn more.

PHP论坛人

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

步驟

Featured Replies

-------------------------------------------------

手搓LNMP前,先完成Debian 13配置

-------------------------------------------------

Debian 13 安裝與配置

----------------

一般配置

----------------

域名解析

使用SFTP代替FTP

Debian 13 安裝 PHP 8.3

-------------------------

安裝 Nginx 官方版本

-------------------------

為了符合 Debian 風格的Nginx版本,還需要手動修改

建立並整合 sites-available 目錄結構、sites-enabled 目錄結構

更改使用者與群組權限為 www-data:www-data

更改 default.conf 預設頁面

建立PHP FastCGI配置

安裝Nginx官方版本、更改主機名稱、虛擬主機設定

安裝Nginx官方版後,手動建立PHP FastCGI配置

錯誤訊息 413 Request Entity Too Large 與 優化 nginx.conf

-------------------------------

MariaDB 11.8 資料庫

-------------------------------

Debian 13 安裝資料庫MariaDB 11.8與配置,VPS 2 vCPU/2GB RAM 優化

------------------

全域核心優化

------------------

Debian 13 系統資源限制調校 Part 2 全域核心優化

------------------

LNMP 整合建議

------------------

LNMP 整合建議:GeoIP / MaxMind 擴充模組

------------------------------------

phpMyAdmin 資料庫管理工具

------------------------------------

預設頁面安裝phpMyAdmin、改 888 port、使用IP當網址、default.conf 優化

phpMyAdmin建立新的資料庫用戶名、資料庫用戶密碼、資料庫名

----------------

一般配置

----------------

安裝acme.sh + Google Public CA 自動續簽SSL憑證

修改 域名.com.conf、IPS論壇偽靜態

設置Cron

----------------------------------------------------

安裝 Elasticsearch 或 OpenSearch 任選其一即可

----------------------------------------------------

Elasticsearch

安裝 Elasticsearch 8.17 強化中文搜尋 (Invision Community 5.0.5 開始採用新版本)

OpenSearch

安裝 OpenSearch 2.5.0 強化中文搜尋 (論壇目前 不支援 此版本)

----------------------------------------------------

選擇「安裝新的論壇」或者是「恢復現有的論壇」

----------------------------------------------------

安裝新的論壇

上傳Invision Community論壇程式、解壓縮、設置權限

安裝新的 Invision Community 5.0 論壇

恢復現有的論壇 (更換伺服器或將論壇還原至指定日期的備份檔)

恢復現有的論壇 DB資料庫 與 Web網站檔案

----------------

一般配置

----------------

Cron執行論壇任務、自動備份DB資料庫、自動備份Web網站檔案

Invision Community論壇啟用 Elasticsearch / OpenSearch 強化中文搜尋

Invision Community論壇啟用偽靜態與自訂友善網址

Invision Community論壇啟用 Redis 加速

Invision Community 5.0.0 ~ 5.0.x 之間的論壇版本升級

Invision Community 5.0 論壇升級後,記得更新中文語言包

每日自動備份、僅保留最近3天備份檔、異地備份

--------------------------------------------------

Fail2ban Part 2

--------------------------------------------------

Part 1 步驟 (暫時只設定SSH防護,等LNMP服務都安裝完畢,再增加Fail2ban的 監獄 (Jail) 設定)

論壇配合Fail2ban,nginx.conf 再次修改

配合Fail2ban,域名.com.conf 也需要修改並加入Fail2ban的設定

域名.com.conf + nginx.conf + Fail2ban (jail.local) 安全加固

---------------------

補充

---------------------

使用 rm 指令刪除整個論壇目錄 (請務必謹慎操作)

Edited by Jack

Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.