How can I know which version of Drupal is installed in my server?
You can get this by logging in to admin. Go to Administer → Reports → Status Report.
This will let you know all your config information of the site including your Drupal version.