Monkey and PHP on Damn Small Linux
GCC is not included in Damn Small Linux. You need it for compiling, "make" etc.
Install GCC
1. right click-Apps-Tools-MyDSL Extension Browser
2. click System button
3. choose gcc1.dsl.info and click download
4. gcc is downloaded and installed automatically
Enable apt-get
1. >sudo dpkg-restore
2. apt is enabled
Install re2c, bison, flex, libxml2
1. >apt-get install re2c
2. >apt-get install bison
3. >apt-get install flex
4. >apt-get install libxml2-dev
5. >apt-get install libxml2-util
-These are essential for installing PHP which I couldn't get.
Install PHP
1. download
2. >tar zxfv php-5.x.x.tar.gz
3. >cd php-5.x.x
4. >./configure --prefix=/home/my_home/php/
Failed.
Python and Apache on Damn Small Linux
Install python
1. >apt-get python
2. python is enabled
Install Apache
1. >wget http://apache.mirror99.com/httpd/httpd-2.2.0.tar.gz
2. >gunzip < httpd-2.2.0.tar.gz | tar xvf -
3. >cd httpd-2.2.0
4. >./configure -prefix=/usr/local/apache2 -enable-rewrite -enable-mods-shared=most
5. >make
6. >make install
http://blog.novembercamel.com/index.php?paged=2
http://www.troubleshooters.com/linux/distros/dsl/
http://www.damnsmalllinux.org/wiki/index.php/Main_Page
http://monkeyd.sourceforge.net/docs/monkey+php.en.html
http://www.linuxquestions.org/questions/showthread.php?t=247329
Saturday, April 29, 2006
Thursday, April 27, 2006
Wednesday, April 19, 2006
First they came...
Original
Als die Nazis die Kommunisten holten,
habe ich geschwiegen;
ich war ja kein Kommunist.
Als sie die Sozialdemokraten einsperrten,
habe ich geschwiegen;
ich war ja kein Sozialdemokrat.
Als sie die Gewerkschafter holten,
habe ich nicht protestiert;
ich war ja kein Gewerkschafter.
Als sie die Juden holten,
habe ich nicht protestiert;
ich war ja kein Jude.
Als sie mich holten,
gab es keinen mehr, der protestieren konnte.Translation
When they came for the communists,
I remained silent;
I was not a communist.
When they locked up the social democrats,
I remained silent;
I was not a social democrat.
When they came for the trade unionists,
I did not speak out;
I was not a trade unionist.
When they came for the Jews,
I did not speak out;
I was not a Jew.
When they came for me,
there was no one left to speak out.
Niemöller, M. (1946). WIKIPEDIA. Retrieved April 19, 2006, from: http://en.wikipedia.org/wiki/First_they_came...Martin Niemöller
Monday, April 10, 2006
Web server on Mac OS X
1 Mac OS X - System Preferences -> Sharing -> Service -> Personal web sharing
2 $ htpasswd -c /Users/USER NAME/webpasswords INITIAL USERNAME
( ex. $ htpasswd -c /Users/nikki/webpasswords nikki)
3 htpasswd -b /Users/USER NAME/webpasswords INITIAL USERNAME PASSWORD
4 in /etc/httpd/users/username.conf
<Directory "/Users/jray/Sites/">
AuthType Basic
AuthName "John's Development Site"
AuthUserFile /Users/jray/webpasswords
Require valid-user
Options Indexes MultiViews ExecCGI
AllowOverride None
Order allow,deny
Allow from all
<Directory>
5 $ sudo /usr/sbin/apachectl restart
Mac OS X Tiger unleashed, SAMS P.1174
2 $ htpasswd -c /Users/USER NAME/webpasswords INITIAL USERNAME
( ex. $ htpasswd -c /Users/nikki/webpasswords nikki)
3 htpasswd -b /Users/USER NAME/webpasswords INITIAL USERNAME PASSWORD
4 in /etc/httpd/users/username.conf
<Directory "/Users/jray/Sites/">
AuthType Basic
AuthName "John's Development Site"
AuthUserFile /Users/jray/webpasswords
Require valid-user
Options Indexes MultiViews ExecCGI
AllowOverride None
Order allow,deny
Allow from all
<Directory>
5 $ sudo /usr/sbin/apachectl restart
Mac OS X Tiger unleashed, SAMS P.1174
Wednesday, April 5, 2006
Isaac Newton
If I have ever made any valuable discoveries, it has been owing more to patient attention, than to any other talent.
( http://www.quotedb.com/quotes/3623 )
Bertrand Russell
When you meet with opposition, even if it should be from your partner or your children, endeavour to overcome it by argument and not by authority, for a victory dependent upon authority is unreal and illusory.
( http://www.lewrockwell.com/wall/wall12.html )
Subscribe to:
Posts (Atom)