Linux C hello world

1. vi functions.c 2. vi hello.c 3. Make Executable hello 4. To make functions shared

Posted in C, Linux | Tagged , | Leave a comment

My Linux files/dirs Distribution

Here is my linux files/dirs distribution. Main purpose is to easily centralized data maintenance.   Company abc’s directory /data/abc/   All web applications /data/abc/vhosts/   All the packages and dependencies /data/abc/soft_misc/ 放所有linux的安装包和依赖包   Logs /data/abc/weblog/   Cache folder for eaccelerator_cache /data/abc/eaccelerator_cache/   For storing MySQL data /data/abc/mysqldata/ /data/abc/mysqldata/mysql_m1 分布式mysql master数据库 /data/abc/mysqldata/mysql_s1 分布式mysql slave 1 数据库 […]

Posted in Linux | Tagged | Leave a comment

Install Webbench

1. Install 2. Test

Posted in Linux | Tagged , | Leave a comment

Encode PHP by ionCube

1. Environment : PHP 5.2.14 PHP-FPM 0.5.14 2. Encode with ionCube : Download(purchase or try free trial) ionCube encoder from 3. Install ionCube Loaders (See : See : ionCube-Encoder-USER-GUIDE

Posted in Optimization, PHP | Tagged , | Leave a comment