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
- 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].
- 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)
- 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).
- 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.
- 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.
- 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.
- 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.

- Select 'Standard' and press Enter. Izberite "Standard" in pritisnite Enter.
- 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] - 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).

- 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:

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. - 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).

- 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] - 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.

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.
- 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).

- 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 - 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.
- Select CD/DVD when prompted to Choose Installation Media. Izberite CD / DVD, kadar pozove, da izberite Namestitev 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. - 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] NiWarning: 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.
- 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.
Related Articles Sorodni članki
- Installing Web Server in FreeBSD 6.0 with Apache 2.2, MySQL 5.0 and PHP 5 – Part 3 Namestitev spletnega strežnika v FreeBSD 6,0 s Apache 2.2, MySQL 5.0 in PHP 5 - 3. del
- Installing Web Server in FreeBSD 6.0 with Apache 2.2, MySQL 5.0 and PHP 5 – Part 2 Namestitev spletnega strežnika v FreeBSD 6,0 s Apache 2.2, MySQL 5.0 in PHP 5 - del 2
- Installing Web Server in FreeBSD 6.0 with Apache 2.2, MySQL 5.0 and PHP 5 – Part 5 Namestitev spletnega strežnika v FreeBSD 6,0 s Apache 2.2, MySQL 5.0 in PHP 5 - 5. del
- Installing Web Server in FreeBSD 6.0 with Apache 2.2, MySQL 5.0 and PHP 5 – Part 4 Namestitev spletnega strežnika v FreeBSD 6,0 s Apache 2.2, MySQL 5.0 in PHP 5 - 4. del
- Installing and Configuring DHCP Server (DHCPd) on FreeBSD Nameščanje in Konfiguriranje strežnika DHCP (DHCPd) na FreeBSD
- FreeBSD Apache HTTP Accept Filter Error FreeBSD Apache HTTP Sprejmi Filter Napaka
- Install phpBB 2 in Windows XP running on Apache 2, PHP 5 and MySQL 4 Namestiti PhpBB 2, v Windows XP teče na Apache 2, PHP 5 ter MySQL 4
- Checking Free Disk Space on FreeBSD Server Preverjanje nezasedenega prostora na disku na FreeBSD Server
- FreeBSD 6.0 on VMware Server Time and Clock Slow Down FreeBSD 6,0 na VMware Server Čas Ura in Slow Down
- Missing CD/DVD Device Driver Problem While Installing Vista on VMWare Server/ESX Manjka CD / DVD gonilnik Problem Čeprav Nameščanje Vista na VMWare Server / ESX









































