sudo yum install pcre-devel.x86_64 zlib-devel.x86_64 openssl-devel.x86_64
sudo mv nginx /opt
Get the nginx code and compile
tar zxf nginx-1.2.7.tar.gz
./configure --prefix=/opt/nginx --with-http_ssl_module
I needed to do some c10k testing, so added push-stream-module as well. You can skip.
./configure --prefix=/opt/nginx --with-http_ssl_module --add-module=../nginx-push-stream-module/
If your linux is essentially a single user system and you don’t have to worry about anyone else accessing your local console, here’s how to enable it:
Edit /etc/gdm/custom.conf to add the following two lines in the [daemon] section:
Long awaited CentOS 6.0 was release few days back. Thank you CentOS Team!
If you haven’t downloaded it yet, please do so because this is really cool. The biggest attraction for me was two new minimal mode which does exactly what it claims. Default minimal mode on x64 system installs with 197 packages only (still some bloatware but lot better than earlier).
My first test installation was on a Dell Inspiron 1525 laptop. The installation won’t start unless we pick “basic video driver”, option #2 on the first screen. The minimal desktop installed fine but wireless was broken. NetworkManager applet reported that device firmware was missing for following device.
# /sbin/lspci -vnn | grep 14e4
0c:00.0 Network controller : Broadcom Corporation BCM4312 802.11b/g [14e4:4315] (rev 01)
After a bit of googling, I found the workaround to make it working.
yum install b43-fwcutter b43-openfwwf
mkdir ~/b43-driver; cd ~/b43-driver
tar jxf broadcom-wl-184.108.40.206.tar.bz2
b43-fwcutter -w /lib/firmware/ wl_apsta_mimo.o
And reboot. Hope this helps someone.
=== install build pre-rquisite ===
yum install e2fsprogs-devel.x86_64 -y
=== build zeromq ===
echo /opt/zeromq/lib > /etc/ld.so.conf.d/zeromq.conf
=== build mongrel2 ===
Add sqlite3 code (amalgamation version) into mongrel3 source directory
Then make following changes in given Makefile
## add these lines on top
## modify existing line as followings
#LIBS=-lzmq -ldl -lsqlite3 $(OPTLIBS)
LIBS=-lzmq -ldl $(OPTLIBS)
And build the mongrel2