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
No comments:
Post a Comment