Get the latest tutorials on SysAdmin and open source topics. Hub for Good Supporting each other to make an impact. Write for DigitalOcean You get paid, we donate to tech non-profits.
Step 1. Login to your server
Moodle is a free and open-source learning management system designed to provide teachers or educators the tools to create personalized learning environments filled with dynamic online courses which help students and other users to achieve their learning goals. Today we will learn how to install the latest Moodle 3. Once the installation is complete, you need to start Apache and enable it to start automatically upon system boot. Change the ownership and the permissions of the extracted Moodle directory with the following command:. Before you create a new moodle database, you will need to modify the default MariaDB configuration file. Moodle requires that you change the default storage engine to innodb and change the default file format to Barracuda. You can now log in to the MariaDB server as user root and create a new user and database for the Moodle installation:. If you have a valid domain name which you would like to use to access your Moodle installation, you will need to create a new Apache virtual host for your domain name with the following content:. Follow the on-screen instructions to finish the installation.
1. Login via SSH
In this tutorial, we will show you how to install PHP 7. PHP 7. As you can see above, PHP is no longer using Bcrypt algorithm as a password hash, it is now using Argon2, it is a modern algorithm for securely hashing passwords. This is the most significant changes, it makes PHP more secure. However, Bcrypt is still considered a strong hash, especially if compared to its predecessors, md5 and sha1. Bcrypt is still an acceptable hash for passwords. The other major change in PHP 7. Installing PHP 7.
There is a new version of this tutorial available for Debian 10 Buster. This tutorial shows how to install a Debian 7 Wheezy minimal server. The purpose of this guide is to provide a minimal Debian setup that can be used as basis for our other tutorials here at howtoforge. This tutorial is based on the Howtoforge perfect server tutorials from Falko Timme. We refer to the first chapters of the perfect server guides in many of our Debian tutorials and decided that it's time to split the perfect servers into the base installation which is not required when you rent a server or vps from a hosting provider and the actual perfect server setup. This tutorial here is the "standalone" guide for the base install to help you to get a clean minimal installation image to get started with your server installation. In this tutorial I will use the hostname server1. These settings might differ for you, so you have to replace them where appropriate. Insert your Debian Wheezy network installation CD into your system and boot from it. When you use a virtualisation software like VMware or Virtualbox, then select the Debian minimal iso file as source file for the dvd drive of the vm, you dont have to burn it to a CD or DVD for that first.