nndocs:reference
This is an old revision of the document!
Remember: Victory starts with "vi".
LAMP Setup for the Naptastic Network
Apache with mod_fastcgi:
apt-get install apache2-mpm-event wget http://fastcgi.com/dist/mod_fastcgi-2.4.6.tar.gz tar -xvf mod_fastcgi-2.4.6.tar.gz cd mod_fastcgi-2.4.6/ make -f Makefile.AP2 top_dir=/usr/share/apache2 cp .libs/mod_fastcgi.so /usr/lib/apache2/modules/
PHP configure line:
./configure --enable-fpm --prefix=/usr --enable-bcmath --enable-calendar --enable-ftp --enable-libxml --enable-mbstring --with-gd --with-jpeg-dir=/usr --with-png-dir=/usr --enable-gd-native-ttf --with-mcrypt --with-mysql --enable-pdo --enable-soap --enable-sockets --enable-wddx --enable-zip --with-bz2 --with-kerberos --with-pcre-regex --with-pdo-mysql=shared --with-pic --with-pspell --with-tidy --with-xmlrpc --with-xsl --with-zlib --with-curl
Default Route
Add a default route:
route add default gw <gateway ip address> dev <device name>
To make this route persist, add these lines to /etc/sysconfig/network:
GATEWAY=<gateway IP address> GATEWAYDEV=<device name>
Changing the @%$#! scrollbar color in Ubuntu!!!
Add these lines to ~/.gtkrc-2.0:
style "gnome-color-chooser-scrollbar" { bg[NORMAL] = "#F07746" bg[PRELIGHT] = "#D76A3E" bg[ACTIVE] = "#BD5D37" } widget_class "*Scrollbar" style "gnome-color-chooser-scrollbar"
Change the hex color values to what you like. Prelight is the color while the mouse is hovering over the scrollbar, and active is the color while it's being held down.
nndocs/reference.1358660555.txt.gz ยท Last modified: 2013/01/20 05:42 by naptastic