Changes between Version 8 and Version 9 of Csle2022/Agenda/databaseandweb


Ignore:
Timestamp:
Nov 17, 2022, 1:19:50 PM (2 years ago)
Author:
admin
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Csle2022/Agenda/databaseandweb

    v8 v9  
    209209As you know we can't use any preferred domain for our services, websites as we wanted to do. First we have to register them in a relevant domain registry where usually we have to pay. In case you want a ac.lk sub domain you have to get it through LEARN. Once you get your domains registered they are to be assigned IP addresses so that they can be used in your services for hosting services, websites etc. Assigning of IP addresses to the domain names is done through DNS lookup service. This DNS service is also can be accomplished through the relevant domain registry or web hosting service. For the ac.lk domain, LEARN or your institutional network/system administrator will do that for you.
    210210
     211= Installing Web sites/applications =
     212
     213== Installing a dummy web site ==
    211214Hope in someway you registered and setup DNS for the domain which you are going to use in your apache server. Now from any network you are able access your apache server hosted web sites through own domain. But we are not completely done. We have to install web sites in your server. Here we will see how to do that. We are going to install a static web site, Wordpress and Moodle in our servers.
    212215
     
    242245Also check the other site created.
    243246
    244 = Moodle Installation =
     247== Installing Wordpress CMS ==
     248
     249CREATE DATABASE wordpress DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci;
     250
     251CREATE USER 'wordpressuser'@'localhost' IDENTIFIED BY 'dala1234';
     252
     253GRANT ALL ON wordpress.* TO 'wordpressuser'@'localhost';
     254
     255UPDATE mysql.user set plugin = 'mysql_native_password' where User = 'wordpressuser';
     256
     257FLUSH PRIVILEGES;
     258
     259EXIT;
     260
     261== Moodle Installation ==
    245262
    246263Now we have setup the web server, PHP and database server. Also we have configured virtual hosting. Now we are going to install Moodle under lms sub domain created above. Before installing the Moodle need to install the prerequisites for Moodle. This includes software and PHP modules that support Moodle’s features and Git for installing Moodle and keeping it up to date.