Moodle is a free and open-source software learning management system written in PHP and distributed under the GNU General Public License.
Download from its official moodle site
https://download.moodle.org/releases/latest/ (select zip file for Linux) approx 45 MB
once it download you can move that moodle file under /var/www (use winscp in windows )
You have to do the following arrangements
install LAMP
sudo mkdir /var/moodledata
sudo chown -R www-data /var/moodledata
sudo chmod -R 777 /var/moodledata
chomd -R 755 /var/www/moodle
go to my sql
mysql -u -p enter password
create database moodle;
mysql>quit
Note: you can use either mysql root user and password or new user .
go to the url type your server IP
installation begins
type your db information after that we need to copy the db details to vim config.php and paste in to it ,under moodle folder. ie /var/www/moodle/
click next
You may get errors some of the php modules are not installed .You can click that link and install that packages
click next
You can see all of the status
click next
enter the username and password to login to moodle account.
You can get the following home page .
Log in page
User filled page