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

日常維護/清理系統垃圾


-----------------------
執行系統升級
-----------------------

apt update -y && apt full-upgrade -y


完整升級過程中若出現  "覆蓋提示",建議保留原有設定  "按 N"



------------------
清理系統垃圾
------------------

清除已下載的舊版套件快取
apt autoclean


移除不再需要的套件
apt autoremove --purge




------------------------------
檢查並處理需要重啟的服務
------------------------------

檢查並處理需要重啟的服務
needrestart -k




-------------------------------
定期檢查日誌
-------------------------------

ls -la /var/log/unattended-upgrades/


tail -f /var/log/unattended-upgrades/unattended-upgrades.log


建議:每週至少檢查一次,確認更新無錯誤

Create an account or sign in to comment

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.