Results 1 to 6 of 6

Thread: Install Apache and MySql on windows

  1. #1
    Join Date
    Nov 2009
    Posts
    865

    Install Apache and MySql on windows

    Hi,
    I am new in networking. I need some basic steps in how to install a Apache server on Windows computer. The same question lies for MySQL. But there is some different in case of MySQL. I want to install the same on a Linux based computer as per my clients requirement. I had not done this before but a some basic steps will give out a great help. Other than this also show some steps to create password file - htpasswd. Thanks in advance.

  2. #2
    Join Date
    Jan 2006
    Posts
    4,221

    Re: Install Apache and MySql on windows

    Apache is the most used server in the world. Originally designed for UNIX systems but the same also work on windows. To install it you have to first download Apache. Then open the file. A welcome screen opens. Triple-click the Next button (to accept the license and go read the readme). In the Network Domain box enter the IP address of your server (usually the local machine). In the Server Name, enter localhost. This will allow you to access your server by typing the name in your address bar of Internet Explorer. Then specify a contact email (you can put anything in this case).

  3. #3
    Join Date
    Jan 2006
    Posts
    3,792

    Re: Install Apache and MySql on windows

    You have to provide the user information and port number in order to configure Apache properly. I will recommend you to go through the Custom option and click Next. Then give the proper installation directory and run the setup. After that to check it working go to Internet Explorer or any browser type -----http://localhost------. If a page outlining apache appears, it's good. Then you can place your html files, zip, etc. ... in the htdocs folder. Directory apache2, which is located in the installation directory of Apache), or retry the installation.

  4. #4
    Join Date
    May 2008
    Posts
    2,945

    Re: Install Apache and MySql on windows

    It is not so tough to install MySQL on linux shell. You can use Putty as SSH client for that. Log in to your remote server. After successful authentication you should find yourself in front of a screen. Type apt-get install mysql-server and press the enter key. Then type Y then press the enter key to confirm the installation of MySQL. Press the enter key to confirm. Then, if you want after any removal of package mysql-server to keep your database (it's recommended) choose no, then press the enter key, otherwise your database will be deleted after an uninstall of mysql server. After that choose Yes if MySQL should start at server startup. Then press the enter key.

  5. #5
    Join Date
    Feb 2008
    Posts
    2,635

    Re: Install Apache and MySql on windows

    You can create a zone identification on your website using the. Htaccess and. Htpasswd. When you want to add or create a user, you need to know how to encrypt the password and to assign as a password in clear text in the file otherwise it will not work. Apache has a utility that allows you to encrypt your passwords encrypted. This utility is located in the bin directory of Apache. If you do not have this utility, you can download it from the internet and use that.

  6. #6
    Join Date
    Apr 2008
    Posts
    3,424

    Re: Install Apache and MySql on windows

    To configure the Htpasswd file click on Start, then Run and type cmd. Go to the directory where the program (using the command cd directory) to reach the desired directory. Then give the proper htpasswd command and hit enter. The program asks for your password. Type it once, press enter and then retype it (for confirmation). A message Adding password for user your_login appear if everything went well.

    Syntax Sample :

    • htpasswd [ -c ] [ -m | -d | -s | -p ] passwdfile username
    • htpasswd -b [ -c ] [ -m | -d | -s | -p ] passwdfile username password
    • htpasswd -n [ -m | -d | -s | -p ] username
    • htpasswd -nb [ -m | -d | -s | -p ] username password

Similar Threads

  1. Replies: 2
    Last Post: 11-08-2010, 02:06 PM
  2. How to install Apache, PHP and MySQL on Debian
    By blueprats in forum Guides & Tutorials
    Replies: 4
    Last Post: 15-06-2010, 04:21 PM
  3. Install PHP 5 to work with Apache 2.2 on Windows
    By Rudra.J in forum Guides & Tutorials
    Replies: 1
    Last Post: 06-02-2010, 03:33 PM
  4. Installing apache php and mysql on slackware
    By WinSlayer in forum Operating Systems
    Replies: 3
    Last Post: 10-08-2009, 09:54 PM
  5. How to install Apache Tomcat on Windows Vista
    By Janhavi4U in forum Windows Software
    Replies: 3
    Last Post: 19-02-2009, 10:32 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,714,047,129.51168 seconds with 17 queries