PHP Compile and Install

1. Depend Libs [codesyntax lang="bash" lines="no" container="pre" tab_width="4"] $ sudo apt-get install gcc $ sudo apt-get install autoconf $ sudo apt-get install libxml2-dev $ sudo apt-get install li… Continue reading
Posted in PHP, Ubuntu| Tagged , | Leave a comment

Install Apache on Ubuntu

1. Apache [codesyntax lang="bash" lines="no" container="pre" tab_width="4"] $ wget http://mirror.bjtu.edu.cn/apache/httpd/httpd-2.2.17.tar.gz $ tar -xzf httpd-2.2.16.tar.gz $ cd httpd-2.2.16 $ sudo ./… Continue reading
Posted in Apache, Ubuntu| Tagged , | Leave a comment

Install LAMP for Ubuntu Server

1. By tasksel [codesyntax lang="bash" lines="no" container="pre" tab_width="4"] $ sudo tasksel [/codesyntax] 2. By apt-get [codesyntax lang="bash" lines="no" container="pre" tab_width="4"] $ sudo apt-… Continue reading
Posted in Ubuntu| Tagged , | Leave a comment

Webmin

[codesyntax lang="bash" lines="no" container="pre" tab_width="4"] $ su $ vi /etc/apt/sources.list deb http://download.webmin.com/download/repository sarge contrib $ cd /root $ wget http://www.webmin.c… Continue reading
Posted in Ubuntu| Tagged | Leave a comment

Nginx and PHP for Windows

1. Environment Window XP Nginx 0.8.50 PHP 5.2.14 2. Download Nginx Unzip to D:\nginx-0.8.50 3. Download PHP Unzip to D:\nginx-0.8.50\php-5.2.14 4. Create D:\nginx-0.8.50\php-5.2.14\php.ini cgi.fix_pat… Continue reading
Posted in Nginx| Tagged , , | 1 Comment

Awstats for Apache

1. Environment Ubuntu Server 10.10 Awstats 6.95 2. Install Awstats [codesyntax lang="bash" lines="no" container="pre" tab_width="4"] $ su $ apt-get install awstats [/codesyntax] 3. Apache Configuratio… Continue reading
Posted in Project Management| Tagged , , | Leave a comment

The TCP/IP and OSI Network Models

@See http://www.speedguide.net/articles/the-tcpip-and-osi-network-models-120 The OSI Network Model The OSI (Open System Interconnection) 7-layer reference model defines a concept of moving information… Continue reading
Posted in Network Protocol| Tagged , | 2 Comments

Subversion on Ubuntu Server

1. Environment Ubuntu Server 10.10 Subversion 1.6.6 2. Install Subversion [codesyntax lang="bash" lines="no" container="pre" tab_width="4"] $ su root $ apt-get install subversion [/codesyntax] 3. Loca… Continue reading
Posted in SVN| Tagged , | Leave a comment

Nginx and PHP-FPM for Ubuntu

1. Install and Start Nginx (a) use apt-get [codesyntax lang="bash" lines="no" container="pre" tab_width="4"] $ su $ apt-get install nginx $ update-rc.d nginx defaults $ /etc/init.d/nginx start [/codes… Continue reading
Posted in Nginx, PHP, Ubuntu| Tagged , , | Leave a comment

Shell – MySQL Query

[codesyntax lang="bash" lines="no" container="pre" tab_width="4"] #!/bin/bash # configs host='localhost'; user='kim'; pass='xxxxxx'; database='test_database'; # select from database query=`mysql -h$ho… Continue reading
Posted in Linux| Tagged , | Leave a comment