![]() | Apache, PHP, Perl and MySQL for DreamboxThis Tutorial is made by Edmund Schpf First of all I have ... | |
![]() | Home | Register | FAQ | Calendar | Search | Today's Posts | Mark Forums Read | Links | ![]() |
![]() |
![]() |
![]() | | LinkBack (1) | Thread Tools | Display Modes | ![]() |
![]() | |
#1 | ![]() |
| Administrator | This Tutorial is made by Edmund Schpf First of all I have not contributed in developing or compiling php, msql und perl for PowerPCs. I searched for this software and found it at gamesquad.nl. As some people in the forum has been looking vor such a software and gamesquad URL is no more reachable, I decided to write this kind of instructions I've installed and tested apache, php und perl on my Dreambox 7020. Instructions You can find a lot of instructions (and better then mine) on the internet, but maybe it could be helpeful for som of you. I made the installation of the local package without understanding why. I installed apache on another Dreambox without local.tar.gz and it worked. In order to work comfortabely you should have installed a harddisk on your dreambox. Installation Apache
Code: Check this link cd /hdd; mkdir opt; chmod 755 opt; cd opt;
Code: Check this link gzip -dc /hdd/tmp/httpd.tar.gz |tar xf -
Code: Check this link /hdd/opt/httpd/bin/apachectl start
Code: Check this link <html> <body> This is my html-site on my apache </body> </html> Code: Check this link http://ip-address-of-my-dreambox:8080/mypage.html Installation of PHP
Code: Check this link cd /hdd/opt/httpd Code: Check this link gzip -dc /hdd/tmp/apache_php.tar.gz |tar xf -
Code: Check this link cp conf/httpd.conf.php conf/httpd.conf
Code: Check this link LoadModule php4_module modules/libphp4.so Code: Check this link AddType application/x-httpd-php .php
Code: Check this link /hdd/opt/httpd/bin/apachectl restart Code: Check this link gzip -dc /hdd/tmp/perl.tar.gz |tar xf - Code: Check this link gzip -dc /hdd/tmp/mysql.tar.gz |tar xf - Install instructions for some libs/binaries for dreambox I recommend to use the 'cut and paste' feature to perform these steps. The are a lot of . (dots) in the commands Download local.tar.gz and FTP to /hdd/tmp Unpack tarfile Code: Check this link mkdir -p /hdd/opt cd /hdd/opt gzip -dc /hdd/tmp/local.tar.gz |tar xf - Code: Check this link . /hdd/opt/local/env.sh # Don't forget dot and space cd /etc mc exit mc (F10) Create a .profile for root. The .profile gets executed during login. Code: Check this link mkdir /hdd/root echo >/hdd/root/.profile "[ -f /hdd/opt/local/env.sh ] && . /hdd/opt/local/env.sh" Code: Check this link . /hdd/root/.profile After performing these instructions, the user root has a .profile. In this .profile a script (/hdd/opt/local/env.sh) is called to set the right environment for all other programs downloaded from my download site. The script /hdd/opt/local/env.sh extends the PATH variable in such a way that all bin and sbin directories found in /hdd/opt/local/* are added. ==== END OPTIONAL INSTALLATION ====
__________________ Up YouR ViVa Last edited by Devilfish; 17th October, 2008 at 12:57 AM. |
| | |
![]() |
| Bookmarks |
| Tags |
| apache, dreambox, mysql, perl, php |
| Thread Tools | |
| Display Modes | |
| |
LinkBacks (?)
LinkBack to this Thread: http://www.digital-kaos.co.uk/forums/f70/apache-php-perl-mysql-dreambox-9335/ | ||||
| Posted By | For | Type | Date | |
| การตั้งให้ DM600PVR เป็น website | This thread | Refback | 13th February, 2009 03:30 PM | |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| mysql & Plugins development | baderh | Dreambox Developement | 6 | 9th February, 2009 07:14 PM |
![]() | ![]() |