Wednesday, February 3, 2016

Visual Studio .Net Installation

Step By Step Installing Visual Studio Professional 2013 RC
Steps to install VS Professional 2013:
1. First download Visual Studio Professional 2013 RC from here. Setup is around 3 GB. I recommend to download dvd iso image file.
You can also refer this post for new features in the VS 2013 RC.
2. Mount .iso file (if downloaded) , you will see following list of files.
https://i0.wp.com/i250.photobucket.com/albums/gg247/dsuraj/General/VS%202013%20Professional%20RC/1.png
3. Click on vs_professioanl.exe file to start the installation. You will see following screen first.
https://i2.wp.com/i250.photobucket.com/albums/gg247/dsuraj/General/VS%202013%20Professional%20RC/2.png







4. Read the license terms and privacy policy and accept them by selecting the checkbox in from of them. Click on “Next” button.
https://i0.wp.com/i250.photobucket.com/albums/gg247/dsuraj/General/VS%202013%20Professional%20RC/3.png





5. Select the features you want to install then click on “INSTALL” button to start the installation.
Setup will create system restore point first before installing VS 2013 components.
https://i1.wp.com/i250.photobucket.com/albums/gg247/dsuraj/General/VS%202013%20Professional%20RC/4.png




6. Once it’s done, setup will start acquiring the required components to install and will start installing core features. It will take few minutes to install it. You may required to restart your system (for once ONLY) in between the setup.
https://i2.wp.com/i250.photobucket.com/albums/gg247/dsuraj/General/VS%202013%20Professional%20RC/5.png
https://i0.wp.com/i250.photobucket.com/albums/gg247/dsuraj/General/VS%202013%20Professional%20RC/6.png
https://i0.wp.com/i250.photobucket.com/albums/gg247/dsuraj/General/VS%202013%20Professional%20RC/7.png
https://i0.wp.com/i250.photobucket.com/albums/gg247/dsuraj/General/VS%202013%20Professional%20RC/8.png
https://i1.wp.com/i250.photobucket.com/albums/gg247/dsuraj/General/VS%202013%20Professional%20RC/11.png







7. Once it finishes the setup, you will see the success screen as below.
https://i0.wp.com/i250.photobucket.com/albums/gg247/dsuraj/General/VS%202013%20Professional%20RC/12.png
8. Click on “Restart Now” button to restart your system. After restarting your system, you are now ready to use your VS Professional 2013 RC.
Here you are done with the installation of the Visual Studio Professional 2013 RC.
Now Just open the installed VS 2013 program from your system. You will see following welcome screen. You can sign in to your Microsoft account by clicking on “Sign In” button, else you can just skip the step by clicking on the “Not now, maybe later” link.
If you sign in with your Microsoft account, Visual studio will sync your VS settings between different devices and connect to online developer services.
https://i2.wp.com/i250.photobucket.com/albums/gg247/dsuraj/General/VS%202013%20Professional%20RC/13.png









9. If you click on the “Sign in” button, you will see the following screens.
https://i2.wp.com/i250.photobucket.com/albums/gg247/dsuraj/General/VS%202013%20Professional%20RC/14.png
https://i2.wp.com/i250.photobucket.com/albums/gg247/dsuraj/General/VS%202013%20Professional%20RC/15.png
10. If you are not interested to sign in, you can just skip this step and can sign in to your Microsoft account later. Once you have done with that, you will be asked to select a theme for your visual studio. You can select either Blue, dark or light theme. Also you can set your development settings from the screen. Off course you can change these settings later at any time.
https://i2.wp.com/i250.photobucket.com/albums/gg247/dsuraj/General/VS%202013%20Professional%20RC/16.png
11. Now click on the “Start Visual Studio” button to launch the application.
https://i1.wp.com/i250.photobucket.com/albums/gg247/dsuraj/General/VS%202013%20Professional%20RC/17.png

Python Installation (Windows)

Python Installation in Windows
Python is an interpreter language, developed to remove the complexity of other programming languages.
The simplicity and robustness in Python, extends its application in web programming, Hardware, applications and statistical analysis. etc,.
Python installation is bit simple, but involves a bit glitches when you want to configure the flexibility.
Download Python (Clicking on this link will redirect to the Python download website)
Python 2.7.11 is the most compatible version, and it allows flexibility for various applications.
Now click on the Setup file and the process is bit self explanatory.
After set up is completed it creates a folder in C directory.
C:\Users\SSS2015047\Desktop\Capture.PNG
Now open Advanced system settings from Control Panel.

