Menu
Forums
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Trending
What's new
New posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Search profile posts
Upgrades
Log in
Register
What's new
Search
Search
Search titles only
By:
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
Server Development
Habbo Retros
Habbo Tutorials
[TUT] How to create a local server [Can be used for Retros][EXTRA noob friendly]
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="NextToNothing" data-source="post: 22259" data-attributes="member: 1750"><p>Hey guys, heres a tut you might be interested in ;P</p><p>In this tutorial im going to be showing you how to setup a local server, using xampp, and setting up services for the server AND showing you how to set a password for PhpMyAdmin. This will work on XP, Vista, Windows 7 and more than likely every other window. There is also a Mac version but i would think the installation is a little bit different. Ive done this on a Virtual Machine because i already have it installed on my Windows 7 Computer. Ive had this since i had Vista so dont say it doesnt work on xp, vista and windows 7.</p><p></p><p><strong><span style="font-size: 18px">Downloading the server</span></strong></p><p>First off we will open up a web browser(in this case IE) and goto google.</p><p>Next type in 'xampp' and click Google Search or use this link if your too lazy => <a href="http://lmgtfy.com/?q=xampp" target="_blank">Click Here for lazzys</a></p><p><a href="http://img263.imageshack.us/img263/5388/1google.png" target="_blank"><img src="http://img263.imageshack.us/img263/5388/1google.th.png" alt="" class="fr-fic fr-dii fr-draggable " style="" /></a></p><p>Click on the first link called 'Apache Friends - xampp'</p><p></p><p>Scroll down until you see 'Xampp for Windows' and click it.</p><p><a href="http://img213.imageshack.us/img213/5988/2apachefriendsxamppwind.png" target="_blank"><img src="http://img213.imageshack.us/img213/5988/2apachefriendsxamppwind.th.png" alt="" class="fr-fic fr-dii fr-draggable " style="" /></a></p><p></p><p>Scroll down until you see a list with the heading 'Download' with 3 sub items.</p><p>Click on the subitem 'XAMPP'. Then click the according exe shown in the image below.</p><p><a href="http://img830.imageshack.us/img830/4274/3xamppdownload.png" target="_blank"><img src="http://img830.imageshack.us/img830/4274/3xamppdownload.th.png" alt="" class="fr-fic fr-dii fr-draggable " style="" /></a></p><p>The download from sourceforge will now start.</p><p></p><p>On IE - Click run if you dont want to save the file.</p><p><a href="http://img405.imageshack.us/img405/7535/4downloadrun.png" target="_blank"><img src="http://img405.imageshack.us/img405/7535/4downloadrun.th.png" alt="" class="fr-fic fr-dii fr-draggable " style="" /></a></p><p></p><p><strong><span style="font-size: 18px">Installing the server</span></strong></p><p>If a pop-up appears, click run.</p><p><a href="http://img843.imageshack.us/img843/9569/5downloadrun.png" target="_blank"><img src="http://img843.imageshack.us/img843/9569/5downloadrun.th.png" alt="" class="fr-fic fr-dii fr-draggable " style="" /></a></p><p></p><p>When the dialog appears, click on the 'Install' Button.</p><p><a href="http://img6.imageshack.us/img6/6044/6installstep.png" target="_blank"><img src="http://img6.imageshack.us/img6/6044/6installstep.th.png" alt="" class="fr-fic fr-dii fr-draggable " style="" /></a></p><p></p><p>Wait for the installation to finish.</p><p><a href="http://img253.imageshack.us/img253/4163/7installstep.png" target="_blank"><img src="http://img253.imageshack.us/img253/4163/7installstep.th.png" alt="" class="fr-fic fr-dii fr-draggable " style="" /></a></p><p></p><p>When the installation has finished, a Command Prompt will appear.</p><p>Follow exactly to these steps for what i think is the best options for this, Remember to read the instructions because the selection you make are not always my selection.</p><p></p><p>The first option to select is if you want shortcuts created. Ive selected yes (y).</p><p><a href="http://img683.imageshack.us/img683/3603/8shortcuts.png" target="_blank"><img src="http://img683.imageshack.us/img683/3603/8shortcuts.th.png" alt="" class="fr-fic fr-dii fr-draggable " style="" /></a></p><p></p><p>The Xampp installation will now ask you if it should locate the xampp paths correctly. I recommend selecting yes (y) for this step unless you know what you are doing.</p><p><a href="http://img339.imageshack.us/img339/8742/9proceed.png" target="_blank"><img src="http://img339.imageshack.us/img339/8742/9proceed.th.png" alt="" class="fr-fic fr-dii fr-draggable " style="" /></a></p><p></p><p>Next, the xampp installation will ask you if it should make a portable xampp with no drive letters. I recommend selecting no (n) unless your using a USB device (memory stick).</p><p><a href="http://img689.imageshack.us/img689/8791/10locatexampp.png" target="_blank"><img src="http://img689.imageshack.us/img689/8791/10locatexampp.th.png" alt="" class="fr-fic fr-dii fr-draggable " style="" /></a></p><p></p><p>After it has relocated xampp it will ask you to continue. Press return (enter. you know, that big key to the right).</p><p><a href="http://img135.imageshack.us/img135/2786/11continue.png" target="_blank"><img src="http://img135.imageshack.us/img135/2786/11continue.th.png" alt="" class="fr-fic fr-dii fr-draggable " style="" /></a></p><p></p><p>Xampp will tell you it has has set the default timezone setting in php.ini and my.ini to 'Europe/London'. You should change this accordingly after installation. Press return again.</p><p><a href="http://img829.imageshack.us/img829/7861/12continue.png" target="_blank"><img src="http://img829.imageshack.us/img829/7861/12continue.th.png" alt="" class="fr-fic fr-dii fr-draggable " style="" /></a></p><p></p><p>The installation has now finished. Continue with the tutorial to learn how to run the server.</p><p></p><p><strong><span style="font-size: 18px">Running the server</span></strong></p><p>So far, so good.</p><p>Now you need to run the server to use the server. Correct?</p><p></p><p>Open the xampp control panel. If you still have the installation cmd dialog open you can press 1 then press return. Else if you has installed shortcuts you can use that. Else goto the startmenu...</p><p><a href="http://img413.imageshack.us/img413/9004/13opencp.png" target="_blank"><img src="http://img413.imageshack.us/img413/9004/13opencp.th.png" alt="" class="fr-fic fr-dii fr-draggable " style="" /></a></p><p></p><p>Once the control panel has opened you can select to install services by checking the 2 boxes with in blue and yellow circles in the image below. By installing services the server will be running or stop depending on the status of the server when you turn your computer on. Now click 'Start' on both 'Apache' and 'MySQL' if you have installed services or not.</p><p><a href="http://img809.imageshack.us/img809/6416/14runapachemysql.png" target="_blank"><img src="http://img809.imageshack.us/img809/6416/14runapachemysql.th.png" alt="" class="fr-fic fr-dii fr-draggable " style="" /></a></p><p></p><p>Apache and MySQL should now be running on your computer.</p><p><a href="http://img41.imageshack.us/img41/7606/15running.png" target="_blank"><img src="http://img41.imageshack.us/img41/7606/15running.th.png" alt="" class="fr-fic fr-dii fr-draggable " style="" /></a></p><p></p><p>If you still have the installation cmd dialog open you can now close this by typing x then pressing return.</p><p><a href="http://img821.imageshack.us/img821/5895/16closingcmd.png" target="_blank"><img src="http://img821.imageshack.us/img821/5895/16closingcmd.th.png" alt="" class="fr-fic fr-dii fr-draggable " style="" /></a></p><p></p><p><strong><span style="font-size: 18px">Setting a PhpMyAdmin password(Optional but recommended on non-local servers)</span></strong></p><p>Want to set a password to the root user, which happens to be called 'root' by default?</p><p>Follow this. Else continue the rest of the tutorial.</p><p></p><p>Open up a web browser and type 'Http://localhost/' into the browser. A xampp screen should load if the server is on.</p><p>Select the language you are most familiar with. Ive chosen English and i would think most of you would too.</p><p><a href="http://img837.imageshack.us/img837/4641/17xampplang.png" target="_blank"><img src="http://img837.imageshack.us/img837/4641/17xampplang.th.png" alt="" class="fr-fic fr-dii fr-draggable " style="" /></a></p><p></p><p>On the side menu click on security.</p><p><a href="http://img696.imageshack.us/img696/8069/18selectsecurity.png" target="_blank"><img src="http://img696.imageshack.us/img696/8069/18selectsecurity.th.png" alt="" class="fr-fic fr-dii fr-draggable " style="" /></a></p><p></p><p>A new window will open. Scroll down and click on the link (See image).</p><p><a href="http://img406.imageshack.us/img406/1482/19clicklink.png" target="_blank"><img src="http://img406.imageshack.us/img406/1482/19clicklink.th.png" alt="" class="fr-fic fr-dii fr-draggable " style="" /></a></p><p></p><p>Type the password you want in both text boxes. Click on 'Password Changing' to save the passwordhttp://img508.imageshack.us/img508/4749/27locahostview.png</p><p><a href="http://img831.imageshack.us/img831/2192/20savepass.png" target="_blank"><img src="http://img831.imageshack.us/img831/2192/20savepass.th.png" alt="" class="fr-fic fr-dii fr-draggable " style="" /></a></p><p></p><p>YOU'VE SET THE PASSWORD! ;D Im so happeh 4 u. lol</p><p></p><p><strong><span style="font-size: 18px">Checkin' out PhpMyAdmin</span></strong></p><p>Ok, so you want to get into PhpMyAdmin and create database and stufs?</p><p>EASY! All you need to do is navigate to 'Http://localhost/'.</p><p></p><p>If you've set a password to PhpMyAdmin you will have to enter it with the username 'root' (no 's) like so:</p><p><a href="http://img443.imageshack.us/img443/4301/21phpmyadmin.png" target="_blank"><img src="http://img443.imageshack.us/img443/4301/21phpmyadmin.th.png" alt="" class="fr-fic fr-dii fr-draggable " style="" /></a></p><p></p><p>And your in, you should know what to do from here you shouldnt need help from here.</p><p><a href="http://img718.imageshack.us/img718/9589/22phpmyadminentered.png" target="_blank"><img src="http://img718.imageshack.us/img718/9589/22phpmyadminentered.th.png" alt="" class="fr-fic fr-dii fr-draggable " style="" /></a></p><p></p><p><strong><span style="font-size: 18px">OH NO! I dont know where to "upload" my files too!</span></strong></p><p>OH WELL! Thats really easy too! All you need to do is as follows:</p><p></p><p>Open up a windows explorer and goto the hard drive you installed xampp onto (by default its C:\)</p><p>Now you need to follow this:</p><p>Goto the folder 'xampp'</p><p><a href="http://img577.imageshack.us/img577/8513/23folderxampp.png" target="_blank"><img src="http://img577.imageshack.us/img577/8513/23folderxampp.th.png" alt="" class="fr-fic fr-dii fr-draggable " style="" /></a></p><p></p><p>Now goto the folder 'htdocs'</p><p><a href="http://img209.imageshack.us/img209/3885/24folderhtdocs.png" target="_blank"><img src="http://img209.imageshack.us/img209/3885/24folderhtdocs.th.png" alt="" class="fr-fic fr-dii fr-draggable " style="" /></a></p><p></p><p>Ok, this is where you upload your files etc. But i think this folder needs a clean up dont you?</p><p>Now you can do this one of two ways.</p><p></p><p>Select all of the files and simply delete them all, (your friend says after you've deleted them "What if u forget ur password?")</p><p><a href="http://img191.imageshack.us/img191/8566/25folderhtdocsdel.png" target="_blank"><img src="http://img191.imageshack.us/img191/8566/25folderhtdocsdel.th.png" alt="" class="fr-fic fr-dii fr-draggable " style="" /></a></p><p></p><p>Or, perhaps you might want to keep the files. Simply make a new folder and put all the other files into it.</p><p><a href="http://img8.imageshack.us/img8/9607/26folderhtdocsnewfold.png" target="_blank"><img src="http://img8.imageshack.us/img8/9607/26folderhtdocsnewfold.th.png" alt="" class="fr-fic fr-dii fr-draggable " style="" /></a></p><p></p><p><strong><span style="font-size: 18px">How do i see my server/files??</span></strong></p><p>Cant you wait or something? Im trying to finish this tutorial for you!</p><p>Right, to see your server/files, what ever you want to call them, you need to goto your browser and navigate to this url: </p><p><a href="Http://localhost/" target="_blank">Http://localhost/</a> or perhaps that dont work, then try <a href="Http://127.0.0.1/" target="_blank">Http://127.0.0.1/</a></p><p></p><p>Hmmm, i think thats it now. ALL DONE! If you need any help or need your question answering by me, dont be shy and post a reply and ill get to you as soon as possible.</p><p></p><p>Thanks all for taking your time for reading this.</p><p></p><p>Credits:</p><p> - <strong>100% to me for everythin'</strong> ;DD</p><p></p><p>-------------------------------------------------------</p><p>------------------------<strong>F.A.Q</strong></p><p>-------------------------------------------------------</p><p><strong>Q - Can my friends see my server?</strong></p><p><em>A - YES! They can, they will have to type your ip into there web browser and you will have to make sure you have port forwarded if necessary. You can get your ip address at <a href="http://www.whatismyip.org/" target="_blank">http://www.whatismyip.org/</a></em></p><p></p><p><strong>Q - I cant install the services!</strong></p><p><em>A - Make sure you are on and administrator account and if you are on Vista or Windows 7 try opening the control panel as an administrator.</em></p><p></p><p><strong>Q - I CANT INSTALL AT ALL!</strong></p><p><em>A - Are you sure your on an administrator account little boy?</em></p><p></p><p><strong>Q - How do i disable webdav correctly?</strong></p><p><em>A - Check out this tutorial here[post soon]</em></p><p></p><p>Any more? Once again just post a reply to the thread.</p></blockquote><p></p>
[QUOTE="NextToNothing, post: 22259, member: 1750"] Hey guys, heres a tut you might be interested in ;P In this tutorial im going to be showing you how to setup a local server, using xampp, and setting up services for the server AND showing you how to set a password for PhpMyAdmin. This will work on XP, Vista, Windows 7 and more than likely every other window. There is also a Mac version but i would think the installation is a little bit different. Ive done this on a Virtual Machine because i already have it installed on my Windows 7 Computer. Ive had this since i had Vista so dont say it doesnt work on xp, vista and windows 7. [B][SIZE="5"]Downloading the server[/SIZE][/B] First off we will open up a web browser(in this case IE) and goto google. Next type in 'xampp' and click Google Search or use this link if your too lazy => [URL="http://lmgtfy.com/?q=xampp"]Click Here for lazzys[/URL] [URL=http://img263.imageshack.us/img263/5388/1google.png][IMG]http://img263.imageshack.us/img263/5388/1google.th.png[/IMG][/URL] Click on the first link called 'Apache Friends - xampp' Scroll down until you see 'Xampp for Windows' and click it. [URL=http://img213.imageshack.us/img213/5988/2apachefriendsxamppwind.png][IMG]http://img213.imageshack.us/img213/5988/2apachefriendsxamppwind.th.png[/IMG][/URL] Scroll down until you see a list with the heading 'Download' with 3 sub items. Click on the subitem 'XAMPP'. Then click the according exe shown in the image below. [URL=http://img830.imageshack.us/img830/4274/3xamppdownload.png][IMG]http://img830.imageshack.us/img830/4274/3xamppdownload.th.png[/IMG][/URL] The download from sourceforge will now start. On IE - Click run if you dont want to save the file. [URL=http://img405.imageshack.us/img405/7535/4downloadrun.png][IMG]http://img405.imageshack.us/img405/7535/4downloadrun.th.png[/IMG][/URL] [B][SIZE="5"]Installing the server[/SIZE][/B] If a pop-up appears, click run. [URL=http://img843.imageshack.us/img843/9569/5downloadrun.png][IMG]http://img843.imageshack.us/img843/9569/5downloadrun.th.png[/IMG][/URL] When the dialog appears, click on the 'Install' Button. [URL=http://img6.imageshack.us/img6/6044/6installstep.png][IMG]http://img6.imageshack.us/img6/6044/6installstep.th.png[/IMG][/URL] Wait for the installation to finish. [URL=http://img253.imageshack.us/img253/4163/7installstep.png][IMG]http://img253.imageshack.us/img253/4163/7installstep.th.png[/IMG][/URL] When the installation has finished, a Command Prompt will appear. Follow exactly to these steps for what i think is the best options for this, Remember to read the instructions because the selection you make are not always my selection. The first option to select is if you want shortcuts created. Ive selected yes (y). [URL=http://img683.imageshack.us/img683/3603/8shortcuts.png][IMG]http://img683.imageshack.us/img683/3603/8shortcuts.th.png[/IMG][/URL] The Xampp installation will now ask you if it should locate the xampp paths correctly. I recommend selecting yes (y) for this step unless you know what you are doing. [URL=http://img339.imageshack.us/img339/8742/9proceed.png][IMG]http://img339.imageshack.us/img339/8742/9proceed.th.png[/IMG][/URL] Next, the xampp installation will ask you if it should make a portable xampp with no drive letters. I recommend selecting no (n) unless your using a USB device (memory stick). [URL=http://img689.imageshack.us/img689/8791/10locatexampp.png][IMG]http://img689.imageshack.us/img689/8791/10locatexampp.th.png[/IMG][/URL] After it has relocated xampp it will ask you to continue. Press return (enter. you know, that big key to the right). [URL=http://img135.imageshack.us/img135/2786/11continue.png][IMG]http://img135.imageshack.us/img135/2786/11continue.th.png[/IMG][/URL] Xampp will tell you it has has set the default timezone setting in php.ini and my.ini to 'Europe/London'. You should change this accordingly after installation. Press return again. [URL=http://img829.imageshack.us/img829/7861/12continue.png][IMG]http://img829.imageshack.us/img829/7861/12continue.th.png[/IMG][/URL] The installation has now finished. Continue with the tutorial to learn how to run the server. [B][SIZE="5"]Running the server[/SIZE][/B] So far, so good. Now you need to run the server to use the server. Correct? Open the xampp control panel. If you still have the installation cmd dialog open you can press 1 then press return. Else if you has installed shortcuts you can use that. Else goto the startmenu... [URL=http://img413.imageshack.us/img413/9004/13opencp.png][IMG]http://img413.imageshack.us/img413/9004/13opencp.th.png[/IMG][/URL] Once the control panel has opened you can select to install services by checking the 2 boxes with in blue and yellow circles in the image below. By installing services the server will be running or stop depending on the status of the server when you turn your computer on. Now click 'Start' on both 'Apache' and 'MySQL' if you have installed services or not. [URL=http://img809.imageshack.us/img809/6416/14runapachemysql.png][IMG]http://img809.imageshack.us/img809/6416/14runapachemysql.th.png[/IMG][/URL] Apache and MySQL should now be running on your computer. [URL=http://img41.imageshack.us/img41/7606/15running.png][IMG]http://img41.imageshack.us/img41/7606/15running.th.png[/IMG][/URL] If you still have the installation cmd dialog open you can now close this by typing x then pressing return. [URL=http://img821.imageshack.us/img821/5895/16closingcmd.png][IMG]http://img821.imageshack.us/img821/5895/16closingcmd.th.png[/IMG][/URL] [B][SIZE="5"]Setting a PhpMyAdmin password(Optional but recommended on non-local servers)[/SIZE][/B] Want to set a password to the root user, which happens to be called 'root' by default? Follow this. Else continue the rest of the tutorial. Open up a web browser and type 'Http://localhost/' into the browser. A xampp screen should load if the server is on. Select the language you are most familiar with. Ive chosen English and i would think most of you would too. [URL=http://img837.imageshack.us/img837/4641/17xampplang.png][IMG]http://img837.imageshack.us/img837/4641/17xampplang.th.png[/IMG][/URL] On the side menu click on security. [URL=http://img696.imageshack.us/img696/8069/18selectsecurity.png][IMG]http://img696.imageshack.us/img696/8069/18selectsecurity.th.png[/IMG][/URL] A new window will open. Scroll down and click on the link (See image). [URL=http://img406.imageshack.us/img406/1482/19clicklink.png][IMG]http://img406.imageshack.us/img406/1482/19clicklink.th.png[/IMG][/URL] Type the password you want in both text boxes. Click on 'Password Changing' to save the passwordhttp://img508.imageshack.us/img508/4749/27locahostview.png [URL=http://img831.imageshack.us/img831/2192/20savepass.png][IMG]http://img831.imageshack.us/img831/2192/20savepass.th.png[/IMG][/URL] YOU'VE SET THE PASSWORD! ;D Im so happeh 4 u. lol [B][SIZE="5"]Checkin' out PhpMyAdmin[/SIZE][/B] Ok, so you want to get into PhpMyAdmin and create database and stufs? EASY! All you need to do is navigate to 'Http://localhost/'. If you've set a password to PhpMyAdmin you will have to enter it with the username 'root' (no 's) like so: [URL=http://img443.imageshack.us/img443/4301/21phpmyadmin.png][IMG]http://img443.imageshack.us/img443/4301/21phpmyadmin.th.png[/IMG][/URL] And your in, you should know what to do from here you shouldnt need help from here. [URL=http://img718.imageshack.us/img718/9589/22phpmyadminentered.png][IMG]http://img718.imageshack.us/img718/9589/22phpmyadminentered.th.png[/IMG][/URL] [B][SIZE="5"]OH NO! I dont know where to "upload" my files too![/SIZE][/B] OH WELL! Thats really easy too! All you need to do is as follows: Open up a windows explorer and goto the hard drive you installed xampp onto (by default its C:\) Now you need to follow this: Goto the folder 'xampp' [URL=http://img577.imageshack.us/img577/8513/23folderxampp.png][IMG]http://img577.imageshack.us/img577/8513/23folderxampp.th.png[/IMG][/URL] Now goto the folder 'htdocs' [URL=http://img209.imageshack.us/img209/3885/24folderhtdocs.png][IMG]http://img209.imageshack.us/img209/3885/24folderhtdocs.th.png[/IMG][/URL] Ok, this is where you upload your files etc. But i think this folder needs a clean up dont you? Now you can do this one of two ways. Select all of the files and simply delete them all, (your friend says after you've deleted them "What if u forget ur password?") [URL=http://img191.imageshack.us/img191/8566/25folderhtdocsdel.png][IMG]http://img191.imageshack.us/img191/8566/25folderhtdocsdel.th.png[/IMG][/URL] Or, perhaps you might want to keep the files. Simply make a new folder and put all the other files into it. [URL=http://img8.imageshack.us/img8/9607/26folderhtdocsnewfold.png][IMG]http://img8.imageshack.us/img8/9607/26folderhtdocsnewfold.th.png[/IMG][/URL] [B][SIZE="5"]How do i see my server/files??[/SIZE][/B] Cant you wait or something? Im trying to finish this tutorial for you! Right, to see your server/files, what ever you want to call them, you need to goto your browser and navigate to this url: [url]Http://localhost/[/url] or perhaps that dont work, then try [url]Http://127.0.0.1/[/url] Hmmm, i think thats it now. ALL DONE! If you need any help or need your question answering by me, dont be shy and post a reply and ill get to you as soon as possible. Thanks all for taking your time for reading this. Credits: - [b]100% to me for everythin'[/b] ;DD ------------------------------------------------------- ------------------------[b]F.A.Q[/b] ------------------------------------------------------- [B]Q - Can my friends see my server?[/B] [I]A - YES! They can, they will have to type your ip into there web browser and you will have to make sure you have port forwarded if necessary. You can get your ip address at [url]http://www.whatismyip.org/[/url][/I] [B]Q - I cant install the services![/B] [I]A - Make sure you are on and administrator account and if you are on Vista or Windows 7 try opening the control panel as an administrator.[/I] [B]Q - I CANT INSTALL AT ALL![/B] [I]A - Are you sure your on an administrator account little boy?[/I] [B]Q - How do i disable webdav correctly?[/B] [I]A - Check out this tutorial here[post soon][/I] Any more? Once again just post a reply to the thread. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Server Development
Habbo Retros
Habbo Tutorials
[TUT] How to create a local server [Can be used for Retros][EXTRA noob friendly]
Top