debian / ubuntu 裝 memcached 跟 pecl memcache

裝 memcached : apt-get install memcached /etc/default/memcached 裡面設 yes –> 啟用 設定檔 /etc/memcached.conf 裝 php5 的 memcache extension apt-get install php5-memcache 會產生 /etc/php5/conf.d/memcache.ini 內容是 extension=memcache.so [memcache] memcache.dbpath=”/var/lib/memcache” memcache.maxreclevel=0 memcache.maxfiles=0 memcache.archivememlim=0 memcache.maxfilesize=0 memcache.maxratio=0 —– 以下是舊的方法, 2010.0630 前 裝 pecl memcache aptitude…

debian / ubuntu , APT HOWTO / Guide / 指令速查表

1. Searching for packages apt-cache sudo apt-cache search package1 2. Getting more Information about a package apt-cache sudo apt-cache show package1 package2 … 3. Installing a package apt-get install sudo apt-get install package1 package2 … sudo apt-get install package1 –reinstall…

[★★★★] debian / ubuntu LAMP : 裝 oracle instant client / sqlplus / oci8 / apache2 config / steps by steps

2016.0202 -rw-r–r–@ 1 rimmon  staff  62587782  8  2  2014 oracle-instantclient12.1-basic-12.1.0.2.0-1.x86_64.rpm -rw-r–r–@ 1 rimmon  staff    634803  8  2  2014 oracle-instantclient12.1-devel-12.1.0.2.0-1.x86_64.rpm -rw-r–r–@ 1 rimmon  staff    852271  8  2  2014 oracle-instantclient12.1-sqlplus-12.1.0.2.0-1.x86_64.rpm   // 2016.0202 —- 裝 pecl/oci8 command: pecl install oci8-2.0.10…