Sunday, August 7, 2016

How to Installing Wamp Server on Windows

Installing Wamp Server on Windows


Wamp Server is a web server platform having Apache, MySQL, and PHP. You can use it to test run a website written using PHP and MySQL locally on your computer. People use Wamp Server to test their websites CMSs like WordPress, Drupal, or Joomla.
The acronym WAMP refers to the first letters of Windows operating system(OS), Apache web server, MySQL database management system, and PHP. In this guide we will show you how to install Wamp Server on Windows.

How to Install Wamp Server on Windows

1) In order to install Wamp Server, You first need to download the Wamp Server installer.
wamp server website

2) Go to the "DOWNLOADS' section in the page.
Download the latest version of WAMP SERVER 32 BITS or 64 BITS(depending on whether your computer supports 32 bits or 64 bits).
wamp downloads section

3) After the installer has been downloaded, double click on the executable(.exe) file to start the WampServer setup Wizard.
Click Next.
wamp setup wizard

4) If you accept the License Aggrement, select “I accept the agreement”, and then click Next.
license agreement

5) Ensure that the Destination Location is set to "C:\wamp" as shown below, then click Next.
Note: You should avoid installing WampServer in "C:\Program Files".
select destination location

6) Select additional tasks if you want to, then click Next.
select additional tasks

7) Click Install to continue with the installation.
ready to install

8) You will see the installation process. It takes some time, wait till it completes.
installation progress

9) Leave the default values in the fields "SMTP" and "Email", then click Next. These settings are required if you want to send emails from your website. Generally, people don't send emails from websites hosted on localhost(your Personal Computer's address).
php mail parameters

10) You can choose to launch the WampServer now. Click Finish to exit the installation process.
finish setup wizard
The installation is complete.
Note: If you want to start WAMP server next time, right-click on the WAMP icon found in the desktop or in the start menu, then select “Run as administrator”. Click "Yes" on the "User Account Control" popup.
You will see the WAMP icon as shown below in the notification area at the bottom-right side of the desktop.
all services started : Green icon denotes all services like Apache, MySQL, PHP, etc. are running.
all services stopped : Red icon means no services are running.
some services started : Yellow icon means only some services are running. For example,  Apache and MySQL are running, and PHP is not running.
If you left-click once on the WAMP icon in the notification area, you will see the administrator area as shown below. In this area you can choose options like "Start All Services", "Stop All Services", etc. You can start Apache, PHP, or MySQL individually but it is better to start all services before visiting "localhost" in a web browser.
wamp controls

11) Verify that the WampServer icon is green in the notification area. Open your web browser like Mozilla Firefox or Chrome.
Type “localhost” in the address bar, and click enter. The browser should display this page.
localhost page
If your browser shows this page, WampServer is installed successfully and working properly.
If you are looking for a hosting provider, you might want to consider Arvixe hosting.

How to Install XAMPP on Windows

How to Install XAMPP on Windows


XAMPP is an Apache server distribution which has MySQL, PHP, PERL, and some other softwares like phpMyAdmin. It's an extremely useful software which can be used to test a website locally on a personal computer. Generally, people who use content management systems based mainly on PHP and MySQL like WordPress, Drupal, Joomla, or ownCloud to run their blogs and websites find XAMPP to be very useful to comfortably run a local server. So, in this guide we will show you how to install XAMPP on Windows.
From the term XAMPP, you can see that X denotes cross platform (Operating systems like Windows, Mac OS X, Linus, and Solaris), A denotes Apache server, M stands for MySQL, P stands for PHP, and the last P is for PERL.

1) To install XAMPP in windows 7, first you need to download the XAMPP installer for windows. To download the XAMPP installer for windows, visit the URL https://www.apachefriends.org/download.html.
This page shows the latest version of XAMPP for windows. It also shows the versions of Apache, PHP, MySQL, and other softwares included in this version of XAMPP.
2) Now, go to the "Download" section in the page. Here, you will see XAMPP for Windows, Linux, and Mac OS X. We can easily download the XAMPP installer for Windows.
3) Click on the Download link to download XAMPP as shown below.
Download XAMPP for Windows

4) After downloading the installer, double click on the executable(.exe) file to start the XAMPP installation process. Click Yes, if User Account Control dialog box appears.
Select your language in the dialog box then click OK.
select language

5) This dialog box below shows that you should avoid installing XAMPP to C:\Program Files. Click OK.
\Program Files

Click Next.
setup wizard

6) Verify that all the checkboxes are checked, then click Next.
choose components

Verify that the Destination Folder is set to C:\xampp, then click Install.
install location

7) You will see the installation progresses. Wait for the process to complete.
installation progress

8) Click Finish to finish the installation process.
finish install

