# Some more details when install Moodle

Some more details on install Moodle

<ul>
<li>MySQL database for Moodle must be configured to permit connectiong from localhost only.</li>
<li>Enter your moodle directory, and then use the command below to copy Moodle files to relative directory.
<code>cp -rf * /opt/lampp/htdocs</code></li>
<li>rename index.html in htdocs as index.html.bak.</li>
<li>Because I use XAMPP as Moodle running platform, so I create a shortcut in /etc/rc.d/rc.local to start XAMPP as system boot.</li>
<li>Create a recurrence task to access http://192.168.0.157/admin/crop.php. For example, create a cronjob file root in /var/cpool/cron, then keyin the command below into the cron job file.
<code>@hourly wget -q -O /dev/null http://192.168.0.157/admin/cron.php%Cron for Moodle</code></li>
</ul>
