Difference between revisions of "Moodle In A Brick"

From assela Pathirana
Jump to navigationJump to search
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
</nowiki></pre>
</nowiki></pre>



Revision as of 20:29, 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

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
  • Edit