9) The dialog box asks: Do you want to start the Control Panel now?
You can choose to start the Control Panel now. Clicking Yes will directly open the XAMPP control panel. Please see the Note below to know how to start XAMPP Control Panel.
installation complete
The installation is complete.

Note: If you want to start XAMPP Control Panel next time, right-click on the XAMPP icon found in the desktop or in the start menu, then select “Run as administrator”. Click "Yes" on the "User Account Control" popup.

10) If the XAMPP control panel is not already started, find the XAMPP control panel in the start menu or the its desktop icon, right click on it and select "Run as administrator". Click "Yes" on the "User Account Control" popup, and wait for the XAMPP control panel to start. You will see the XAMPP control panel running.
xampp control panel

11) Click on the Start button next to Apache, and wait for apache to start. After the Apache has started, click on the Start button next to MySQL. Wait for MySQL to start. Both Apache and MySQL are running now.
xampp running

12) Now, open your web browser like Mozilla Firefox or Chrome.
Type “localhost” in the address bar and click enter. The browser will be redirected to “localhost/xampp/splash.php”. The browser should display the page shown below.
xampp splash page
If your browser displays the above page, XAMPP is installed successfully and working properly.
Click on the language you want to use in the displayed page. You will see the page as shown below.
xampp index page
XAMPP is ready to run your blog or website locally on your computer.
If you are looking for a hosting provider, you might want to consider Arvixe hosting.

Eclipse Download and Installation

Eclipse Download and Installation
(for Python) Instructions


First download and Install Python and Java before installing Eclipse.

and then  do Preparation to installing Eclipse.

Eclipse: Version 4.4 (Luna)

The Eclipse download requires about 200 MB of disk space; keep it on your machine, in case you need to re-install Eclipse. When installed, Eclipse requires an additional 200 MB of disk space.

