Thursday, August 8, 2013

[ADVANCED TUTORIAL] How to Block a specific user from downloading from you in DC++ ??

Shopping FREE of COST. Visit my blog

Some time you really need this. If for any reason you don't want to upload your content to say Mr. X. Then you can block him. You can find your own reason right !! ;-)


1. Click on start and type "Firewall".Click on "Windows Firewall with Advanced Security"

2. Click on "Inbound Rules", then on "New Rule".

3. Click on Next.

4. Browse to "C:/Program File" then "DC++" folder and click on DC++.exe. Click NEXT.

5. Click Block the Connection Then press Next.

6. Press Next again.

7.  GIve a name like "Block DC++ User". Click Finish.

8. You can now see a new block rule "Block DC++ User". Right click on it and click on Property. Click on Scope.

9. Under Remote IP address Click on These IP addresses. Click on Add. Enter the IP address you want to block. Press OK OK.

10. Now repeat the steps from 2-9  for "Outbound Rule".

-------------------------------------------The user is now blocked.----------------------------------------------

Note:- Use this for a tutorial only. Don't do this if you really need this. Sharing is caring. Happy Sharing. 

[ADVANCED TUTORIAL] How to use Institute's HPC (High Performance Computing) ??

Shopping FREE of COST. Visit my blog.

HPC is a very good resource of our Institute. You can use it for parallel computing using both CPU (32 cores) and GPU (2 Graphics Card Nvidea Tesla). For more detail go here.  The computation time of your simulations will reduce drastically if you run your instructions parallely. Doing multiple jobs parallely. MATLAB is a good example of utilizing this parallel computation framework. So without wasting more time in introducing what is HPC, now we directly go how to use this facilty.

1. You have to go to computer center (CC) "Server Room" and ask for the HPC application form. 
2. Fill it up and take the signature of your HOD. 
3. Apply both for CPU and GPU. Option will be there on the form.
4. Get a xerox copy of your NIT I-card.
5. Write an application to the "Head of CC" to allow your "IP Address" to use HPC facilty.
6. Then submit both form and application in CC.
7. You will get the username and password to use HPC in your institute Webmail.


8. Now you have to connect to the server starting CPU/GPU Computing. (Make sure your IP address is allowed by them, otherwise you can't connect)
Download Putty, Xming, WinScp.
9. Install Xming and Winscp. Keep the desktop icon for both.

Configuring Putty:
10. Double click on putty (No need to install). 

Enter IP: in Putty under Host Name

Enter IP: in Putty under Host Name

13. Then click on data under Connection and Enter your username that you got from CC in mail. You don't need to enter your user id every time you login to remote HPC system.

14. Now click on SSH, and under that X11, click "Enable X11 Forwarding".

15. Now go back to Session, Enter a name like "HPC CPU" and click on save to save the profile. 

16. Repeat the same steps from 13-15 for "HPC GPU"

End Configuring Putty. 

17. Click on Xming Desktop icon and make sure it is running in tray of your system.

18. Now if you want to use the CPU Computing, open putty and "Enable X11 Forwarding" (do it every time you want to connect) and click on "HPC CPU" and click on "open".  (Make sure Xming is running in the tray.)

19. It will only ask for password, as we have already given our username in putty. Now Enter the password (Password is invisible). You are now connected to server.

20. After connecting to the server First work is to change the password and give your own password.
Enter the command "passwd". Enter Current password, then the new password two times.

21. To run MATLAB, type "matlab". Matlab will open. 

Using WinScp:

1. WinScp is used for transferring files from your local computer to HPC server. You have to use this software as you may need to transfer your matlab programs,  datasets to HPC server for execution of the program.

2. Open WinScp. Click on NEW.

3. Enter the HPC server IP Address (CPU / GPU), Enter your user name and password. Click on Save.

4. After than click on Login to File Transfer Mode.

5. Now you can transfer your file from Local Computer (Left Side) to Server (Right). Just drag and drop.

Enjoy Your Parallel Programming Using HPC !!

[A NOVICE TUTORIAL] Forwarding mails from NITR Webmail to Primary Mail Account (Gmail/Yahoo/Rediff)

Shopping FREE of COST. Visit my blog.

It is very tedious job to check all your mail ids gmail, yahoo mail, rediff mail, etc. and also NIT Webmail etc. Here is a simple tutorial how to forward all your mails in NIT Webmail to your gmail account, so that you don't need to check every time your NIT mails and you don't miss any important updates from institute.

1. Login to your NIT Webmail.

2. After login Click on Preferences.

3. Then click on Mail.

4. Enter your Primary mail id (Gmail/Yahoo/rediff) under "Forward a copy to". (Where u want to receive your NIT mails)

5. Then click on save. (Top left)

--------------------------------------------------------THE END-------------------------------------------------------