Installing Web Server in FreeBSD 6.0 with Apache 2.2, MySQL 5.0 and PHP 5 – Part 1 Namestitev spletnega strežnika v FreeBSD 6,0 s Apache 2.2, MySQL 5.0 in PHP 5 - del 1

Installing Apache 2.2, MySQL 5 and PHP 5 in FreeBSD 6.0 for a Reliable Web Server Namestitev Apache 2.2, MySQL 5 ter PHP 5 FreeBSD 6,0 za zanesljivo Web Server

Part 1 – Installing FreeBSD 6.0 with Ports Collection Updating Del 1 - Namestitev FreeBSD 6,0 s Ports Collection Posodabljanje

Minimum Requirements: Minimalne zahteve:

  • CD-RW or DVD-RW Drive CD-RW ali DVD-RW Drive
  • Internet Connection via Ethernet Network Card or Modem Dial-up Internetne povezave preko Ethernet Network Card ali Modem Dial-up
  • Sufficient disk space Zadostna disk space

  1. Download latest version of Prenesite najnovejšo različico FreeBSD FreeBSD . . Select ISO image download that suits your system architecture platform (for example, machine on Intel Pentium-IV or AMD AthlonXP is based on i386, while AMD Opteron is amd64 architecture) by clicking on corresponding [ISO]. Izberite ISO slike naložite ki najbolje ustreza vašim arhitektura sistema platformo (na primer, stroj za Intel Pentium-IV ali AMD AthlonXP temelji na i386, medtem ko AMD Opteron je amd64 arhitektura) s klikom na ustrezni [ISO].
  2. Download 6.0-RELEASE-i386-disc1.iso, or any other similar file. Download 6,0-SPROŠČANJEM-i386-disc1.iso, ali katere koli druge podobne datoteke. (Disc 1 is sufficient to install a fully working FreeBSD box) (Disc 1 je dovolj, da namestite popolnoma delovni FreeBSD polje)
  3. Burn the file (ISO image) to a CD disc (refer to your CD-RW or DVD-RW manual if you not sure of how to burn a image file). Burn datoteko (ISO sliko) na CD disk (sklicujem se na vaše CD-RW ali DVD-RW priročnika, če niste prepričani, kako gori v slikovne datoteke).
  4. Insert the newly created FreeBSD CD to the computer that you want to run as web server and power on the computer. Vstavite novoustanovljeno FreeBSD CD v računalnik, ki jo želite zagnati, kot spletni strežnik in moč na računalnik.
  5. If you want to use multiple operating systems on the computer to co-exist, or your system already has operating system installed, you must free up a primary partition for FreeBSD installation. Če želite uporabljati več operacijskih sistemov na računalniku, da soobstajata, ali vaš sistem je že nameščen operacijski sistem, morate sprostiti primarno particijo za namestitev FreeBSD. You can modify partition with fdisk on DOS or Windows, FIPS and PResizer from tools directory in FreeBSD CD, or with third-party software like PartitionMagic that is able to modify NTFS partition. Spreminjate lahko particijo z Fdisk na DOS ali Windows, FIPS in orodij PResizer iz imenika v FreeBSD CD, ali s strani tretje stranke programske opreme kot PartitionMagic, ki je sposobna spremeniti NTFS particijo.
  6. Boot from CD when computer starts up. Boot iz CD-ja, ko se računalnik zažene. If booting from CD capability is not enabled or has lower priority than hard disk, change it in BIOS. Če zagon s CD zmožnost ni omogočeno ali pa je manj pomembna kot na trdem disku, jo spremenite v BIOS.
  7. Once FreeBSD boots up, you will see a menu titled 'sysinstall Main Menu' that contains all the installation options. Ko FreeBSD škornji gor, boste videli v meniju z naslovom "sysinstall Main Menu", ki vsebuje vse možnosti namestitve.
    FreeBSD sysinstall
  8. Select 'Standard' and press Enter. Izberite "Standard" in pritisnite Enter.
  9. Press Enter (or Space) when shown the following message: Pritisnite Enter (ali prostoru), ko je prikazano naslednje sporočilo:
                                      Message Sporočilo 
      In the next menu, you will need to set up a DOS-style ("fdisk") V naslednjem meniju boste morali ustanoviti DOS stil ( "Fdisk") 
      partitioning scheme for your hard disk. ločevanje sheme za vaš trdi disk. If you simply wish to devote Če ste preprosto želijo posvetiti 
      all disk space to FreeBSD (overwriting anything else that might be on vse prostor na disku na FreeBSD (čez karkoli, da bi lahko na 
      the disk(s) selected) then use the (A)ll command to select the default disk (-e) izbrana) in nato uporabi (A) ll ukaz in izberite privzetega 
      partitioning scheme followed by a (Q)uit. predelnih sheme, ki mu sledi (Q) uit. If you wish to allocate only Če želite dodeliti le 
      free space to FreeBSD, move to a partition marked "unused" and use the prostora za FreeBSD, prehod na particijo označeno "neizkoriščena" in uporabite 
      (C)reate command. (C) reate ukaz. 
                                     [  OK  ] [OK]  
    
                           [ Press enter or space ] [Sporočilo za vstop ali prostor] 
    
  10. If you have more than 1 disk drives detected, FDISK will prompt you to select which disk drive you want to use. Če imate več kot 1 diskov zazna, Fdisk bo hiter, da izberete disk, ki ga želite uporabiti. Just select accordingly (For the purpose of this tutorial guide, select the first primary hard disk). Samo izberite ustrezno (Za namen tega Tutorial vodnika, izberite prvi primarni trdem disku).
    FreeBSD Fdisk
  11. You will be shown FDISK Partition Editor. Ti bodo prikazani Fdisk particija Editor. If you already has some partitions defined, your screen will typically shown like below: Če ste že nekaj sten opredeljeno, zaslonu bo običajno prikazan, kot spodaj:
    FreeBSD Fdisk
    Depending on how is the layout of your current hard disk, you may need to press D to delete a or some partitions to make room for FreeBSD partition. Glede na to, kako se izgled vaše trenutne trdi disk, boste morda morali pritisniti D Brisanje particije ali nekaj, da bi naredili prostor za FreeBSD particijo. You can create a partition by pressing C. If your hard drive is empty and you would like to use entire disk for FreeBSD, press A. When done, press Q to finish and exit the FDISK process. Lahko ustvarite particijo tako, da pritisnete C. Če je vaš trdi disk je prazna in jo želite uporabiti celoten disk za FreeBSD, pritisnite A. Ko končate, pritisnite tipko Q, da končate in izstop Fdisk procesa.
  12. Next, a boot manager needs to be installed. Naslednje, a boot manager mora biti nameščen. You can select either BootMgr or Standard (Standard will suffice if FreeBSD is going to be the only operating system on this machine and it's installed on the first hard disk). Izberete lahko, bodisi BootMgr ali Standard (Standardna bo zadostoval, če FreeBSD bo edini operacijski sistem na tem stroju, in je nameščen na prvem trdem disku).
    FreeBSD Boot Manager
  13. Press Enter or Space when shown the following message: Pritisnite Enter ali Space, ko je prikazano naslednje sporočilo:
                                      Message Sporočilo 
      Now, you need to create BSD partitions inside of the fdisk Sedaj morate ustvariti particije BSD notranjost Fdisk 
      partition(s) just created. partition (s) pravkar ustvarili. If you have a reasonable amount of disk Če ste razumni znesek disk 
      space (200MB or more) and don't have any special requirements, simply prostora (200MB ali več) in niso imeli nobenih posebnih zahtev, preprosto 
      use the (A)uto command to allocate space automatically. uporaba (A) utomatski ukaz za razporeditev prostora samodejno. If you have Če imate 
      more specific needs or just don't care for the layout chosen by več posebnimi potrebami ali pa samo ne skrbi za razporeditev, ki ga izbere 
      (A)uto, press F1 for more information on manual layout. (A) utomatski, pritisnite F1, za več informacij o priročniku postavitev.   
    
                                     [  OK  ] [OK] 
                               [ Press enter or space ] [Sporočilo za vstop ali prostor] 
    
  14. At FreeBSD Disklabel Editor, press A to let FreeBSD automatically creates the partitions and set the partitions to default sizes. Na FreeBSD Disklabel urednik, pritisnite A pustiti FreeBSD samodejno ustvari particije in nastavite privzete velikosti particije.
    FreeBSD Disklabel
    Note: /var will contains all log files, mail files, database files and etc. If you're running FreeBSD as http web server or ftp server, the default size of /var is most likely not enough in future. Opomba: / var bodo vsebuje vse log datoteke, datoteke, pošta, datoteke in podatkovne baze itd Če izvajate FreeBSD kot http web server ali ftp strežnika, je privzeta velikost / var najverjetneje ni dovolj v prihodnost. You will need to increase the size of /var now by reducing the size of /usr. Boste morali povečati velikost / var sedaj z zmanjšanjem velikosti / usr. To do this, scroll to /usr and press D to delete /usr partition. Če želite to narediti, se pomaknite do / usr in pritisnite D za brisanje / usr particije. Then scroll back to the first row (where specified free space available), press C, then key in your desired and reduced amount of blocks or space to allocate to /usr partition, select FS (A file system) and key in /usr as mounting point. Nato se pomaknite nazaj v prvi vrstici (kjer je določeno prostora je na voljo), pritisnite C, potem ključ v željeno in zmanjša znesek bloke ali prostora, da se dodeli na / usr particiji, izberite FS (A datotečni sistem) in ključ v / usr kot točki vgradnje. Repeat the same process for /var, with increased blocks or space allocation. Ponovite isti postopek za / var s povečano bloke ali dodelitev prostora.

    Press Q when done to exit. Ko končate, pritisnite Q za izhod.

  15. At Choose Distributions screen, select Developer or User (if you don't want the sources). Na Izberite Distributions zaslon, izberite razvijalca ali uporabnika (če ne želite, viri).
    FreeBSD Distributions
  16. Select [Yes] with arrow keys and press Enter to install FreeBSD Ports Collection when prompted. Izberite [Da] s puščicami in pritisnite Enter za namestitev FreeBSD Ports Collection ko pozove. This allows easy installation of Apache, MySQL and PHP later. To omogoča enostavno namestitev Apache, MySQL in PHP kasneje.
                              User Confirmation Requested Uporabnik Potrditev Zaprošena 
      Would you like to install the FreeBSD ports collection? Želite namestiti FreeBSD pristaniščih zbiranje?  
    
      This will give you ready access to over 13,300 ported software packages, To vam bo dala takojšen dostop do več kot 13.300 prenesenih programski paketi, 
      at a cost of around 440 MB of disk space when "clean" and possibly much po ceni okoli 440 MB prostora na disku, ko "čiste" in morebiti veliko 
      more than that if a lot of the distribution tarballs are loaded več kot da če veliko razdelitev tarballs so natovorjene 
      (unless you have the extra CDs from a FreeBSD CD/DVD distribution (razen če imate ekstra zgoščenke od FreeBSD CD / DVD distribucija 
      available and can mount it on /cdrom, in which case this is far less na voljo in lahko priklopite na / s CD-ja, v tem primeru je to veliko manj 
      of a problem). of a problem).  
    
      The Ports Collection is a very valuable resource and well worth having The Ports Collection je zelo dragocen vir in tudi vrednosti ob 
      on your /usr partition, so it is advisable to say Yes to this option. na vašem / usr particiji, zato je priporočljivo, da povem Da bi to možnost.  
    
      For more information on the Ports Collection & the latest ports, Za več informacij o Ports Collection & najnovejše pristanišč, 
      visit: obiščite: 
          http://www.FreeBSD.org/ports http://www.FreeBSD.org/ports   
    
                                   [ Yes ]     No [Da] Ni 
    
  17. After returning to Choose Distributions screen, scroll to Exit with arrow keys and press Enter. Po vrnitvi v Choose Distributions zaslonu, se pomaknite do Izhod s puščicami in pritisnite Enter.
  18. Select CD/DVD when prompted to Choose Installation Media. Izberite CD / DVD, kadar pozove, da izberite Namestitev medije.
    FreeBSD Namestitev za medije
    Note: If your FreeBSD Installation CD is too old, you can choose to install via FTP, which will fetch and download the latest build release. Opomba: Če vaš FreeBSD Vgradnja CD je prestar, se lahko odločite za namestitev prek FTP-ja, ki bo poiskal in prenesite najnovejšo graditi javnost.
  19. Configuration of FreeBSD has been set and installation can be started. Konfiguracija FreeBSD je bil določen in namestitev se lahko začne. Commit to the installation of FreeBSD when prompted. Zavezati, da bo namestitev FreeBSD ko pozove.
                            User Confirmation Requested Uporabnik Potrditev Zaprošena 
      Last Chance! Zadnja priložnost! Are you SURE you want to continue the installation? Ali ste prepričani, da želite nadaljevati namestitev?  
    
      If you're running this on a disk with data you wish to save then WE Če izvajate to na disku podatki, ki jih želite shraniti nato WE 
      STRONGLY ENCOURAGE YOU TO MAKE PROPER BACKUPS before proceeding! Močno spodbudo, da oblikujejo ustrezne Backupi pred nadaljevanjem!  
    
      We can take no responsibility for lost disk contents! Mi lahko sprejme nikakršne odgovornosti za izgubljeno disk vsebino!   
    
                                  [ Yes ]    No [Da] Ni 
    

    Warning: All data on the hard disk may be lost! Opozorilne: Vsi podatki, na trdem disku, se lahko izgubijo! The hard disk will be re-partition and re-format during installation. Trdi disk bo ponovno particije in ponovnega formata med namestitvijo.

  20. After installation is completed, the following message will appears: Ko je namestitev dokončana, se pojavi naslednje sporočilo:
                                    Message Sporočilo  
    
     Congratulations! Čestitke! You now have FreeBSD installed on your system. Zdaj imate FreeBSD nameščena na vašem sistemu.  
    
     We will now move on to the final configuration questions. Mi bomo sedaj premakniti na končno konfiguracijo vprašanja. 
     For any option you do not wish to configure, simply select No. Za vse morebitne možnosti ne želite konfigurirati, preprosto izberite Ne  
    
     If you wish to re-enter this utility after the system is up, you may Če želite ponovno vnesite ta koristnosti po sistemu gor, boste morda 
     do so by typing: /stand/sysinstall . storiti s tipizacijo: / stand / sysinstall.   
    
                                      [ OK ] [OK]  
    
                           [  Press enter to continue  ] [Pritisnite ENTER, da še naprej] 
    

    Press Enter to proceed to post-installation configuration. Pritisnite Enter za nadaljevanje po namestitvi konfiguracijo.

IMPORTANT : The page is machine translated and provided "as is" without warranty. POMEMBNO: Ta stran je stroj prevod in če "kot je" brez garancije. Machine translation may be difficult to understand. Strojno prevajanje je lahko težko razumeti. Please refer to Prosimo, da original English article original English članek whenever possible. kadar je to mogoče.


Leave a Reply Leave a Reply

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> Lahko uporabite te oznake: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime = ""> <em> <i> <q cite=""> <strike> <strong>

Subscribe to comments feature has been disabled. Naročite se na komentarje funkcija je bila onemogočena. To receive notification of latest comments posted, subscribe to Če želite prejemati obvestila o najnovejših pripombe napoten, se naročite na My Digital Life Comments RSS feed Moje digitalno življenje Comments RSS or ali register to receive Registrirajte se za prejemanje new comments in daily email digest. novi komentarji v dnevni email prebavljajo.
Custom Search

New Articles Novi členi

Incoming Search Terms for the Article Dohodna Iskalni pogoji za člen

freebsd webserver FreeBSD strežnik - -- freenas mysql freenas mysql - -- freebsd untuk web server FreeBSD for web server - -- webserver freebsd spletnega FreeBSD - -- install php on freenas namestiti php na freenas - -- install webserver freebsd namestiti strežnik FreeBSD - -- building a web server with freebsd izgradnja spletnega strežnika s FreeBSD - -- freebsd web server FreeBSD web server - -- mysql for freenas mysql za freenas - -- install web server freebsd namestiti spletni strežnik FreeBSD - -- mysql freenas mysql freenas - -- freenas how to mysql install freenas kako namestiti mysql - -- free mysql for BSD free mysql za BSD - -- how to create web server FREEBSD kako ustvariti spletni strežnik FreeBSD - -- install mysql in freebsd 6.4 namestite mysql v FreeBSD 6,4 - -- site php apache freenas stran php apache freenas - -- freebsd vmware php apache mysql FreeBSD vmware apache php mysql - -- install freebsd webserver namestiti FreeBSD strežnik - -- install mysql 50 on freebsd namestite mysql 50 o FreeBSD - -- MySQL4 FreeNAS installer MySQL4 FreeNAS monter - -- how to install mysql freenas kako namestiti mysql freenas - -- installer mysql sur freenas Monter mysql sur freenas - -- install apache on freenas namestite Apache za freenas - -- MySQL4 FreeNAS MySQL4 FreeNAS - -- apppache sysinstall apppache sysinstall - -- serveur web freebsd 6.4 serveur web FreeBSD 6,4 - -- setting up webserver on freenas vzpostavitev spletnega o freenas - -- apache 2.2 php5 install freebsd apache 2,2 php5 namestiti FreeBSD - -- freebsd webserver howto FreeBSD spletnega Howto - -- webserver on freenas spletni strežnik na freenas - -- build apache web server with freebsd izgradnjo apache web server z FreeBSD - -- freenas z mysql freenas z mysql - -- apache mysql php freenas apache php mysql freenas - -- download apache 2.2 for freebsd download apache 2.2 za FreeBSD - -- freenas install apache freenas namestiti apache - -- install appache web serer on Free BSD namestite appache spletna serer na Free BSD - -- freebsd 6 requirements FreeBSD 6 zahtev - -- how to build web server freebsd kako zgraditi spletnega strežnika FreeBSD - -- Installing Web Server in FreeBSD 6.0 with Apache 2.2, MySQL 5.0 and PHP 5 Namestitev spletnega strežnika v FreeBSD 6,0 s Apache 2.2, MySQL 5.0 in PHP 5 - -- web server freebsd Spletni strežnik FreeBSD - -- freenas + mysql freenas + mysql - -- install mysql on freebsd 6.4 namestite mysql na FreeBSD 6,4 - -- partition server freebsd partition strežnik FreeBSD - -- built web server freebsd zgrajen web server FreeBSD - -- freebsd apache mysql php web server FreeBSD apache, mysql php web server - -- freenas apache mysql php install freenas apache php mysql namestite - -- SERVER WEB BSD SERVER WEB BSD - -- ftp server freebsd install ftp server FreeBSD namestite - -- running mysql with freeNAS mysql teče z freeNAS - -- apache web server on freenas apache web server na freenas - --