Go Back   TechArena Community > Technology > Networking & Security
Become a Member!
Forgot your username/password?
Tags Active Topics RSS Search Mark Forums Read

Reply
 
Thread Tools Search this Thread
  #1  
Old 05-01-2010
Member
 
Join Date: Nov 2009
Posts: 861
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.
Reply With Quote
  #2  
Old 05-01-2010
Member
 
Join Date: Jan 2006
Posts: 4,215
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).
Reply With Quote
  #3  
Old 05-01-2010
Member
 
Join Date: Jan 2006
Posts: 3,782
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.
Reply With Quote
  #4  
Old 05-01-2010
Member
 
Join Date: May 2008
Posts: 2,944
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.
Reply With Quote
  #5  
Old 05-01-2010
Member
 
Join Date: Feb 2008
Posts: 2,631
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.
Reply With Quote
  #6  
Old 05-01-2010
Member
 
Join Date: Apr 2008
Posts: 3,423
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
Reply With Quote
Reply

  TechArena Community > Technology > Networking & Security
Tags: , , , ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "Install Apache and MySql on windows"
Thread Thread Starter Forum Replies Last Post
Best ebooks for Web Development (PHP, Apache, MySql) SoftWore Ebooks 2 11-08-2010 02:06 PM
How to install Apache, PHP and MySQL on Debian blueprats Guides & Tutorials 4 15-06-2010 04:21 PM
Install PHP 5 to work with Apache 2.2 on Windows Rudra.J Guides & Tutorials 1 06-02-2010 03:33 PM
Installing apache php and mysql on slackware WinSlayer Operating Systems 3 10-08-2009 09:54 PM
How to install Apache Tomcat on Windows Vista Janhavi4U Windows Software 3 19-02-2009 10:32 AM


All times are GMT +5.5. The time now is 06:40 PM.