User Tools

Site Tools


nndocs:reference

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
nndocs:reference [2013/01/20 06:21] – add dependencies for PHP naptasticnndocs:reference [2017/08/07 02:27] (current) – None of this is necessary anymore naptastic
Line 1: Line 1:
-===== 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: 
- 
-  sudo apt-get install libxml2-dev libz-dev libbz2-dev libcurl4-openssl-dev libjpeg-dev libpng-dev libmcrypt-dev libaspell-dev libpspell-dev libtidy-dev libxslt-dev 
-  ./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.1358662873.txt.gz · Last modified: 2013/01/20 06:21 by naptastic