 So, I am Naseef. So, we will be seeing the module installation, it is a E outreach program from IIT Bombay. So, the outline of this program is we will be starting with the requirements of module, the hardware and software requirements and how to set the set up my square database creation of module data directory followed by how to install module from in Ubuntu using apt-get command and setting up web server configuring module and even using a lot of authentication in module. So, introduction module is an acronym for modular object oriented dynamic learning environment. It is primarily developed in Linux using Apache MySQL and PHP called LAMP platform Linux Apache MySQL PHP. It is even supported with Windows XP 2010 and 2003 called VAMP platform and many other operating systems also and suppose other databases like Oracle, Postgres, Microsoft SQL Server etcetera. So, the minimum hardware requirements for installing module is you need to have minimum 160 MB of free space and it depends if you want to show more data like assignments, user images then you need more space and the minimum free space required is 256 MB and 1 GB is recommended for every 1 GB of memory 50 concurrent users can access module and 500 users can browse. Concurrent user in the sense you can they can upload assignments and they can store files etcetera and 500 users can browse. So, if you have 2 GB of memory 100 users concurrent users and 1000 browsing users can be codes and software recommends for installing module is you need to have some web server and the most common web server is Apache and it even supports IIS web server any web server that has to support PHP and for if you are using Windows then IIS is recommended and the MySQL database which you have already installed. So, you need to first set up MySQL database you can install MySQL database using MySQL server so apiDigit install MySQL server which we have done in right now. So, we will be creating the module database and the module uses user in the MySQL. So, login into MySQL using MySQL username as root with password. So, once you login into MySQL you need to create a module database for a module user. So, it can you can do it by create database create database module that is a default character set as UTI UTF 8 enter this command in the MySQL prompt it has created a module database and you need to give privilege for the database. We are creating a username called module user for accessing the database module user at local host identified by your password enter some short password module dbpasswd and then run the next command grant select locks select lock even you have to create a module backup user for backup purpose and give some module backup password also I mean giving it as module bkp password then flush privilege is good data. So, the module user and module database is created and all the privilege have been given. So, after the module database creation will be starting with. So, right now for installing of module we need to have module data directory where the user can user or any other faculty teachers can store the critical information like assignments or any other files. So, you need to have some directory which is protected that is secured no other user should read that directory. So, you need to create a directory we are creating a directory in extra make by using the command make directory module data. The permissions of this module data is 7 5 5 and the owner and group are root root the permissions are 7 5 5 and the owner is root and the user name group is root. So, the browser may not get the permissions for accessing the module data. So, you need to change the owner and group of this module data. So, that it is accessible only by the Apache user. So, change the permissions of this module data by using the command ch mode 7 5 0 for module data. This sets the permission of module data this is the permission right now we will be changing the group and owner and group of module data using the command ch own ch own ch own half an hour that is for recursive w w half an data dot w w w dot half an data. This is for the first part is for owner and the second part is for group. So, the owner and group of module data is been set. So, that it is secured and other it cannot be accessed directly by some other means and you can even protect your module data with module data directly using by creating a file called dot h t dot h t access this prevents the this has the file directly permissions. So, in this file you create a you create a file called dot h t access in this enter the information order deny. So, this file even takes care of the security permissions VIM create a file called VIM space. In it has to be in module data directly inside module data. So, do cd it has to be in module data cd module data and there you do dot h t access. So, just create a file dot h t access inside module data directly and write this information what for security permissions of module data. So, that no other user directly access the module data by entering the path in the URL and seeing the files. This yeah. So, for Apache user he takes care that only ww dot fn data user is able to access that particular module data directly and no other user can access that and yeah deny allow for ww fn data user and we have set the ownership and group for the directory and that is the configuration of Apache. So, once you have given the privilege for module data you have to install module right now using the command epi-ticket install module. You can even download the source package and install from there in Ubuntu it is easier you can use the epi-ticket command. So, this give the screen you have to select the web server for configuring module select Apache 2 as the web server and select MySQL server for database and database server name server host name as local host and database administrator username as admin and password as admin password something of your own and confirm the password. Now, create a username for the module database owner and let it be module itself and password you enter it as module db password yeah this is a different password. So, it is a kind of like first giving all user information and re enter the same password. So, initially while installing you need to note down all these user names and passwords because it is very confusing it around yeah you can keep the single password and if it goes to anyone then you can access all the database everything. So, this initially we have created a database of for module, but we have not created any tables. So, the module will create the tables while installing itself. So, just log we need to log into open in the browser we need to open the page local host module admin. So, for till now the creation of module database and the module user is in finished. So, while when you open the page of local host module admin it will actually create the table for module. So, just type admin this is the page what you get when you enter local host module admin in the browser this is the actual process where the module tables are created you need to agree for the terms and conditions of module then continue for this and here it is creating all the database tables that are required for module. So, setting up databases, it is creating tables like example MDL grade preferences everything. So, you need to have all success for this module tables. So, database was successful upgraded groups database everything upgraded. So, continue the process database connection field yeah. So, what you do is upgrade remove module once again and then follow the procedure because you might have forgotten some place at place just enter this command for removing the module database package module package and then start with module api ticket install module whatever you have said for the database I mean I did not get you know what you have said for the password you have said while in the text boxes that appeared my square db password let me start. So, you have got the screen apache 2 my square server local host database administrator username enter this on your paper somewhere admin and password as local host before this after this after this. Here database administrator username admin just have some password admin re enter the password confirmation now enter module user we have created the module user while after considering the my square database we have created a create database module we have created a database module and we have given the privilege for module user. So, enter module user there and module owner password as keep simple some module itself because you may not be confused and for re enter the same password. Everyone got this screen local host module admin now open the browser and type local host module admin page fine. So, open this file vim user share module conflict dot php check if you have entered the correct database password to know the database password you can log into my square. So, first enter the command my square minus u username root and password then just see the previous commands what you have entered we have given the we have given the privilege for module user identified by some module password. So, this password htp is same as same as in the case of conflict file of module. So, just open the run this command my square minus u root and see the your pass commands what we have given the password for module grant all privilege on module dot star to module user at local share identify by module password. So, once you get this module password check if it is same in the conflict file correct conflict file is at user share module conflict dot php conflict dot php in conflict dot php user share module conflict dot php you need to enter at set it at module db password. So, give the correct database password give the same password what you have set it here identified by my square module db password it should be the same once you correct this everyone know module db password what you have given the password identified by here the same password is to be written you got how to know what you have entered the file name this one here. So, at the command prompt you enter this my square minus u then check your previous commands by your top k you have given grant all privileges on module dot star to module user at local share identify by some password that password is to be the same in the conflict file done with that. So, after that open the page in the browser local host module admin ctp colon slash slash local host slash module slash admin and continue if all the this should show that all the database table creation should show the success continue with it in continue further continue further until it completes all the installation of creation of tables. So, this there is a page for configuring module admin information continue continue. So, you have to be careful here you have to enter the password which you will be using for entering into module as a admin user for controlling all the activities. So, better decide your own easy password admin password. I am giving it as admin itself fairly simple email you give your any email address it will not check whether it is valid or not, but if any like anything is going wrong then it will try to mail at this email address. So, it is better the module admin give the valid password a valid email address enter the information select time zone. So, enter the admin password enter email address city and country if you want you can keep your information here at this place you can update your profile at any time further then update your profile. So, you will get the screen for front page settings the update profile module just enter full site name for your module I am entering for module for IIT Bombay workshop and short name this will be appearing in your front page and in the description in the front page usually the list of courses will be seen. So, it is better not to show all the courses. So, it is you select the list of categories this will show like in IIT Bombay we create each a separate category for each semester. So, all this categories can be seen in the front page. So, front page list of categories for any user and list of categories for even the logged in users safe changes for this. So, you will get module for IIT Bombay workshop everything this initially a miscellaneous category has been created hope everyone got this page. It is fairly simple just you have to take care of the user names and passwords of everything database and modules. You can change your front page front page settings even later on whatever we have added right now. You can change the appearance let me select this preference it is up to you and if everyone has set up LDAP on their own system then you can create a configure LDAP setup in module. First you need to enable LDAP setup LDAP in module this enables this and in the settings you need to specify the server settings and all the details. So, I will be describing about this right now. If server is been successfully set up LDAP server is been set up on your system then you can use it. So, enter host URL as LDAP colon slash slash and your IP address IP address of your machine. You can check your IP address from this if config command given and select the versions for LDAP as 3 because you have installed LDAP 3 version 3 utf 8 in band in band settings hide the passwords because it is usually store the passwords in the database. So, you have to hide it just recommended and the user lookup settings you need to enter the LDAP what settings we have done while installing LDAP. So, user attribute as UID before this in user tab we have to select posix account RFC 2307 BIS and in context. So, if you are not getting let me repeat this in this page enter host URL as LDAP colon slash slash your IP address version 3 hide passwords select the user lookup settings as in user lookup settings select user tab as posix account RFC 2307 BIS in the context enter your LDAP settings what you have done while installing yeah DC is equal to my. So, first enter OU is equal to people DC is equal to my domain this is what you have created and DC is equal to com OU is equal to people comma DC is equal to my FN domain what you have entered for your LDAP setting DC is equal to com they enter the user attribute as UID member attribute as OU member attribute uses DN as CN equal to manager DC is equal to my domain DC is equal to com CN is equal to manager DC is equal to my domain DC is equal to com. Now, in the data mapping the bottom data mapping this is actually used for mapping the LDAP data into module. So, what did we do is whatever the user names you have been given in the LDAP that we bring from the LDAP and store in the module database. So, the for the first name LDAP stores in UID. So, enter your first. So, in the module database the first name will be stored as UID that is fetch from the LDAP send them as CN. If you have any other attributes in LDAP then you can enter those attributes here first name as UID send them as CN that is it same settings. In the IIT Bombay module database we we store many other attributes that have been fetched from LDAP and LDAP many attributes are stored for every user. It is ID number, city town department, email address everything save changes and disable this in common settings disable self registration. What did we do is any person can login into module with some user name as a guest by creating a new user name. You can give instruction hope you got this then save changes ok. Disable after that in the instructions just give some instructions whatever required and then save changes and then log out from the module and you can test for your LDAP user created like student one is been created in the LDAP password is student 1 2 3. So, initially if you do not have any valid email address then it will ask the user to update his profile enter some email address. If this these attributes are set in LDAP then it will not ask the user to enter its own details. So, update the profile here. So, this is the student login initially no courses has been created and so it is not enrolled with the admin you can create categories you can create courses assignments everything and all this has been explained in the previous lectures. And let me give some insights of configuring web server and module come to the terminal from user from root from open the file slash etc slash etc apache to conf.d module and just go below some 10 lines you will see that here we have restricted the users from other users accessing the module. So, you can if you want to allow access from other machines you need to command this deny from all and allow this. So, your module can be accessed from other host right now we were accessing the module from our local host the same IP address if you want to open module of some other host you need to set a test allow allow all and command out deny from all. So, you can test your neighbors module also we are entering the URL after that you need to restart. So, that all these settings are been taken care you can see your memory usage in hard disk space using the command df minus h and the module data whatever we have created is not taken by the module he module has created its own module data directory. So, in module has created its own module data directory in slash val slash lib this is the module data directory that is created by module. So, you may not be having much space in your slash var. So, we have created another directory in slash extra you can configure this path module data directory path in your config.php. So, that if you do not have spaces one directly you can in the config file you can reset it for some other path you can see the config file in slash etc module config.php. So, open this file vim etc module config.php here the data directory is been given as val lib module. So, if you know if you do not have space by default in var directory then you can change the direct change to any other space like slash extra module data what we have created earlier and we have set all the permissions for that. So, right now I will not be explaining how to by by changing the data directory we have created module we have set up LDAB these are the references. Let me give a survey of IID Bombay module the module source code is of approximately 50 NB and if you want any changes for our institute then we will we usually change the source code on requirement basis and database size is 600 MB it it grows how much you store information and from how many years you are using everything and module data directory current module size is 815 GB and total of users right now are 11000 plus and total 1800 courses more than 1800 courses are running in IID Bombay in module and the configuration of the server is we have allocated 4 GB of RAM we have given 4 GB of RAM and it has many other applications also running that is like more complex than even module. So, with 4 GB of ROM RAM it can easily handle it and the server is Intel Pentium 4 with 3.2 Gigahertz. So, any desktop machine can be used as module.