Difference between revisions of "Moodle In A Brick"
From assela Pathirana
Jump to navigationJump to search
(2 intermediate revisions by the same user not shown) | |||
Line 3: | Line 3: | ||
<pre><nowiki> | <pre><nowiki> | ||
# ipkg update | # ipkg update | ||
# ipkg install php-gd lighttpd php php-fcgi | # ipkg install php-gd lighttpd php php-fcgi php-mysql php-iconv php-mbstring php-curl php-xmlrpc | ||
</nowiki></pre> | </nowiki></pre> | ||
Line 18: | Line 18: | ||
4647 root 580 S grep httpd | 4647 root 580 S grep httpd | ||
</nowiki></pre> | </nowiki></pre> | ||
* Examing <tt>/opt/etc/lighttpd/lighttpd.conf</tt> shows that it sources <tt>/opt/etc/lighttpd/conf.d/*.conf</tt> | |||
* Download moodle and extract in <tt>/shares/Public/WWW/WWW-pub</tt> |
Latest revision as of 20:38, 20 May 2011
Enable ssh support using WD interface Then login as root (passwod is welc0me first time (change it!!)
# ipkg update # ipkg install php-gd lighttpd php php-fcgi php-mysql php-iconv php-mbstring php-curl php-xmlrpc
Better to reboot the system at this stage.
These packages are installed on /opt root. ps command will give the exact location of the httpd.
~ # ps -elf|grep httpd 1998 root 840 S < /usr/sbin/mini_httpd -d /proto/SxM_webui -c **.mp3|** 4053 nobody 1548 S /opt/sbin/lighttpd -f /opt/etc/lighttpd/lighttpd.conf 4647 root 580 S grep httpd
- Examing /opt/etc/lighttpd/lighttpd.conf shows that it sources /opt/etc/lighttpd/conf.d/*.conf
- Download moodle and extract in /shares/Public/WWW/WWW-pub