C:\Users\SSS2015047\Desktop\Capture.PNG

Press Ok and save the setting. Now re-direct to command prompt and type Python
C:\Users\SSS2015047\Desktop\Capture.PNG
This should display command prompt as above screenshot.

Python Installation Packages
Python installation packages are packages developed, which have classes and methods.
Most of the cases they are pre-built to for various other operations.




Installation:

pip-Win is a tiny Python Package manager that is super easy to install. It automatically installs pip and virtualenv on Windows and its GUI lets you:
  • switch from one python interpreter (i.e. version) to another (including py and pypy)
  • see all installed packages, and whether they are up-to-date
  • install or upgrade a package, or upgrade pip itself
  • create and delete virtual environments, and switch between them
  • run the IDLE or another python script, with the selected interpreter
pip-Win is made available under the GNU Lesser General Public Licence.

Installation
pip-win_1.7.exe, then execute it to launch pip-Win.  Follow these instructionsif you are behind a proxy that prevents pip-Win from downloading files.  Feel free to create additional shortcuts to the file where you find it most convenient.
You can also create the pip-win executable from source code, using NSIS.     

If you are not behind a proxy, you are advised to immediately upgrade your distribute/pip/virtualenv version : 
  • run pip-Win, type upgrade in the command field and click Run.  
  • select another Python interpreter in the first list box, and click Run again. Repeat for each interpreter.
Also, the installation of some Python packages require a C++ compiler. Here is how to install this compiler (source):
  • for 32-bit Python : 
  • for 64-bit Python:
    • Python 3.3, install the full version of Visual Studio 2010. 
    • For Python 3.2 and older, install the full version of Visual Studio 2008. 
    • Make sure that you check the “x64 Compilers and Tools” option under Visual C++.

C:\Users\SSS2015047\Desktop\pipwin4.png
It would create scripts file in the C directory.
Add the path to environment variables similar to python path.
Now type pip install <package name>, to see the command is working

Ruby On Rails Installation ( Windows)

    Rails Installation on Windows
      Follow the steps given below for installing Ruby on Rails.
    Step 1: Check Ruby Version
     First, check if you already have Ruby installed. Open the command prompt and type ruby -v. If Ruby responds, and  ifit shows a version number at or above 2.2.2, then type gem --version. If you don't get an error, skip Install Ruby  step. Otherwise, we'll install a fresh Ruby.
    Step 2: Install Ruby
If  Ruby is not installed, then download an installation package from rubyinstaller.org. Follow the download link, and run the resulting installer. This is an exe file rubyinstaller-2.2.2.x.exe and will be installed in a single click.
    Step 3: Install Rails 
     
    Install all of Rails and its dependencies using the following command through the command line −C:\> gem
    installrails
C:\Users\BHASKAR\Desktop\2016-02-02 15_17_35-Ruby on Rails Installation - Internet Explorer.png
    Step 4: Check Rails Version
    Use the following command to check the rails version.
    C :\> rails –v
    Step 5: Check whether Rails is Up-to-Date
      Assuming you have installed Rails using RubyGems, keeping it up-to-date is relatively easy. Use the following command −
    C:\> gem update rails
C:\Users\BHASKAR\Desktop\2016-02-02 15_20_49-Ruby on Rails Installation - Internet Explorer.png

    Step 6: Verify Installation
     You can verify if everything is set up according to your requirements or not. Use the following command to create a 
     demo project.
     C:\> rails new demo
C:\Users\BHASKAR\Desktop\2016-02-02 15_22_51-Ruby on Rails Installation - Internet Explorer.png
 
         It  will generate a demo rail project; we will discuss about it later. Currently we have to check if the environment is set   up    or not.
         C:\> cd demo C:\apache-ant-1.9.6
         C:\demo> rails server
         It will generate auto-code to start the server
Rails Server

        Now open your browser and type the following –
        http://localhost:3000
