Moodle In A Brick

From assela Pathirana
Jump to: navigation, search

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