Installing Web Server in FreeBSD 6.0 with Apache 2.2, MySQL 5.0 and PHP 5 – Part 1 Instalacija Tkanje Poslužitelj in FreeBSD 6.0 sa Apache 2.2, MySQL 5.0 i PHP 5 - Part 1
Installing Apache 2.2, MySQL 5 and PHP 5 in FreeBSD 6.0 for a Reliable Web Server Installing Apache 2.2, MySQL 5 i PHP 5 in FreeBSD 6.0 za Pouzdan Tkanje Poslužitelj
Part 1 – Installing FreeBSD 6.0 with Ports Collection Updating Dio 1 - Instaliranje FreeBSD 6.0 sa Ports Collection Ažuriranje
Minimum Requirements: Minimalni zahtjevi:
- CD-RW or DVD-RW Drive CD-RW ili DVD-RW Drive
- Internet Connection via Ethernet Network Card or Modem Dial-up Priključenje na internet putem Ethernet mrežna kartica ili Modem Dial-up
- Sufficient disk space Dovoljan prostor na disku
- Download latest version of Preuzmite najnoviju verziju 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]. Odaberite ISO predodžba preuzimanje datoteka taj molba tvoj sistem arhitektura platforma (na primjer, stroj na Intel Pentium-IV ili AMD AthlonXP se temelji na i386, dok je AMD Opteron je amd64 arhitektura) klikom na odgovarajući [ISO].
- Download 6.0-RELEASE-i386-disc1.iso, or any other similar file. Preuzimanje datoteka 6.0-ZA JAVNOST-i386-disc1.iso, ili bilo koje druge slične datoteke. (Disc 1 is sufficient to install a fully working FreeBSD box) (Disc 1 je dovoljan za instalaciju posve rad FreeBSD kutija)
- 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 datoteka (ISO predodžba) to CD disk (pogledajte CD-RW ili DVD-RW priručnik ukoliko ne siguran kako to izgorjeti predodžba varalica).
- Insert the newly created FreeBSD CD to the computer that you want to run as web server and power on the computer. Umetni nedavno oformljen FreeBSD CD na računalo taj koji želite to trčanje kao web server i moć na računalu.
- 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. Ako želite koristiti više operacijskih sustava na računalu kako bi ko-postoje, ili tvoj sistem već je operativni sustav instaliran, morate osloboditi primarnu particiju za instalaciju 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. Možete promijeniti dijeljenje sa fdisk na DOS ili Windows, FIPS i PResizer alata iz direktorija u FreeBSD CD, ili sa treći-dio softver poput PartitionMagic taj je u mogućnosti to promijeniti NTFS particiju.
- Boot from CD when computer starts up. Čizma iz CD-a kada se računalo početak gore. If booting from CD capability is not enabled or has lower priority than hard disk, change it in BIOS. Ako je dizanje s CD-sposobnost nije omogućen ili ima niži prioritet od tvrdi disk, to promijeniti u BIOS-u.
- Once FreeBSD boots up, you will see a menu titled 'sysinstall Main Menu' that contains all the installation options. Jednom FreeBSD sluga gore, vidjet ćete izbornik pod nazivom 'sysinstall Glavni Izbornik' koji sadrži sve opcije instalacije.

- Select 'Standard' and press Enter. Odaberite "Standard" i pritisnite Enter.
- Press Enter (or Space) when shown the following message: Pritisnite Enter (ili prostora) kad je prikazano sljedeću poruku:
Message Poruka In the next menu, you will need to set up a DOS-style ("fdisk") U sljedećem izborniku, morat ćete postaviti DOS-stil ( "fdisk") partitioning scheme for your hard disk. shemu particioniranja za vaš hard disk. If you simply wish to devote Ako jednostavno želite posvetiti all disk space to FreeBSD (overwriting anything else that might be on svi prostora na disku za FreeBSD (prepisati bilo što drugo što bi moglo biti na the disk(s) selected) then use the (A)ll command to select the default disk (a) odabrani), a zatim pomoću (A) ll naredbu da biste odabrali zadani partitioning scheme followed by a (Q)uit. shema particioniranja slijedi (Q) uit. If you wish to allocate only Ako želite dodijeliti samo free space to FreeBSD, move to a partition marked "unused" and use the slobodan prostor za FreeBSD, premjestiti na particiju naznakom "neiskorištenih" i koristite (C)reate command. (C) reate naredba. [ OK ] [OK] [ Press enter or space ] [Pritisnite enter ili prostora] - If you have more than 1 disk drives detected, FDISK will prompt you to select which disk drive you want to use. Ako imate više od 1 disk Pogoni otkriti, FDISK će od vas zatražiti da odaberete disk koji želite koristiti. Just select accordingly (For the purpose of this tutorial guide, select the first primary hard disk). Pravedan odabran prema tome (Za potrebe ovog vodiča udžbenik, odaberite prvi primarni tvrdi disk).