Downloading

  1. Click EclipseThe following page will appear in your browser. In this handout we will download Eclipse Standard 4.4 for Windows 32 Bit; if your computer uses Windows, continue below; otherwise look for the pull-down list showing Windows and instead choose either Mac OS X (Cocoa) or Linux and then continue below.

    It is critical that Java, Python, and Eclipse are either all 32 Bit or are all 64 Bit (and only if your Machine/OS supports 64 Bit): I think it easiest to use 32 Bit for everything.
  2. Click the Windows 32 Bit Operating System for your machine, under the heading Eclipse Standard 4.4 (right under Package Solutions).You will see the following page (don't worry about the name of the institution to the right of the big downward pointing arrow).

  3. Click the orange DOWNLOAD button. The site named here, in orange to the right of the button: United States - Columbia University (http) is the random one chosen by the download page this time; yours may differ.This file should start downloading in your standard download folder, while showing a splash screen about donating to Eclipse. This file is about 200 Mb so it might take a while to download fully if you are on a slow internet connection (it took me about 5 minutes over a cable modem). Don't worry about the exact time as long as the download continues to make steady progress. In Chrome progress is shown on the bottom-left of the window, via the icon

    The file should appear as

    Terminate the window browsing the Eclipse download.
  4. Move this file to a more permanent location, so that you can install Eclipse (and reinstall it later, if necessary).
  5. Start the Installing instructions directly below.


Installing (for Python)

Python and Java should be installed before installing Eclipse
  1. Unzip eclipse-standard-luna-R-win32.zip, the file that you just downloaded and moved.
    On my machine (running Windows 7), I can
    • Right-click the file.
    • Hover over the IZArc command from the menu of options.
    • Click Extract Here

    If you do not have IZArc or an equivalent unzipping program, here is the web site to download a free copy of IZarc.
    Unzipping this file creates a folder named eclipse; unzipping 200 MB can take a few minutes. You can leave this folder here or move it elsewhere on your hard disk. I recommend putting the downloaded file and resulting folder in the C:\Program Files\ directory.
  2. Create a shortcut on your desktop to the eclipse.exe file in this eclipse folder: 
    On most Windows machines, you can
    • Right-press the file eclipse.exe
    • Drag it to the desktop.
    • Release the right button.
    • Click Create shortcut here
    Now you are ready to perform a one-time only setup of Eclipse on your machine.
  3. Double-click the shortcut to Eclipse that you just created above.If the following Security Warning window appears


    • Uncheck the Always ask before opening this file checkbox
    • Click Run
    The following splash screen will appear

    and then a Workspace Launcher pop-up window will appear.

    In the Workspace text box, your name should appear between C:\Users\ and \workspace, instead of Pattis.
    Leave unchecked the Use this as the default and do not ask again box. Although you will use this same workspace for the entire quarter (checking projects in and out of it), it is best to see this Workspace Launcher pop-up window each time you start Eclipse, to remind you where your workspace is located.
    In fact, it is a good idea to create on your desktop a shortcut to your workspace folder; but you must click OK (see below) before Eclipse creates this folder and you can create a shortcut to it.
  4. Click OK.Progress bars will appear as Eclipse loads.
    Eventually the Eclipse workbench will appear with a Welcome tab covering it.

  5. Terminate (click X on) the Welcome tab.You will not see the Welcome tab when you start Eclipse again, after this first time.
  6. Click Help (on the far right of the line below this window's blue title Java - Eclipse) and then click Install New Software... in its pull-down menu, as shown below.
    The Install pop-up window will appear.

  7. Enter the text (or cut/paste from this document) http://pydev.org/updates into the Work with text box and press Enter.In a few seconds the information under Name should change from
    There is no site selected to Pending to

    Select only the top PyDev checkbox; do NOT select the PyDev Mylyn Integration (optional) box.
    Check before proceeding that the Install pop-up window appears as

  8. Click Next >A new Install pop-up window will appear.

  9. Click Next >A new Install pop-up window will appear.
    Select the I accept the terms of the license agreement radio button, so the window appears as

  10. Click FinishAn Installing Software pop-up window will appear. During installation, it will show the various operations it is performing and a progress bar for each one. Because the installer is fetching various files online, this process might take a few minutes.

    The installation will pause, and a Selection Needed pop-up window appears.
  11. Check the box labeled Brainwy Software; Pydev; Brainwy.Check before proceeding that the Install pop-up window appears as

  12. Click OKThe installation will finish (showing the final progress bars).
    Software Updates pop-up window will appear.

  13. Click YesEclipse will terminate and restart. As you did in step 3, click OK to the Workspace Launcher pop-up window.
  14. Click Window (to the left of Help on the far right of the line below this window's blue title Java - Eclipse) and then click Preferences in its pull-down menu, as shown below.
  15. Drill down to select the interpreter:
    • Disclose PyDev by clicking the + in front of PyDev or double-clicking PyDev (after the +); the + changes to a -.
    • Disclose Interpreters by clicking the + in front of Interpreters or double-clicking Interpreters (after the +); the + changes to a -.
    • Select Python - Interpreter.
    The Preferences pop-up window should appear as follows
  16. Click New... at the top-right of the top windowA Select Interpreter pop-up window appears.
    Type Python34 in the Interpreter Name text box.
    Type (or cut/paste) C:\Python34\python.exe in the Interpreter Executable text box (or browse to this file).
    The Select Interpreter pop-up window should appear as


  17. Click OK.A Selection needed pop-up window will appear.

    Ensure that a check appears in all four checkboxes.
  18. Click OK.The Preferences pop-up window will be changed to

  19. Click OK.A Progress Information pop-up window will appear.

    During installation, it will show the various operations it is performing and a progress bar for each one. Eventually the installation will terminate.
    If the following pop-up window appears

    Ensure the "Private networks, such as my home or work network" checkbox is checked, and click Allow Access.
  20. Click Window (to the left of Help on the far right of the line below this window's blue title Java - Eclipse SDK), hover over Open Perspective in the pull-down menu and then clickOther... in the next pull-down menu.
    The Open Perspective pop-up window will appear.

  21. Double-click PyDev (third from the bottom)The blue label on the Eclipse window will change to PyDev - Eclipse, the Package Explorer in the upper-left tab will change to PyDev Package Explorer, and a PyDev icon will appear to the right of the Java icon.

  22. Right-click the Java icon to the left of the PyDev icon and select close
    The Eclipse workbench will now have only the PyDev icon here and will look like

  23. Locate the workspace folder created in step 3 (see C:\Users\yourname\workspace) and download the courselib.zip file into this workspace and unzip it there, producing the courselibfolder; it should should contain a bunch of Python module files (ending in .py). From time to time you will be asked to put other course-specific Python module files into this courselibfolder; these modules will be usable in all Python projects in Eclipse.
  24. Inform Eclipse to use the courselib folder in all Python projects.
    • Select Window | Preferences.
    • Disclose PyDev by clicking the + in front of PyDev or double-clicking PyDev (after the +); the + changes to a -.
    • Disclose Interpreters by clicking the + in front of Interpreters or double-clicking Interpreters (after the +); the + changes to a -.
    • Select Python - Interpreter.

    • Click the Libraries tab (leftmost, above the bottom pane)
    • Click the New Folder button (topmost, right of the bottom pane)
    • Browse to the courselib folder (added above) in the Browse for Folder pop-up window (C:\Users\yourname\workspace\courselib).
    • Click the courselib folder selected, and then click OK
    • Click Apply (you will see some progress bars)
      The pop-up window should now appear as
      Notice a fifth entry (ending in courselib appears at the bottom of the bottom pane named System PYTHONPATH
    • Cick OK
  25. Terminate (click X on) the Eclipse window.
Eclipse is now installed for Python.