Here are the commands for installing Moodle 3.0 - 3.5 in CentOS 6/7. 1. Update your System $ yum update -y $ sudo yum update -y (for Ubuntu 16.04/18.04) 2. Install required LAMP(Linux, Apache, MySQL, phpmyadmin) version on CentOS 6/7 $ yum install httpd mariadb mariadb-server php php-mysql $ sudo yum install httpd mariadb mariadb-server php php-mysql (for Ubuntu 16.04/18.04) $ yum install php-iconv php-mbstring php-curl php-openssl php-tokenizer php-xmlpc php-soap php-ctype php-zip php-gd php-simplexml php-spl php-pcre php-dom php-xml php-intl php-json php-ldap php-pecl-apc (use sudo for Ubuntu 16.04/18.04) Start httpd and mysql services for CentOS $ systemctl enable httpd $ systemctl start httpd $ systemctl enable mariadb $ systemctl start MariaDB (use sudo for Ubuntu 16.04/18.04) $ sudo service httpd restart $ sudo service MariaDB re start Create root admin password of MySQL, or later you can configure the path, username an...