- You will be shown FDISK Partition Editor. Bit će prikazani FDISK Partition Editor. If you already has some partitions defined, your screen will typically shown like below: Ako već ima neke particije definirane, tvoj zaslon htijenje tipičan kao što je prikazano ispod:

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. Ovisno o tome kako je izgled svog trenutnog tvrdi disk, svibanj vam je potrebno pritisnuti D to izbrisati ili neki particije kako bi napravili mjesta za FreeBSD dijeljenje. 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. Možete stvoriti particiju pritiskom C. Ako tvoj hard disk je prazan i želite koristiti cijeli disk za FreeBSD, pritisnite A. Kada završite, pritisnite Q završiti i izlaz FDISK napredak. - Next, a boot manager needs to be installed. Dalje, čizma voditelj treba biti instaliran. 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). Možete odabrati bilo BootMgr ili Standard (Standard neće biti dostatan ako FreeBSD ide biti jedini operativni sistem na ovaj stroj i to je instaliran na prvom tvrdom disku).

- Press Enter or Space when shown the following message: Pritisnite Enter ili prostor kada je prikazano sljedeću poruku:
Message Now, you need to create BSD partitions inside of the fdisk partition(s) just created. Poruka Zatim, trebate stvoriti BSD particija unutar fdisk partition (s) upravo stvorili. If you have a reasonable amount of disk space (200MB or more) and don't have any special requirements, simply use the (A)uto command to allocate space automatically. Ako imate razumnu količinu prostora na disku (200MB ili više), a nemaju nikakve posebne zahtjeve, nenapadno iskoristiti () uto naredbu da dodijeli prostor automatski. If you have more specific needs or just don't care for the layout chosen by (A)uto, press F1 for more information on manual layout. [ OK ] [ Press enter or space ] Ako imate više specifičnih potreba ili jednostavno ne mare za izgled izabrao () uto, pritisnite F1 za više informacija o upotrebi izgleda. [OK] [Priopćenja za ulazak ili prostora] - At FreeBSD Disklabel Editor, press A to let FreeBSD automatically creates the partitions and set the partitions to default sizes. Na FreeBSD Disklabel Editor, pritisnite pustiti FreeBSD nesvjesno stvoriti particije i postaviti particije na zadane veličine.

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. Napomena: / var će sadržati sve log datoteka, datoteke pošte, datoteke baze podataka i sl. Ako tvoj 'trčanje FreeBSD kao http tkanje poslužitelj ili ftp server, zadana veličina / var je najvjerojatnije nije dovoljno u budućnosti. You will need to increase the size of /var now by reducing the size of /usr. Morat ćete povećati veličinu / var sada smanjivanjem veličine / usr. To do this, scroll to /usr and press D to delete /usr partition. Da biste to učinili, dođite do / usr i pritisnite tipku D da biste izbrisali / usr particiju. 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. Zatim se pomaknite natrag na prvom retku (gdje je navedeno slobodnog prostora na raspolaganju), pritisnite tipku C, a zatim utipkajte željeni i smanjena količina blokova ili prostor dodijeliti u / usr particiju, odaberite FS (file system) i ključ u / usr kao montiranje točka. Repeat the same process for /var, with increased blocks or space allocation. Ponovite isti postupak za / var, s većim blokovima ili prostor alokacija.Press Q when done to exit. Press Q našto ispunjavanja to izlaz.
- At Choose Distributions screen, select Developer or User (if you don't want the sources). Na Izaberite Distributions zaslonu, odaberite Razvojni ili User (ako ne želite izvori).

- Select [Yes] with arrow keys and press Enter to install FreeBSD Ports Collection when prompted. Odaberite [Da] sa strijela tipke i pritisnite Enter za instaliranje FreeBSD ports Skupljanje našto šaptalac. This allows easy installation of Apache, MySQL and PHP later. Ovo i omogućava jednostavnu instalaciju Apache, MySQL i PHP kasnije.
User Confirmation Requested User Confirmation Requested Would you like to install the FreeBSD ports collection? Želite li uvesti koga u službu FreeBSD kolekcija portove? This will give you ready access to over 13,300 ported software packages, Ovo će vam dati spreman pristup preko 13.300 portan softverskih paketa, at a cost of around 440 MB of disk space when "clean" and possibly much po cijeni od oko 440 MB prostora na disku kad je "čist", a možda i mnogo more than that if a lot of the distribution tarballs are loaded više od toga, ako se učitava puno distribucije tarballi (unless you have the extra CDs from a FreeBSD CD/DVD distribution (osim ako imate dodatnih CD-a iz FreeBSD CD / DVD distribucija available and can mount it on /cdrom, in which case this is far less na raspolaganju i može se montirati na / cdrom, u kojem slučaju to je daleko manje of a problem). problema). The Ports Collection is a very valuable resource and well worth having Portovi Zbirka je vrlo vrijedan resurs i kvalitetno vrijedan vlasništvo on your /usr partition, so it is advisable to say Yes to this option. na / usr particiju, pa je poželjno reći Da za tu opciju. For more information on the Ports Collection & the latest ports, Za više informacija o Ports Collection & najnoviji luka, visit: posjetite: http://www.FreeBSD.org/ports http://www.FreeBSD.org/ports [ Yes ] No [Da] Ne - After returning to Choose Distributions screen, scroll to Exit with arrow keys and press Enter. Nakon povratka u Distributions Izaberite zaslonu pomaknite se do Izlaz sa strijela tipke i pritisnite Enter.
- Select CD/DVD when prompted to Choose Installation Media. Odaberite CD / DVD našto šaptalac to izabrati instalacijskog medija.

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. Napomena: Ako vaš FreeBSD Uvođenje u službu CD je prestar, možete izabrati to uvesti koga u službu putem FTP-a, koja će dohvatiti i preuzimanje datoteka najnoviji graditi puštanje. - Configuration of FreeBSD has been set and installation can be started. Konfiguracija od FreeBSD je postavljen i instalacija može započeti. Commit to the installation of FreeBSD when prompted. Obvezati instalaciju FreeBSD našto šaptalac.
User Confirmation Requested User Confirmation Requested Last Chance! Posljednja prilika! Are you SURE you want to continue the installation? Jeste li sigurni da želite nastaviti instalaciju? If you're running this on a disk with data you wish to save then WE Ako radite na ovaj disk s podacima koje želite spremiti onda smo STRONGLY ENCOURAGE YOU TO MAKE PROPER BACKUPS before proceeding! Jako Vam savjetujemo da dolikovati backupom prije nastavka! We can take no responsibility for lost disk contents! Mi možemo preuzeti nikakvu odgovornost za izgubljene sadržaje disku! [ Yes ] No [Da] NeWarning: All data on the hard disk may be lost! Upozorenje: Svi podaci na tvrdi disk svibanj biti izgubljen! The hard disk will be re-partition and re-format during installation. Tvrdi disk će biti re-particiju i re-format tijekom instalacije.
- After installation is completed, the following message will appears: Nakon što se završi instalacija, će se pojaviti sljedeća poruka:
Message Poruka Congratulations! Čestitam! You now have FreeBSD installed on your system. Te zatim imati FreeBSD Installer na tvoj sistem. We will now move on to the final configuration questions. Sada ćemo prijeći na konačan oblik pitanja. For any option you do not wish to configure, simply select No. Za bilo koju opciju da ne želite konfigurirati, jednostavno odaberite broj If you wish to re-enter this utility after the system is up, you may Ako želite ponovno ući u ovaj program, nakon sustav je gore, vi svibanj do so by typing: /stand/sysinstall . napraviti tako da se upišete: / stand / sysinstall. [ OK ] [OK] [ Press enter to continue ] [Pritisnite enter za nastavak]Press Enter to proceed to post-installation configuration. Pritisnite Enter da nastavite s post-instalacije konfiguracija.
IMPORTANT : The page is machine translated and provided "as is" without warranty. VAŽNO: stranica je stroj prevedeno i pružena "kakav je" sa garantni. Machine translation may be difficult to understand. Strojno prevođenje svibanj biti teško za razumjeti. Please refer to Molimo pogledajte original English article izvorni Engleski jezik članak whenever possible. kad god je to moguće.
Related Articles Vezani članci
- Installing Web Server in FreeBSD 6.0 with Apache 2.2, MySQL 5.0 and PHP 5 – Part 2 Instalacija Tkanje Poslužitelj in FreeBSD 6.0 sa Apache 2.2, MySQL 5.0 i PHP 5 - 2. dio
- Installing Web Server in FreeBSD 6.0 with Apache 2.2, MySQL 5.0 and PHP 5 – Part 3 Instalacija Tkanje Poslužitelj in FreeBSD 6.0 sa Apache 2.2, MySQL 5.0 i PHP 5 - 3. dio
- Installing Web Server in FreeBSD 6.0 with Apache 2.2, MySQL 5.0 and PHP 5 – Part 5 Instalacija Tkanje Poslužitelj in FreeBSD 6.0 sa Apache 2.2, MySQL 5.0 i PHP 5 - Dio 5
- Installing Web Server in FreeBSD 6.0 with Apache 2.2, MySQL 5.0 and PHP 5 – Part 4 Instalacija Tkanje Poslužitelj in FreeBSD 6.0 sa Apache 2.2, MySQL 5.0 i PHP 5 - Part 4
- Installing and Configuring DHCP Server (DHCPd) on FreeBSD Instaliranje a Konfiguriranje DHCP Server (dhcpd) na FreeBSD
- FreeBSD Apache HTTP Accept Filter Error FreeBSD Apache HTTP Prihvatiti Filter Greška
- Install phpBB 2 in Windows XP running on Apache 2, PHP 5 and MySQL 4 Uvesti phpBB 2 unutra Windowsi XP trčanje na Apache 2, PHP 5 i MySQL 4
- Could Not Find Valid System Volume Error When Installing Windows Server 2008 (R2) Mogao Ne Nađi Vrijedi Sistem Svezak Greška Našto Instalacija Windows Server 2008 (R2)
- Checking Free Disk Space on FreeBSD Server Provjera slobodnog prostora na disku na FreeBSD Poslužitelj
- FreeBSD 6.0 on VMware Server Time and Clock Slow Down FreeBSD 6.0 na VMware Poslužitelj Vrijeme i Sat Smanjiti brzinu









































