Categories
Uncategorized

Protected: My docker image : monster-lazy-https configure / Self-Signed SSL Certificate

There is no excerpt because this is a protected post.

Categories
Software System/Linux/Unix*

hide index.php codeigniter / htaccess / rewrite mod

change example.com/index.php/news/article/my_article into this : example.com/news/article/  

Categories
System/Linux/Unix*

[memo] Ubuntu LAMP setup / config / etc / network interface / eth0

Categories
DATABASE System/Linux/Unix*

Trace 某 Linux process 的 環境變數 environ

Lazy 的 apache 有作這個設定  export NLS_NAME=”American_Taiwan.UTF8″       838  cd /proc/     840  ps auwwx|grep apache <– 找一個 apache 的 process id , ex: 21192   841  cd 21192   843  cat environ <– 把環境變數列出來   .

Categories
Network service System/Linux/Unix*

amazon aws ami LAMP / NGINX / PHP / memcache steps

// —– Using NGINX + PHP5-FPM sudo apt-get install nginx php5-fpm php5-mysql cd /etc/init.d/ sudo service apache2 stop sudo update-rc.d -f apache2 remove http://yoodey.com/how-install-configure-nginx-php-fpm-memcached-work-drupal-7-ubuntu-1010-maverick Install Memcached sudo apt-get install memcached libmemcached-dev php5-memcached php5-memcache // ==================== Getting a new virtual machine up and running from the default AMI is easy. Here’s my cookbook: Install basic services […]

Categories
Software System/Linux/Unix*

很強的 Message Broker : ActiveMQ

Supports a variety of Cross Language Clients and Protocols from Java, C, C++, C#, Ruby, Perl, Python, PHP Features : http://activemq.apache.org/features-overview.html

Categories
JOB

Protected: 觀察 22:40 – 23:15 apache log 的變化

There is no excerpt because this is a protected post.

Categories
DATABASE JOB

解決用 NFS 當 documentroot 時會當掉的方法

在 apache 的 core document 中的 EnableMMAP Directive 有提到 , With an NFS-mounted DocumentRoot, the httpd may crash due to a segmentation fault if a file is deleted or truncated while the httpd has it memory-mapped. 所以, EnableMMAP Off With a network-mounted DocumentRoot (e.g., NFS or SMB), the kernel may be unable to serve the […]

Categories
DATABASE Programming/php Software System/Linux/Unix*

[★★★★] 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     2013.1225 added 3  apt-get install alien 6  apt-get install nfs-common 8  apt-get install […]

Categories
Software System/Linux/Unix*

[ubuntu] apache server module 的 enable / disable

a2enmod module_name a2dismod module_name 重啟 apache : service apache2 restart /etc/apache2/mods-available 下面有可用的 modules