Changes between Version 8 and Version 9 of Csle2022/Agenda/databaseandweb
- Timestamp:
- Nov 17, 2022, 1:19:50 PM (2 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Csle2022/Agenda/databaseandweb
v8 v9 209 209 As 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. 210 210 211 = Installing Web sites/applications = 212 213 == Installing a dummy web site == 211 214 Hope 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. 212 215 … … 242 245 Also check the other site created. 243 246 244 = Moodle Installation = 247 == Installing Wordpress CMS == 248 249 CREATE DATABASE wordpress DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci; 250 251 CREATE USER 'wordpressuser'@'localhost' IDENTIFIED BY 'dala1234'; 252 253 GRANT ALL ON wordpress.* TO 'wordpressuser'@'localhost'; 254 255 UPDATE mysql.user set plugin = 'mysql_native_password' where User = 'wordpressuser'; 256 257 FLUSH PRIVILEGES; 258 259 EXIT; 260 261 == Moodle Installation == 245 262 246 263 Now 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.