It     should display a message, something like, "Welcome aboard" or "Congratulations".
Z:\Ruby on Rails Installation\rails_welcome.jpg

PHP Installation (Windows)


PHP Installation in Windows using XAMMP Server
XAMPP is an easy to install Apache distribution containing MariaDB, PHP, and Perl. Just download and start the installer. It's that easy.
Step 1:
Click on the below link and download XAMPP as per your required PHP version,
C:\Users\BHASKAR\Desktop\2016-02-02 10_13_30-Download XAMPP - Internet Explorer.png


Step 2:
Run the downloaded Setup file
C:\Users\BHASKAR\Desktop\php inst\2016-02-02 11_46_09-Windows7_64 - VMware Workstation.png
C:\Users\BHASKAR\Desktop\php inst\2016-02-02 11_46_51-Windows7_64 - VMware Workstation.png


Step 3:
Select location to install XAMPP and proceed as shown in below screens,
C:\Users\BHASKAR\Desktop\php inst\2016-02-02 11_47_16-Windows7_64 - VMware Workstation.png
C:\Users\BHASKAR\Desktop\php inst\2016-02-02 11_47_35-Windows7_64 - VMware Workstation.png
C:\Users\BHASKAR\Desktop\php inst\2016-02-02 11_48_11-Windows7_64 - VMware Workstation.png
C:\Users\BHASKAR\Desktop\php inst\2016-02-02 11_58_17-Windows7_64 - VMware Workstation.png

Step 4:
After finish, open start menu→XAMPP→XAMPP Control panel,
  • Start Apache server to work on PHP Application.
  • If you need to work on Mysql also, then click start button in the XAMPP control panel (optional).
  • To view Mysql open any web-browser (Chrome, IE, Firefox, and Safari etc..,) and enter “http://localost/phpmyadmin” (optional).

C:\Users\BHASKAR\Desktop\php inst\2016-02-02 11_59_57-Windows7_64 - VMware Workstation.png
Step 5:
  • Open C:\xampp\htdocs and paste your project folder.
  • For example my folder name is “sampleproject”, then open C:\Xampp\htdocs and paste sampleproject folder there.
Step 6:
  • Open any web-browser (Chrome, IE, Firefox, and Safari etc..,) and enter “http://localost/foldername”
For example,open Firefox and enter “http://localhost/sampleproject”

Mongo DB Installation

Mongo DB Installation Steps:
Step 1:
Click this link to get the mongo DB software http://www.mongodb.org/downloads  
Step 2:
We will get this window, select one option based on O.S configured in your system
Step 3:
By selecting the above option we will get setup file

Step 4:
Double click on setup file we will get this window
C:\Users\SSS2014033\Desktop\Mogadb Intallation\step 1.PNG

Step 5:
Click the license agreement check box
C:\Users\SSS2014033\Desktop\Mogadb Intallation\step 2.PNG
Step 6:
Select Typical as setup type
C:\Users\SSS2014033\Desktop\Mogadb Intallation\step 3.PNG

Step 7:
Click Install option
C:\Users\SSS2014033\Desktop\Mogadb Intallation\step 4.PNG
Step 8:
Click Finish option
C:\Users\SSS2014033\Desktop\Mogadb Intallation\step 6.PNG

Mongo DB Connection:
Step 9:
After installing the mongo DB
We will get that installation path in this above location
C:\Program Files\MongoDB 2.6 Standard\bin
Step 10:
Open command prompt and copy the mongo DB installation path
cmd>cd C:\Program Files\MongoDB 2.6 Standard\bin


Step 11:
Mongo DB requires a data folder to store its files. The default location for the Mongo DB data directory is c:\data\db. So you need to create this folder using the Command Prompt. Execute the following command sequence
C:\>md data
C:\md data\db

Step 12:
C:\Program Files\MongoDB 2.6 Standard\bin >mongod.exe --dbpath "c:\data\db"
in this dB path represents the path where to store data, we will put that path in double-quotes(“ “)
This will show waiting for connections message on the console output indicates that the mongod.exe process is running successfully.




Step 13:
Now to run the mongo db you need to open another command prompt and issue the following command
C:\Program Files\MongoDB 2.6 Standard\bin >mongo.exe
MongoDB shell version: 2.4.6
Connecting to: test
>