
- RED HAT ENTERPRISE LINUX TEST PAGE HOW TO
- RED HAT ENTERPRISE LINUX TEST PAGE INSTALL
- RED HAT ENTERPRISE LINUX TEST PAGE ARCHIVE
- RED HAT ENTERPRISE LINUX TEST PAGE FULL
- RED HAT ENTERPRISE LINUX TEST PAGE PASSWORD
RED HAT ENTERPRISE LINUX TEST PAGE INSTALL
Yum install php php-cli php-common php-fpm php-gd php-intl php-json php-mbstring php-mysqlnd php-opcache php-pdo php-xml php-xmlrpc php-pecl-zip php-soap If you want the web site to be served as " " instead of " ", don't change it, and modify the 'PHP
Run the Services application (same as for Mysql) - tick and start "httpd", then save changes and exit.Ĭhange To: DocumentRoot /var/www/html/mymoodle. You might also want to run through the rest of the config file and make some other (obvious) changes - administrator email and suchlike. Don't insert a space in "allow,deny" (common mistake!). dbpass = 'moodlepass' ( (the directory used during Moodle installation). dbtype = 'mariadb' (use 'mysqli' for MySQL).
Your config.php settings should be something like. vi config.php (or whatever your favourite editor is!). Still as root copy and edit the config file, you should know the host/domain name for your server. chown -R apache:apache /usr/moodle_data. RED HAT ENTERPRISE LINUX TEST PAGE HOW TO
Check out the forums for recomendations on how to secure a production environment.)
RED HAT ENTERPRISE LINUX TEST PAGE FULL
(! Giving Apache full rights to your Moodle programs is not secure.(same name as the moodle install above).(optional step - I have more than one install under /usr/moodle).Still as root we unpack moodle and rename to something appropiate (I have multiple moodle installs, hence this setup).Instead of downloading and copying the zip file. Or if you prefer you can install the CVS version directly for all the latest features.If you prefer you can install the GIT version directly for all the latest features.as Root create folder under /usr and copy zip.
RED HAT ENTERPRISE LINUX TEST PAGE ARCHIVE
Download your favourite version of Moodle from (.zip archive is easiest). (I will install under /usr/moodle, data in /usr/moodle_data) If you run a firewall, you don't have too much to worry about.) (! Consider MariaDB/MySQL security - not covered here. (as above, 'mymoodle', 'moodleuser' and 'moodlepass' will be entered to the Moodle 'config.php' later). GRANT SELECT,INSERT,UPDATE,DELETE,CREATE,CREATE TEMPORARY TABLES,DROP,INDEX,ALTER ON mymoodle.* TO IDENTIFIED BY 'moodlepass'. ('mymoodle' is the name of the database you would like to use, it will be entered to the Moodle 'config.php' later). CREATE DATABASE mymoodle CHARSET 'utf8mb4'. At the '>' MariaDB/MySQL prompt, enter the following commands (MariaDB/MySQL commands are ended with a ' '). RED HAT ENTERPRISE LINUX TEST PAGE PASSWORD
(at the password prompt, enter the password from above). Next, set up the MariaDB/MySQL database (see for more details). If you haven't yet, as root, change the MariaDB/MySQL root password, also secure the installation. Scroll down to the section and under "Basic Settings", add the following line under the last statement. Edit /etc/my.cnf (May be different for MySQL) (MariaDB 10.3 doesn't need this as these are already the default settings.). Service mariadb start chkconfig mariadb on Then get the daemon running, it is not running by default. (use "mysql" and "mysql-server" for MySQL). Make sure at least 'mariadb' and 'mariadb-server' packages are installed. To use iptables instead of firewalld, see MariaDB / MySQL Restart the firewall and then check the allow status:įirewall-cmd -zone=public -list-services Or enable permanent HTTP access to it, you may want to enable HTTPS as well:įirewall-cmd -permanent -zone=public -add-service=httpįirewall-cmd -permanent -zone=public -add-service=https You may stop it first to test connection: It will block the access to the web server. The internal firewall (RHEL since version 7 uses 'firewalld' ) is on by default. But this may cause user problem accessing web content placed at directory other than the default directory (/var/# vi /etc/sysconfig/selinux Subscription-manager register -auto-attachĮnter the username and password as requested.ĭefault RedHat Enterprise Linux comes with SELinux set to 'enforcing'. To receive package updates, create a user account at, and then login and register as developer at. Now ensure the "Hostname" contains the computer name you will use and click activate to make changes In the "DNS Search Path" fill in your domain name for example.
Type system-config-network to open the GUI editor. You probably only need to enable HTTP/HTTPS (and perhaps FTP and SSH) access to your server machine, unless you know the difference.ĭuring installation, under "System" -> "Network & Host Name", remember to enable the NIC.
BEWARE OF the 'Server with a GUI' option, it may not work as expected. Moodle 3.7 needs MariaDB 5.5 or MySQL 5.6 RHEL8 comes with MariaDB 10.3 and MySQL 8.0 (They cannot be installed at the same time). Moodle 3.7 needs PHP 7.1 RHEL8 comes with PHP 7.2.