See for the progress for "Prepare Moodle for PHP 8.0) (Ubuntu 20.04 now installs PHP8 by default, so be careful to specify the PHP version number or you will get a "line 10602" error. Sudo apt install apache2 mysql-client mysql-server php7.4 libapache2-mod-php Open up Terminal and install the following Note: Moodle 3.0.1 introduced support for PHP 7.0 and we will be using PHP 7.4 in this tutorial In the below tutorial we will be using the term "sudo" which stands for "super user do" before most of the commands. In Ubuntu, the standard user, the account you created during the install, does not have rights to install/write to many of the directories.You can use VI (lightweight editor) or VIM (heavyweight editor), or more commonly nano, however, if you wish to use VIM you will need to install it, the same may be true for nano:.Because of this you should consider installing Ubuntu with a /boot directory of around 5Gb and putting some automated clean up in place. Ubuntu has a well known issue with its automatic updates filling up the /boot directory until automated updates start to fail and automated removal of old kernel files from /boot is impossible.Try it at test machine first.Īn alternative version of similar installation instructions (for installing Ubuntu and the base LAMP Packages/configuring as required, Steps 1~2) is also available on DigitalOcean's Site: How To Install Linux, Apache, MySQL, PHP (LAMP) Stack on Ubuntu 22.04, or if you're looking to use more modern/better performance packages such as MariaDB and OpenLiteSpeed, How To Install Linux, OpenLiteSpeed, MariaDB, PHP (LOMP stack) on Ubuntu 22.04.Īlternatively, if you just wanted instructions on installing Ubuntu, this may be useful: Initial Server Setup with Ubuntu 22.04. BUT USE WITH CAUTION: The GUI may not appear as expected, and may prevent user from getting even the CLI. Note: Even though it is not recommended by most experts, you could install a Graphical User Interface (desktop) by issuing the command 'sudo tasksel' or 'sudo apt install ubuntu-desktop' to install 'Ubuntu desktop'. If you install a CLI only server and later regret it, you can easily add a graphical desktop:.If you will only be using your Moodle server for local, experimental purposes, you might prefer to install the desktop (64 bits preferred) version of Ubuntu.Amateur users might find it easier to use a graphical (desktop) interface.Most IT professionals prefer to use a Command Line Interface (CLI) server, because it is safer and less prone to hacking.Step 1: Install Ubuntu Why we prefer Ubuntu server over Ubuntu desktop An additional admin Moodle username and password.The Moodle main admin username and password.The MySQL username and password that Moodle will use.It is a good idea to write down the passwords (and usernames) you will need to use for Ubuntu and Moodle: 12 Hosting several Moodle branches in one Ubuntu server.10 Suggestions: Enable Zend OpCache/Change Document Root. 8.6 Create a Site Administrator Account.6 Step 5: Copy local repository to /var/www/html/.2.1 Why we prefer Ubuntu server over Ubuntu desktop.That’s it! You have successfully installed and configured AWStats on Ubuntu 16.04 | 18.04 LTS server. Next, restart Apache2 for the changes to apply.įinally, run the commands below to adjust AWStats permissions and update.įinally, open your browser and browse to the server IP or hostname followed by the URI (/cgi-bin/ ) Then make the highlighted changes and save the file.Īfter that, run the commands below to enable the AWStats module. Next, run the commands below to open the configuration file you just created and make the highlighted changes below: Then change the highlighted lines below to add your server name and save the file.Īfter that, run the commands below to create the AWStats web configuration file. Now that AWStats has been installed, run the commands below to open its default configuration file. the command will fetch the current stable AWStats version in Ubuntu repositories and install it. To install AWStats on the Ubuntu server, simply run the commands below. to do that on Ubuntu run the commands below. When you’re ready, continue below with the steps: Install Apache2 #īefore installing AWStats server packages, make sure the Apache2 HTTP server is installed. You’ll also be able to log on to the AWStats server once installed.įor more about AWStats, please visit its homepage. This post will show you how to perform a basic configuration after installation. This brief tutorial shows students and new users how to install and configure the AWStats monitoring server on Ubuntu 16.04 | 17.10 | 18.04 LTS servers. It’s a very handy tool to have when you have to analyze your traffic and other data.Ī complete enterprise-grade server and log monitoring software. AWStats uses log file analysis to analyze log files from Apache2, IIS, and other popular web servers in use today.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |