How To: Install WordPress on Windows Ako na to: Inštalácia na Windows WordPress

ADVERTISEMENT REKLAMA
To get our software and web/tips via email, sign up for Ak chcete získať náš softvér a internetových / tipy prostredníctvom e-mailu, prihláste sa na daily email newsletter denná e-mail newsletter . .
Subscribe to RSS feed Prihlásiť sa na odber RSS feed or alebo follow me za mnou on Twitter? on Twitter?

When it comes to developing themes and plugins, you need the right tools to finish the job quickly and efficiently. Keď ide o rozvíjanie tém a pluginov, potrebujete správne nástroje, aby dokončil prácu rýchlo a efektívne. There are a plethora of tools to choose from, and your selection can vary by personal taste. Existuje nepreberné množstvo nástrojov pre výber, a váš výber sa môže líšiť podľa osobného vkusu. Some go for open-source tools like GIMP and Nvu, whereas others stick with trusted commercial applications like the omni-present Adobe Photoshop and Macromedia Dreamweaver. Niektorí idú na open-source nástroje, ako je GIMP a Nvu, zatiaľ čo ostatné zostali pri komerčných aplikácií ako dôveryhodný omni-present Adobe Photoshop a Macromedia Dreamweaver. Whatever your choice maybe, it is essential that you like it and stick with it. Či už si vyberiete možno, že je nevyhnutné, aby sa ti to páči, a držať sa ho.

WordPress + XAMPP

Testing your themes and plugins can be a big head ache, as you have to reload the page every time, consuming bandwidth. Testovanie si témy a pluginy môžu byť veľkú bolesť hlavy, ako ste na obnovenie stránky zakaždým, náročné šírku pásma. Bandwidth is precious, unless you own a dedicated server at MediaTemple or something(!). Šírka pásma je drahé, ak vlastný vyhradený server v MediaTemple, alebo tak niečo (!). Also, any edit has to be uploaded before previewing. Navyše, prispôsobiť sa musia nahrať do náhľadu. This gets tiresome, and you would have wondered whether there is an easier way. To napokon unavuje, a vy by ste sa čudovali, či existuje jednoduchšia cesta.

Linux users have the LAMPP(Linux, Apache, MySQL, PHP), which is easy, but Windows users are mostly unaware of a similar package. Užívatelia Linuxu majú lamppu (Linux, Apache, MySQL, PHP), ktorý je ľahké, ale používatelia Windows sú väčšinou vedomí podobného balíka. It is called XAMPP(Apache, MySQL, PHP). Nazýva sa XAMPP (Apache, MySQL, PHP). Once you install it, you can setup WordPress locally, and test your plugins/themes/hacks offline. Akonáhle nainštalujete, môžete nastaviť WordPress lokálne, a otestujte plugins / themes / hacks offline. You save bandwidth, effort and time. Ušetríte šírku pásma, úsilia a času.

Here are the steps for installing WordPress locally: Tu sú kroky pre inštaláciu WordPress v mieste:

ADVERTISEMENT REKLAMA

  • Download the lite version of XAMPP, called Stiahnite si lite verziu XAMPP, nazvaný XAMPPlite XAMPPlite Choose the .exe version. Vyberte .exe verziu.
  • Install it at a partition of your choice. Nainštalujte si ho na rozdelenie podľa Vášho výberu. Here, we are using C drive. Tu sme using C drive.
  • Go to the install folder, that is C:xampplite. Prejsť na inštalačný zložku, ktorá je C: xampplite. Double-click the xampp-control.exe file, and start up MySQL and Apache services in the dialog box that follows. Double-kliknite na xampp-control.exe súbor a spustiť Apache, MySQL a služieb v dialógovom okne, ktoré nasleduje.
  • Go to http://localhost/ in your browser. Prejsť na http://localhost/ vo vašom prehliadači. From the left column, choose your language. Z ľavého stĺpca, vyberte si jazyk.
  • Click on phpMyAdmin in the left column(see image below). Kliknite na phpMyAdmin, v ľavom stĺpci (pozri obrázok nižšie).

    XAMPP obrazovky

  • In the “Create New Database” Field, enter “wordpress” (without quotes), and select utf8_unicode_ci in the drop down box in the next field. V "Vytvoriť novú databázu" zadajte "wordpress" (bez úvodzoviek) a vybrať utf8_unicode_ci v roletového menu v ďalšej oblasti. Click Create. Kliknite na tlačidlo Vytvoriť. XAMPP setup is now complete. XAMPP Nastavenie je teraz kompletné.
  • Download Stiahnuť WordPress. WordPress.
  • Unzip it to C:xampplitehtdocs Rozbaľte ho do C:xampplitehtdocs
    You should have a wordpress folder in htdocs. Mali by ste mať wordpress zložku htdocs. Go to it, and open up wp-config-sample.php . Choď k nemu, a otvoriť wp-config-sample.php
  • You will see a list of default values. Uvidíte zoznam štandardných hodnôt. Change them to below(do not copy-paste this, just find the required info and update the file): Zmeniť tak, aby pod (nie kopírovať-vložiť to, len nájsť potrebné informácie a aktualizácia súboru):
    define('DB_NAME', 'wordpress'); // The name of the database
    define('DB_USER', 'root'); // Your MySQL username
    define('DB_PASSWORD', ''); // ...and password (needs to be empty, just for local install)

    Rename the file as wp-config.php and save it. Premenovať súbor ako wp-config.php a uložte ju.

  • Go to http://localhost/wordpress/wp-admin/install.php in your browser, and follow the steps. Prejsť na http://localhost/wordpress/wp-admin/install.php vo vašom prehliadači, a postupujte podľa pokynov.

You're done. Máte hotovo. Now, use the wordpress folder as you would on your webserver, and upload the plugins, themes etc. to test. Teraz použite wordpress zložky, tak ako by ste na svojom webovom serveri, a nahrať pluginy, témy atď test. I recommend doing this before attempting a manual install in your server ( if it doesn't have one-click installer). Odporúčam robiť to pred pokusom ručné inštaláciu na serveri (ak to nie je jeden-cvaknúť inštalátor). Now, go and test to your heart's content A teraz bež a test do sýtosti : D I am having a great time testing, and the instant page loads of my dummy blog looks great. Mám skvelý čas testovania a rýchle načítanie stránky môjho blogu figuríny vyzerá skvele.

To get our latest articles, Ak chcete získať naše najnovšie články click here to sign up tu je možné sa prihlásiť for our free email newsletter or subscribe to pre náš bezplatný e-mailový spravodajca, alebo sa prihlásiť k odberu RSS feed RSS feed

§ Comments § Komentáre
  • Shankar Ganesh says: Shankar Ganesh hovorí:

    Great tutorial man. Veľké tutorial man. I've already set this up on my local PC and loaded contents from my hosted blog on to this.. Už som to nastaviť až na môj lokálny PC a načítať obsah z môjho hostované na tomto blogu .. so I can get the exact environment I need when I've to test plugins takže môžem dostať presne prostredia, potrebujem, keď som sa na testovanie pluginov : D

  • Linu says: Linu hovorí:

    I will try this… Pokúsim sa to ...

  • Deepak says: Deepak hovorí:

    You missed one step… Ste vynechal jeden krok ...
    You have to rename wp-config-sample.php to wp-config.php Máte-li premenovať wp-config-sample.php na wp-config.php

    BTW, I think LAMPP and XAMPP are one and the same, except L is for Linux and X is for XP. BTW, myslím, že lamppu a XAMPP sú jedno a to isté, s výnimkou L je pre Linux a X je pre XP. :)

  • Sumesh says: Sumesh hovorí:

    @Shankar: Thanks. @ Shankar: Vďaka. And yes, this is for newbies. A áno, to je pre nováčikov. I expect most of you to have this already. Očakávam, že väčšina z vás, že to už.

    @Linu: Do try – it'll make developing themes easier. @ Linu: Do vyskúšať - to urobím rozvojových témach jednoduchšie.

    @Deepak: Thanks. @ Deepak: Vďaka. I guess, I forgot it. Myslím, že som na ňu zabudol. Am editing it now. Am editáciu to teraz.

  • Haris says: Haris hovorí:

    Great tutorial! Veľké tutorial! I don't use XAMPP. Nechcem use XAMPP. I use NetServer, but still I have XAMPP in my PC in case I mess up with NetServer. Používam NetServer, ale napriek tomu mám XAMPP v mojom počítači v prípade som skaziť s NetServer.

  • Sumesh says: Sumesh hovorí:

    @Haris: Thanks, and glad you liked it – I feel happy and believe it is worth the time spent, only when I get comments rolling. @ Haris: Vďaka, a rád, že vám to páčilo - Cítim sa šťastná a verí, že to stojí za čas strávený, len keď som si komentáre valcovania.

  • Nirmal says: Nirmal hovorí:

    Nice tutorial, especially if you want to test themes and plugins locally before installing on server. Nice tutorial, najmä ak chcete testovať témy a pluginy na mieste pred inštaláciou na server.

  • Andy says: Andy hovorí:

    Having trouble with establishing a connection with the database. Problémy s vytvorením spojenia s databázou. After Po http://localhost/wordpress/wp-admin/install.php http://localhost/wordpress/wp-admin/install.php

    Have you missed out a step? Už ste vynechali krok?
    define('DB_HOST', 'localhost'); // 99% chance you won't need to change this value define ( 'DB_HOST', 'localhost'); / / 99% šancu, nebudete musieť zmeniť túto hodnotu

    I have set up WP on a live server before so I haven't miscalulated my ability to edit the config file, so any ideas what is missing? Mám nastaviť WP na serveri živých predtým, tak som sa miscalulated som možnosť editácie konfiguračného súboru, takže akékoľvek nápady, čo chýba? Any help is appreaciated, as I'm setting this up to learn how to create themes! Any help is appreaciated, ako som toto nastavenie sa dozviete, ako vytvárať témy!
    Cheers Na zdravie

  • Sumesh says: Sumesh hovorí:

    @Nirmal: Thanks, hope you're having a blast using it @ Nirmal: Vďaka, dúfam, že ste s používaním výbuch : D

    @Andy: No, localhost(which corresponds to @ Andy: Nie, localhost (čo zodpovedá http://127.000.001/) http://127.000.001/) is the local IP of your computer. je lokálna IP vášho počítača. It does not have to be changed, unless of course, you are using a live server. Nemusí to byť zmenená, ak však používate live server. As for ideas, well, try again Pokiaľ ide o myšlienky, dobre, skúste to znova : D Maybe you missed a step. Možno ste vynechal krok.

  • Madhur Kapoor says: Madhur Kapoor hovorí:

    Great Tutorial Buddy . Veľké výučba Buddy. Currently i use EasyPHP for this purpose . V súčasnej dobe používam EasyPHP pre tento účel. It is a cool way to test your themes and plugins . Je to v pohode, ako si overiť svoje tém a pluginov.

  • Myo Kyaw Htun says: Myo Kyaw Htun hovorí:

    I use Appserv. Používam Appserv. You can find installing wordpress on windows tutorial in my blog Nájdete na inštaláciu wordpress okná tutoriál v mojom blogu

  • MDB says: MDB hovorí:

    Wow! Wow! Never thought about or even realized that you could do this. Nikdy nepremýšľala, alebo dokonca si uvedomil, že by ste mohli urobiť. What a great idea and well described. Čo je skvelý nápad a dobre popísané. Will put it on my to do list after I have slimmed down all the junk on my hard drive. Dám na mojom zozname robiť potom, čo som zoštíhliť všetky haraburdu na mojom pevnom disku.

  • Sumesh says: Sumesh hovorí:

    @Myo: I saw your tut, though its a bit long. @ Myo: Videl som si tut, aj keď jeho trochu dlho. For now, I prefer XAMPP. Pre túto chvíľu dávam prednosť XAMPP.

    @MDB: Thanks, and glad that this tut could be of help. @ MDB: Vďaka, a rád, že to mohlo byť tut pomôcť.

    @Madhur: Thanks. @ Madhur: Vďaka.

  • syahid ali says: Syahid ali hovorí:

    if you want to do it the techie way (without xampp). Ak chcete urobiť Techie spôsobom (bez xampp). check out my check out my apache 2.2 installation guide apache 2.2 instalační příručka

  • Sumesh says: Sumesh hovorí:

    @Syahid: Thanks for the link – I went through it. @ Syahid: Vďaka za odkaz - Prešiel som to. Its nice for show-off and ego boosting, but for now I find this method the easiest – easier than EasyPHP/direct method. Jeho pekné show-off a posilnenie sebavedomia, ale teraz zisťujem, tento spôsob najjednoduchší - jednoduchšie ako EasyPHP / priama metóda.

  • JoLynn Braley says: JoLynn Braley hovorí:

    Great post, I've often wondered why more bloggers don't install locally to do testing, theme modifications, etc. I use WAMP and my only problem is finding the time to do more work/testing on my local install so that I can change my live site! Great post, som často premýšľal, prečo viac blogov neinštalujte na mieste na to testovanie, tému zmien, atď používam WAMP a mojím jediným problémom je nájsť čas urobiť viac práce / testovanie na môj lokálnu inštaláciu, takže môžem zmeniť svoj live site! ;)

  • Sumesh says: Sumesh hovorí:

    @JoLynn: Yes, it is sensible to do testing in a local setup that is fast, and has no consequences when we mess it up. @ JoLynn: Áno, to je rozumné robiť testovanie v miestne nastavenia, ktoré je rýchle, a nemá žiadne následky, keď sme bordel to. WAMP is cool – I read about installing it in a post by WAMP je super - Čítal som o inštalácii je v post do Ben Bleikamp Ben Bleikamp (ProBlogger's designer). (ProBlogger jej designer). As for not getting time, you're not alone – count me in too! Ako sa dostať na čas, nie ste sami - počet mě taky!

  • Mitra says: Mitra hovorí:

    Nice tut..Sumesh. Nice tut .. Sumesh. I came across this one as I was looking for a more specific solution. Som narazil na tohle, keď som hľadal podrobnejšie riešenie. I was able to do everything you have mentioned in the tut and wordpress was installed, up and running the first time. Bol som schopný urobiť všetko, čo máte uvedené v tut a wordpress bola inštalovaná, a prevádzku po prvýkrát. But once I shutdown the pc and restart it a while later, i was unable to logon via a login page i had bookmarked. Ale akonáhle som vypnutie pc a reštartujte ho o chvíľu neskôr, som bol schopný sa prihlásiť cez prihlasovaciu stránku aj so záložkou.

    I tried running the setup.bat once more and it kept saying: Snažil som sa beží setup.bat ešte raz, a to stále dookola:
    Sorry cannot find php.cli Ospravedlňujeme sa nemôže nájsť php.cli
    Must abort these process! Musia zrušiť tieto proces!

    When i open xampp_start: could not open default file – mysql\bin\my.cnf Keď som otvorila xampp_start: nemožno otvoriť predvolený súbor - mysql \ bin \ my.cnf

    I am not sure whats wrong or how to fix it. Nie som si istý, čo je zle, alebo ako ho vyriešiť. Any pointers? Any pointers?

  • Sumesh says: Sumesh hovorí:

    @Mitra: That's got me stumped. @ Mitra: To ma mátl. I've installed XAMPP+WP on two different computers, and nothing's wrong. Nainstaloval som XAMPP + WP na dvoch rôznych počítačoch, a nič nehrá. Are you sure you did not turn off any services?(Start>Run>msconfig, and click enter, you'll get a window, click Services tab, and enable all services, restart and try again) Ste si istí, že ani vypnúť všetky služby? (Štart> Spustiť> msconfig a kliknite na tlačidlo vstúpiť, bude sa vám zobrazí okno, kliknite na kartu Služby a povoľte všetky služby, reštartujte a skúste to znova)

  • Monika @ The Writers Manifesto says: Monika @ spisovateľov manifest hovorí:

    Hi Sumesh, Hi Sumesh,

    I also wasn't aware that we can do this. Tiež som nebol vedomý, že môžeme urobiť. And here I am trying to mess around while online. A tu sa snažím flákat sa pri on-line. Oh …the silly me. Oh ... mňa hlúpe. :-) Bookmarked and stumbled! Záložkou a vrávoral!

    Thank you Ďakujeme vám

    Monika Monika

  • Sumesh says: Sumesh hovorí:

    @Monika: Don't mess around online, and especially not on your live blog. @ Monika: Nechcem Mess Around on-line, a už vôbec nie na vaše blogu. This method is much better, and many use it for theme/plugin development. Táto metóda je oveľa lepšie, a veľa použiť pre tému / plugin vývoj. And thanks for the stumble. A vďaka za zakopnutia.

  • Monika @ The Writers Manifesto says: Monika @ spisovateľov manifest hovorí:

    Hi Sumesh, Hi Sumesh,

    I have gotten as far as installing everything as instructed. Som sa dostal až k inštalácii všetko podľa pokynov. :-) It wasn't as hard as expected as I'm no tech geek. Nebolo to tak ťažké, ako sa predpokladalo, a ja nie som geek tech. But now I'm stuck. Ale teraz som prilepené. How can I upload new themes and stuff via FTP? Ako môžem nahrať nové témy a tak cez FTP? I don't know the path and the user and password I need to use here. Neviem, cestu a používateľského mena a hesla musím použiť tu.

    I'm only familiar with FTP and have no idea on how to use mySQL to upload stuff. Som len oboznámený s FTP a nemajú predstavu o tom, ako používať mySQL vkladať veci. Could you please point me in the right direction? Mohli by ste mi, prosím, miesto správnym smerom? Once I can figure out the right path with FTP (I use SmartFTP) I will be fine. Raz som si prísť na správnu cestu s FTP (I use SmartFTP), budem v poriadku.

    Thanks Vďaka
    Monika Monika

  • Sumesh says: Sumesh hovorí:

    @Monika: Its all easy, and you'd feel it funny that it has been under your nose all the while. @ Monika: Jeho vôbec jednoduché, a vy by ste pocit, že legrační, že to bolo pod nosom po celú dobu. Assuming that your wordpress folder is x(usually C)x:\xampplite\htdocs\wordpress\wp-content is the folder which contains plugins, themes and uploads folders. Za predpokladu, že váš wordpress zložka je x (zvyčajne C) x: \ xampplite \ htdocs \ wordpress \ wp-obsah je zložka, ktorá obsahuje pluginy, témy a obrázky zložiek. Then, just put the themes/plugins to their respective directories, like on the real server. Potom už len dať témy / plugins do ich adresára, podobne ako na skutočný server. No FTP, just Windows Explorer (or its Nie FTP, len Prieskumník Windows (alebo jeho Mac Mac equivalent). ekvivalentné).

  • Monika @ The Writers Manifesto says: Monika @ spisovateľov manifest hovorí:

    Duh…LOL, it does make sense now you mentioned it. Duh ... LOL, to nemá zmysel, teraz už o tom zmienil. Naturally it is all stored locally so it would be there. Prirodzene, že sa všetky uložené lokálne, takže by sa tam. Oh man, sometimes I don't see the trees in the forest. Bože, niekedy nevidím stromy v lese.

    Thanks Sumesh Thanks Sumesh ;-)

    Monika Monika

  • Sumesh says: Sumesh hovorí:

    @Monika: Glad you got it, no prob => @ Monika: Som rád, že to máš, nie je prob =>

  • fazeetha says: fazeetha hovorí:

    hi sumesh, hi sumesh,
    i don't know abc's of s/w…i just wanted to have a new theme for my blog in wordpress. Neviem, abc ze s / w ... len som chcel mať novú tému pre môj blog na wordpress.
    i did everything mentioned here and was able to look at the theme that i wanted locally, but i don't have any clue how to have that theme in my wordpress blog. Urobil som všetko, tu uvedené, a mohol sa pozrieť na tému, ktoré som chcel na mieste, ale ja nemám potuchy, ako sa táto téma v mojom blogu wordpress.
    can u please help me? pocínovat u byť príjemný pomôcť mne? i know i am dumb…hope u help me. Viem, že som hlúpa ... hope u pomôcť mne.

    thanks, vďaka,
    fazeetha. fazeetha.

  • jojo says: jojo hovorí:

    Hello.. Hello ..
    I got an error… Dostal som chybu ...
    It says that Can’t select database Hovorí, že Cana € ™ t vybrať databázu

    We were able to connect to the database server (which means your username and password is okay) but not able to select the wordpress database. Boli sme schopní sa pripojiť na databázový server (čo znamená, že Vaše užívateľské meno a heslo je v poriadku), ale nie je schopný vybrať wordpress databázy.

    Anyone cah help me? CAH niekto pomôcť mne?

  • Lisa Irby says: Lisa Irby hovorí:

    Awesome instructions! Awesome pokyny! I am so happy I can now test WP on my local machine now. Som tak rád, že som si teraz test WP na mojom lokálnom počítači teraz.

  • Rennie says: Rennie hovorí:

    Read your tutorial and followed the steps. Prečítajte si návod a nasledoval kroky. When inputting the link: Pri vkladaní odkazu: http://localhost/wordpress/wp-admin/install.php http://localhost/wordpress/wp-admin/install.php all I get is a box with an error message “Error establishing a database connection and then a bunch of options of what it could be. všetko, čo som si je okno s chybovým hlásením "Chyba pri vytvorení pripojenia k databáze a potom veľa možností, čo by to mohlo byť.
    I've been over the instructions with a fine tooth comb, xammp is running (I'm using the full version if that makes a difference), I can get into MySQL etc.etc. Bol som v návode s jemnou zub hrebeňa, xammp beží (I'm using the plnú verziu, že ak je rozdiel), môžem dostať do MySQL etc.etc.

    Any suggestions what the deal could be? Nejaké návrhy, čo by mohlo byť riešenie? Really appreciate your help. Really appreciate your help.
    Thanks, Rennie Vďaka, Rennie

  • Sumesh says: Sumesh hovorí:

    @Rennie: The instructions here are for the smallest XAMPP package, that is XAMPPlite. @ Rennie: usmernenia sú tu pre najmenšie balík XAMPP, ktorý je XAMPPlite. Hence, these steps may not work for the full version of XAMPP. Preto môže tento postup nefunguje na plnú verziu XAMPP.

  • Shane Swing says: Swing Shane hovorí:

    Please allow me to share this video tutorial I created on how to Install WordPress Locally using Wamp with your audience. Dovoľte mi, aby som zdieľať toto video tutorial som vytvoril na tom, ako nainštalovať WordPress pomocou lokálne Wamp s publikom.

    http://www.youtube.com/watch?v=biQWyBcYSX4 http://www.youtube.com/watch?v=biQWyBcYSX4
    Regards Pozdravy
    Shane Shane

  • Afiliasi says: Afiliasi hovorí:

    I have installed XAMP on my pc. Nainstaloval som XAMP na mojom pc.
    Sometimes its take a long time until the sites is open. Niekedy trvať dlho, kým miesta je otvorený.
    Would you tell why this happen? Mohli by ste povedať, prečo sa to stalo?

    • Sumesh says: Sumesh hovorí:

      If you have external scripts (ads, for example) in the template, each page load would be delayed because of that. Ak máte externé skripty (reklamy, napríklad) v šablóne, každej načítaní stránky by bolo odložené kvôli tomu.

  • Rits says: Ritsa hovorí:

    Hi All Hi All

    I see Sumesh is the geek here. Vidím Sumesh je geek tu. I use wamp. Používam Wamp.
    Afiliasi, check your firewall settings – that is the no. Afiliasi, skontrolujte nastavenie firewallu - to je nie. 1 reason for slowing down. 1 dôvodom na spomalenie. Allow all privileges. Povoliť všetky výsady.

  • WebTek says: WebTek hovorí:

    Gd' Day Bloggers… I have XAMPP installed and working with Wordpress on my company Intranet however I would like to streamline the URL for the users. Gd 'Day blogov ... Mám XAMPP nainštalovaný a prácu s Wordpress na svojom intranete ale rád by som zjednodušiť URL pre užívateľa. I'd like for them to type Chcela by som pre ne typ http://bsd http://bsd and have it resolve to the Wordpress installation without typing in anything else. a mať to odhodlanie inštalácie Wordpress, bez písať niečo iné. I've tried changing/adding a Virtual Host in the appropriate “conf” file with no luck, I still have to type Snažil som sa zmena / pridanie Virtual Host v príslušnej "conf" file with no luck, som ešte typ http://bsd/wordpress http://bsd/wordpress to resolve to the site. vyriešiť na mieste. ANy suggestions on how to fix this? Nejaké návrhy, ako opraviť? Thanks in Advance. Thanks in Advance.

  • § Leave a Reply § Leave a Reply