Difference between revisions of "Moodle In A Brick"

From assela Pathirana
Jump to navigationJump to search
(Created page with '# ipkg php-gd')
 
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
# ipkg php-gd
Enable ssh support using WD interface
Then login as root (passwod is welc0me first time (change it!!)
<pre><nowiki>
# ipkg update
# ipkg install php-gd lighttpd php php-fcgi php-mysql php-iconv php-mbstring php-curl php-xmlrpc
</nowiki></pre>
 
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.
 
<nowiki>
</nowiki><pre><nowiki>
~ # 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
</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:39, 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