Prerequisites for installing NPTEL on a server:
- Ubuntu 14.10 OS Environment
- Apache or any other web server installed on that system
Steps for setting up on the server:
- First we need to make sure that we are working with the root user otherwise there are a lot of permission issues that arises when we start working.
Open terminal and run the following commands in it:
sudo passwd root
It will ask for creating a new password for the root user. Just create a new password and enter it again.
sudo passwd -u root
This command should show the message "passwd: password expiry information changed"
-
Update lightdm using the following command:
sudo apt-get install lightdm --upgrade
-
Edit the file /usr/share/lightdm/lightdm.conf.d/50-ubuntu.conf usign the following command:
sudo gedit /usr/share/lightdm/lightdm.conf.d/50-ubuntu.conf
Add the following line in the file opened at the bottom:
greeter-show-manual-login=true
-
Restart the system.
-
Login with root user.
-
Open terminal again and run the following commands:
mkdir /media/root && mount /dev/sdb1 /media/root/ && rm /var/www/html/index.html
cp -r /media/root/NPTEL/Instructions\ to\ access\ the\ courses\ in\ Local\ server/NPTEL\ Index/* /var/www/html/
ln -s /media/root/NPTEL/NPTEL\ -Phase2_Video/* /var/www/html/
-
Ok all done. Go ahead and check the browser at http://localhost .