Introduction Of Your Own Home Server
Introduction Of Your Own Home Server
An Introduction
Own Home Server- Tips-and-Tricks25.blogspot.com |
In this instructional exercise you will figure out how to step up your own server. This server will be included Apache 1.3.5, PHP 4.2.0, and MySQL 3.23.49. This instructional exercise will address the essential arrangement of a server all alone PC. This implies the expulsion of problems of managing the organization that is running a remote web server. It will be anything but difficult to alter. You can add anything you need to it, be it CGI/Perl, Zope, Roxen, and so forth, all by your self. You will have boundless plate space, well at any rate as large as your hard drive is =) Now that you know the points of interest, it is time that I reveal to you what I utilized, and what you will require.
What I utilized
* Windows 2000 - NOTE that on the off chance that you are utilizing 2k you WILL NEED Administrative Privileges. On the off chance that you don't, at that point get them some way or another =) If you are on 95, 98, NT, XP, ME, I
* Apache 1.3.6 - I attempted to utilize 2.0 yet I couldn't get it work. I likewise feel that 1.3.6 is proven, so why upset enormity.
* Mysql 3.23.49 - The most up to date form of MySQL when I set up my server. MySQL likewise the will be the best PHP upheld Database, and well love PHP don't we.
* PHP 4.2.1 - The best in class PHP discharge. - nt
What you will require
* Apache 2 - Link: h**p://www.apache.org/dist/
* Mysql 3.23.49 - Link: h**p://www.mysql.com/downloads/mysql-3.23.html
* PHP 4.2.0 - Link: h**p://www.php.net/downloads.php
* Windows - This instructional exercise is ONLY composed for new forms of Windows.
When you have downloaded every one of the projects you are prepared to proceed.
1. Introducing Apache
Introducing Apache
The initial step is to download Apache for Windows. Before you introduce it ensure that some other server programming is expelled. Expel everything by means of the control panel.On
When you have tapped on the executable, a screen ought to com up that resembles this. Feel free to tap on straightaway
client posted picture
Obviously you intend to tolerate be the permit understanding, so click on I accept.... also, click on straightaway.
client posted picture
You truly don't have to understand this, yet on the off chance that you need you can. Understand it in the event that you need feel educated. At the point when you are prepared snap on straightaway.
client posted picture
Here is the place the real arrangement of Apache starts. For Network Domain put in localhost with respect to Server Name You need these both to be localhost in light of the fact that the server is running locally, on your PC. It doesn't make a difference what is in email field, simply put in yours. Nobody will no it since it's simply you.
client posted picture
For this instructional exercise it is smarter to simply leave it as it is on the grounds that, later in the instructional exercise I will tell you the best way to begin the server with a single tick of the mouse, and for ease, it will be simpler for you to track. You can transform it in the event that you need, yet you should acknowledge where to substitute it. For me the root drive is E: yet for you will presumably be C:
client posted picture
When you have all the jazz set up, the time has come to introduce the server. On the off chance that you are on w2k or XP be certain that you have Administrative consents or you will get a blunder part of the way through the introduce sparing can't get to msvrt32.dll or something. On the off chance that you get that blunder run it again when you have administrator benefits. When you are prepared snap on introduce.
client posted picture
In the event that all went well you simply observe a screen like this. Presently the time has come to test the introduce of apache. Snap on Start > Program Files > Apache HTTP Server and search for Start Apache in Console. Snap it. When it says Apache XXXXX running, press Windows Key + R and type - http://localhost/. On the off chance that the introduce works you should see a page saying that it works. On the off chance that all is set and done, proceed to the subsequent stage.
client posted picture
______________________________________________________________________
2. Introducing PHP
When you have tapped on the executable, a screen should come up that resembles this. Feel free to tap on straightaway.
client posted picture
Obviously you intend to stand be the permit understanding, so click on I accept.... what's more, click on straightaway.
client posted picture
For this data, we will need the basic standard introduce. Odds are you in the event that you are perusing this instructional exercise, you will most likely not have any desire to discuss progressed =)
client posted picture
This is the mail arrangement, simply enter localhost, and me@localhost.com. These are not significant, in light of the fact that you, the administrator, are the main individual that will utilize the server, and you will be the one dealing with blunders.
client posted picture
We are going to need this introduce to work is Apache, so click on Apache, and proceed onward.
client posted picture
When you have all the jazz set up, the time has come to introduce the server. In the event that you are on w2k or XP be certain that you have Administrative authorization or you will get a blunder part of the way through the introduce sparing can't get to msvrt32.dll or something. On the off chance that you get that mistake run it again when you have administrator benefits. When you are prepared snap on introduce.
client posted picture
After the introduce is done you ought to get something that says you should physically design apache to utilize php. Accepting you have a working Apache server introduced, ensure that it isn't running. Explore to C:\Program Files\Apache Group\Apache\conf\ open the httpd.conf record. Note that you can likewise get to the http.conf from the beginning menu. Start > Program File > Apache HTTP Server > Configure Apache Server > Edit the Apache httpd.conf Configuration File and the window will open up in scratch pad. Presently hit Ctrl + End on the off chance that you see something like what pursues, you can skirt this progression. In the event that you don't see that code, duplicate it. This code will possibly work on the off chance that you utilized the default introduce envelope when you introduced php. In the event that you copied, that code and glue it into the finish of the document. Select the code to right, and hit crtl + c , then go into the httpd.conf document and hit ctrl + v and spare the record.
ScriptAlias/php/"c:/php/"
AddType application/x-httpd .php .phtml
Activity application/x-httpd-php "/php/php.exe"
Since we have php introduced, the time has come to test it. Open up scratch pad and type the code to one side. Spare it as phpinfo.php. Make sure to set it as all grinds in the drop down menu, or the document will be a book record. Spare in the Directory: C:\Program Files\Apache Group\Apache\htdocs. htdocs is where every one of the documents go. You can make unending dir's and peruse them. For Example E:\Program Files\Apache Group\Apache\htdocs\mydir\myfile.php could be gotten to as http://localhost/mydir/myfile.php. When you have that record spared. You should begin the Server. Snap: Start > Program File > Apache HTTP Server >; and search for something like Start Apache in Console. After you have discovered it, dispatch it. You ought to get a window saying that Apache is running. Presently go to Start > Run > and type in - http://localhost/phpinfo.php. In the event that you don't see anything, php isn't introduced effectively. In the event that php is introduced accurately, you will see a couple of enormous tables, showing php's arrangement. Presently Your are 1/2 done!
______________________________________________________________________
3. Introducing MySQL
When you have tapped on the executable, a screen ought to com up that resembles this. Feel free to tap on straightaway.
client posted picture
Obviously you intend to withstand be the permit understanding, so click on I accept.... also, click on straightaway.
Much the same as before you should disregard the default dir, so you will have the option to track with me when I tell you the best way to begin and stop every one of the parts of the server.
Remain with the normal establishment. Much the same as in the past, on the off chance that you don't have administrator benefits, the introduce will be flawed. After you click straightaway, the introduce will start. After the introduce has completed, proceed onward to the following stage.
Presently you need to set up the root account. The root account is the supreme administrator of the framework, the most elevated conceivable. Snap on Start > Run and type cmd to open up the direction brief. You will need to explore to where MySQL is introduced. Type C: > Enter > cd mysql > Enter > compact disc canister > Enter. Presently you need to tell arrangement the root settings. Type mysqladmin - uroot secret word InsertYourPasswordHere then hit enter.
To see a picture of the screen, - h**p://www.webmasterstop.com/instructional exercises/pictures/doscreen1.gif
What is the purpose of having a database on the off chance that you can only with significant effort oversee it! That is the place phpMyAdmin becomes possibly the most important factor. phpMyAdmin is a free bit of programming written in php that makes the organization of a mysql or numerous different sorts of databases simple. You will need to download (h**p://prdownloads.sourceforge.net/phpmyadmin/phpMyAdmin-2.2.6-php.zip?downloadrelease_id=85832)the most recent variant. Spare it in the htdocs envelope. When it is finished downloading it, right snap on it and select Extract > To Here. At the point when it is done you should wind up with a registry in the htdocs envelope called phpMyAdmin-2.2.6 To make it simpler to get to, rename it to phpMyAdmin. After you have renamed it, click on it and search for a document called config.inc Open it. This is the place you set the setup of phpMyAdmin. At the point when you open it up, it should appear to be like the picture to your side. On yours there ought to be a couple of things missing. The $cfgPmaAbsoulteUrl and $cfgservers[$i]['password']. You should fill those in the middle of the statements. for the $cfgPmaAbsoulteUrl enter - http://localhost/phpMyAdmin/on the off chance that you adhered to my guidelines precisely. In the event that you didn't rename it or extricated to an alternate catalog, put that in there. For the $cfgservers[$i]['password'] enter the secret word you entered when you were setting MySQL in the set previously. You can allude to the picture for help. After you have placed the correct things in spare the record.
To see a picture of the screen, - h**p://www.webmasterstop.com/instructional exercises/pictures/phpmyadminscreen1.gif
Presently we need to test the introduce of mysql, php, phpmyadmin, and apache at the same time. Start apache in reassure as we did previously. Presently, you are going to need to begin mysql. For myself I made a record that would begin mysql for me. Open scratch pad and type: start c:\mysql\bin\mysqld-nt.exe - independent and spare that as Start MySQL.bat. When you have spared it, click it. A window should open and afterward close. Mysql is presently running on your PC. After mysql and apache are begun go to run again and type - http://localhost/phpMyAdmin/index.php and if everything is introduced accurately phpmyadmin ought to so up. You are nearly done! Presently we have the simple part =)
4. Wrapping everything up
Stunning! We frantic it through the entire procedure. Presently we need to disentangle the entire procedure of controlling the server. I made a toolbar with every one of the things I required. I made another organizer on my work area and called it Server Folder and put all the stuff there. I made another easy route and gave it an estimation of - http://localhost/made an alternate way to the PHP Documentation page. Another alternate way to my php editorial manager, which is presently inaccessible. The phpMyAdmin easy route is set to - http://localhost/phpMyAdmin/index.php. I made another easy route htdocs. I moved the Start Apache in Console program that was in the beginning menu organizer and moved it to the server envelope. You can take the Start Mysql record you made in the last page and move it to the new organizer. After you have placed all the ideal things into that envelope, right snap on a clear space in detail menu task bar (where the program boxes lie) and select Toolbars > New Toolbar and explore to the organizer. Voila!
Presently you should simply click Start Apache in Console , Start Mysql, and Lauch program biggrin.gif
Here You Are Guys
No comments