Tag: CentOS

  • CentOS 7 安裝、升級 PHP 5.6

    轉眼間當年幫客戶架設的 server 也好幾年了。隨著程式碼的迭代,server 也到了不得不更新的時候了。不過目標沒有很遠,只要把 PHP 5.4 升到 5.6 就可以了。 把升級的過程筆記一下 首先是更新 EPEL 庫 yum install epel-release 或 rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm 接著更新 Remi 庫 rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-7.rpm 檢查系統安裝了哪些和 PHP 相關的套件 rpm -qa | grep php 要升級的話要先移除舊套件。因為 PHP 版更,相關的 extension 都要換成相對應的版本才行。注意以下指令可能也會把 phpmyadmin 一起移除 yum remove php-* 啟用 Remi 庫,用編輯器打開以下檔案 /etc/yum.repos.d/remi.repo 找到這一段… 把 enabled 設為 1 [remi-php56] name=Les…

  • RapidSSL Certificate Not Trusted on Mobile Device

    RapidSSL Certificate Not Trusted on Mobile Device

    之前提到 Mac OS 上怎麼裝 SSL 時,有提到 RapidSSL 這家平價的憑證服務商,因為推薦了不少客戶買這家的憑證,所以碰到問題時也收到不少 抱怨 回饋。 最近幫客戶開發了一套適用 desktop, tablet, phone 的 resposive 網站,並導入了 HTTPS 全站加密傳輸。不過在某些情況下會出現憑證不被信任的情況。經過一番測試才發現好像在手機上比較常發生,尤其是 Google Chrome 瀏覽器。

  • [unfinished] CentOS Server Git Setup

    http://cse.csusb.edu/turner/wiki/CentOS_Server_Git_Setup http://netlog.jpn.org/r271-635/2008/01/apache_ssl_on_fedora_8_1.html http://memo-off.blogspot.tw/2012/03/centosgit.html http://www.bluevariant.com/2012/05/comprehensive-guide-git-gitolite-synology-diskstation/