Skip to main content

Posts

Showing posts from 2012

Linux useful commands for Apache

When Apache run on linux, there are several usefull commands: Assumption: Apache is installed on /sw/pkg/apache. See server status /sw/pkg/apache/bin/apachectl Validate configuration files /sw/pkg/apache/bin/httpd -t Stop apache /sw/pkg/apache/bin/apachectl -k stop See server version /sw/pkg/apache/bin/httpd -v See who listen on port 80 netstat  | grep 80 netstat -ltnp | grep ':80'

Installing Apache on linux

Summary of page  Compiling and Installing - Apache HTTP Server Download files Download (1) apr (2) apr-util (3) pcre (4) httpd. apr and apr-utils from http://apr.apache.org/ .   pcre  from  http://www.pcre.org/ httpd  from  http://httpd.apache.org/download.cgi    Compile APR tar -xvzf apr-1.4.6.tar.gz cd apr-1.4.6/ ./configure make make install Compile APR-UTIL tar -xvzf apr-util-1.4.1.tar.gz cd apr-util-1.4.1 ./configure --with-apr=/usr/local/apr make make install Compile PCRE cd pcre-8.31 ./configure --with-apr=/usr/local/apr make make install Compile HTTPD tar -xvzf httpd-2.4.1.tar.gz cd httpd-2.4.1 ./configure --enable-file-cache --enable-cache --enable-disk-cache --enable-mem-cache --enable-deflate --enable-expires --enable-headers --enable-usertrack --enable-ssl --enable-cgi --enable-vhost-alias --enable-rewrite --enable-so --with-apr=/usr/local/apr/ --prefix=/sw/pkg/apache make make install cd ..

What is PKI

PKI = Public Key Infrastructure (Resource)  Method of asserting the identity and validity of a person (or entity) that you have not previously met or interacted. It use of certificates containing identifying information and public keys (these certificates are more properly called X.509 certificates). PKI accomplishes this by defining a central authority who is mutually trusted by all users of the system.

SSL in pictures

Here is my summary on SSL (or as I like to call it 'SSL for dummies')

Digital signature in pictures

I never remember what happens when digital signature is used. So here is my summary 'Digital signature for dummies'.

Great eclipse plugins

EditBox  - Eclipse plugin for highlighting the background of the source code.

Patches for HP ALM

Patches for HP ALM (QC) cab be downloaded from Patch Search