CentOS – HTTPS (HTTP + SSL + CA)
WordPress 的需求建議 https://wordpress.org/about/requirements/ 裡面有提到要使用 https ,所謂的 https 就是 http with SSL (Secure Sockets Layer) 或是 TLS (Transport Layer Se […]
WordPress 的需求建議 https://wordpress.org/about/requirements/ 裡面有提到要使用 https ,所謂的 https 就是 http with SSL (Secure Sockets Layer) 或是 TLS (Transport Layer Se […]
測試環境 CentOS 7 64bits + Apache WordPress 上傳檔案 2M 上限是被 PHP 所限制住,我們可以透過 PHP 函數 phpinfo() 來看一下目前關於上傳檔案限制的設定. 用編輯器來鍵入 PHP 程式碼,內容如下 (檔案需儲存在 /var/www/html &# […]
WordPress 的需求建議 https://wordpress.org/about/requirements/ 裡面有提到要使用 https ,所謂的 https 就是 http with SSL (Secure Sockets Layer) 或是 TLS (Transport Layer Se […]
我的 Ubuntu 14.04 透過 ufw 來設定 firewall ,關於 ufw 設定請參考 https://benjr.tw/93733 目前開放的網路埠只有 ssh (port 22) , http (port 80) , https (port 443) 在 /var/log/syslo […]
HTML – 指數函數 210 指數 (exponent or index) HTML – 分隔線 語法很簡單就是 相關參數: size:分隔線 寬度 color:分隔線 顏色 width:分隔線 長度 align:分隔線 對齊方向 “left” 置左 […]
因為 Drupal / WordPress 將資料儲存在 database 中,在 Linux 環境下用的是 MySQL 或是 MariaDB 當做資料庫系統.下面就來簡單瞭解一下資料庫系統. 啟動 MySQL 如果要開機時就啟動 MSQL ,使用下面這個指令,就會在每次開機時啟動 MySQL . […]
基本上架站 CMS (Drupal / WordPress) 我們只要備份網頁 /var/www/html 資料與 Mysql / MariaDB (依據你所使用的資料庫) 的資料庫 /var/lib/mysql 目錄的資料即可.方法有兩種 利用 Linux 的 bash script 加上 cro […]
RedHat / CentOS 當你的 web Server 只有一個 Public IP 時,有可能設置兩個不同網站嗎??如果你使用的是 Apache 當做你的網頁伺服器時答案是可以的.參考 Apach 官方文章 Running several name-based web sites on a […]