Installing Web Server in FreeBSD 6.0 with Apache 2.2, MySQL 5.0 and PHP 5 – Part 1 Instalēšana Web serveri FreeBSD 6,0 ar Apache 2.2, MySQL 5.0 un PHP 5 - 1.daļa
Installing Apache 2.2, MySQL 5 and PHP 5 in FreeBSD 6.0 for a Reliable Web Server Instalēšana Apache 2.2, MySQL 5 un PHP 5 FreeBSD 6,0 par Reliable Web Server
Part 1 – Installing FreeBSD 6.0 with Ports Collection Updating Part 1 - instalēšana FreeBSD 6,0 ar Ports Collection atjaunināšana
Minimum Requirements: Minimālajām prasībām:
- CD-RW or DVD-RW Drive CD-RW vai DVD-RW Drive
- Internet Connection via Ethernet Network Card or Modem Dial-up Interneta savienojuma, izmantojot Ethernet tīkla karti vai Modem Dial-up
- Sufficient disk space Pietiekama disk space
- Download latest version of Lejupielādēt jaunāko versiju 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]. Izvēlēties ISO image download, kas ir piemērots jūsu sistēmas arhitektūra platformu (piemēram, mašīnu uz Intel Pentium IV vai AMD AthlonXP ir balstīta uz i386, bet AMD Opteron ir amd64 arhitektūra), noklikšķinot uz atbilstošās [ISO].
- Download 6.0-RELEASE-i386-disc1.iso, or any other similar file. Download 6,0-RELEASE-i386-disc1.iso, vai citu līdzīgu failu. (Disc 1 is sufficient to install a fully working FreeBSD box) (Disc 1 pietiek uzstādīt pilnīgi darba FreeBSD zona)
- 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 failu (ISO attēls) uz CD disks (skatīt jūsu CD-RW vai DVD-RW rokasgrāmatā, ja jūs neesat pārliecināts par to, kā apdegums ir attēlu).
- Insert the newly created FreeBSD CD to the computer that you want to run as web server and power on the computer. Ielikt jaunizveidotās FreeBSD CD uz datora, kuru vēlaties rādīt, interneta serveri un jauda uz datora.
- 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. Ja vēlaties izmantot vairākas operētājsistēmas uz datora vienlaicīgi pastāvēt, vai jūsu sistēmā jau ir operētājsistēmas uzstādītas, jums ir atbrīvos primāro partition par FreeBSD instalēšanu. 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. Varat modificēt partition ar fdisk par DOS vai Windows, FIPS un PResizer no darbarīki directory in FreeBSD CD, vai arī ar trešās puses programmatūru, piemēram, PartitionMagic, ka ir spējīgs modificēt NTFS partition.
- Boot from CD when computer starts up. Boot no CD, kad dators sākšanas. If booting from CD capability is not enabled or has lower priority than hard disk, change it in BIOS. Ja booting no CD iespējas nav aktivizēta vai ir zemāka prioritāte nekā cietā diska, mainīt to BIOS.
- Once FreeBSD boots up, you will see a menu titled 'sysinstall Main Menu' that contains all the installation options. Kad FreeBSD zābaki uz augšu, jūs redzēsiet izvēlni ar nosaukumu "sysinstall Main Menu", kas satur visus uzstādīšanas iespējas.

- Select 'Standard' and press Enter. Izvēlieties "Standard" un nospiediet Enter.
- Press Enter (or Space) when shown the following message: Nospiediet Enter (or space), ja tos uzrāda šādu ziņu:
Message Message In the next menu, you will need to set up a DOS-style ("fdisk") Pēc tam menu, Jums vajadzēs izveidot DOS stila ( "fdisk") partitioning scheme for your hard disk. šķērssienu sistēmu jūsu cietā diska. If you simply wish to devote Ja jūs vienkārši vēlas veltīt all disk space to FreeBSD (overwriting anything else that might be on visu diska vietas, lai FreeBSD (pārrakstot kaut kas cits, kas varētu būt par the disk(s) selected) then use the (A)ll command to select the default disku (s), kas tika izvēlēta), tad izmanto (A) ll komandu izvēlieties noklusēto partitioning scheme followed by a (Q)uit. šķērssienu sistēmu seko (Q) uit. If you wish to allocate only Ja jūs vēlaties piešķirt tikai free space to FreeBSD, move to a partition marked "unused" and use the brīvas telpas, lai FreeBSD, pārejiet uz partition marked "neizmantots" un izmantot (C)reate command. (C) reate komandu. [ OK ] [OK] [ Press enter or space ] [Nospiediet, ievadiet vai kosmosa] - If you have more than 1 disk drives detected, FDISK will prompt you to select which disk drive you want to use. Ja jums ir vairāk nekā 1 diskdziņi atklāti, FDISK liks jums izvēlēties, kuras diskdzinis vēlaties izmantot. Just select accordingly (For the purpose of this tutorial guide, select the first primary hard disk). Vienkārši izvēlieties attiecīgi (Lai Šajā mācību rokasgrāmatu, izvēlieties pirmo primārā cietā diska).

- You will be shown FDISK Partition Editor. Jums tiks rādīts FDISK Sadalīšanās Editor. If you already has some partitions defined, your screen will typically shown like below: Ja jums jau ir dažas starpsienas definēts, jūsu ekrāna parasti liecina, tāpat kā turpmāk:

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. Atkarībā no tā, kā ir izkārtojumu jūsu pašreizējo cietā diska, jūs, iespējams, vajadzēs preses D, lai dzēstu vai dažas starpsienas, lai atbrīvotu vietu FreeBSD partition. 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. Varat izveidot partition nospiežot C. Ja jūsu cietā diska ir tukša, un Jums vēlētos, lai izmantotu visu diska uz FreeBSD, nospiediet A. Kad darīts, nospiediet Q pabeigt un izietu no FDISK process. - Next, a boot manager needs to be installed. Tālāk, a boot manager jābūt uzstādīta. 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). Jūs varat izvēlēties vai nu BootMgr vai standarta (Standarta pietiks, ja FreeBSD būs vienīgā operētājsistēma uz šo mašīnu, un tas ir uzstādīts uz pirmā cietā diska).

- Press Enter or Space when shown the following message: Nospiediet Enter, vai Space, ja tos uzrāda šādu ziņu:
Message Message Now, you need to create BSD partitions inside of the fdisk Tagad jums ir nepieciešams, lai radītu BSD starpsienas iekšpusē, fdisk partition(s) just created. partition (s) tikko izveidojāt. If you have a reasonable amount of disk Ja jums ir pamatots disks space (200MB or more) and don't have any special requirements, simply telpā (200MB vai vairāk), un tiem nav nekādas īpašas prasības, vienkārši use the (A)uto command to allocate space automatically. izmantojiet (A) utomātisks komandu, lai sadalītu telpu automātiski. If you have Ja esat more specific needs or just don't care for the layout chosen by īpašās prasības, vai vienkārši nav aprūpi izkārtojumu, ko izvēlējusies (A)uto, press F1 for more information on manual layout. (A) utomātisks, nospiediet F1, lai iegūtu vairāk informācijas par rokasgrāmata izkārtojumu. [ OK ] [OK] [ Press enter or space ] [Nospiediet, ievadiet vai kosmosa] - At FreeBSD Disklabel Editor, press A to let FreeBSD automatically creates the partitions and set the partitions to default sizes. Pēc FreeBSD Disklabel Editor, nospiediet ļaut FreeBSD automātiski veido starpsienas un uzstādiet starpsienas uz noklusēto izmēriem.

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. Piezīme: / var būs ietverti visi log faili, mail faili, datu bāzes failus un utt Ja jūs FreeBSD kā http web servera vai ftp servera, noklusējuma lieluma / var visticamāk nepietiek nākotnē. You will need to increase the size of /var now by reducing the size of /usr. Jums būs nepieciešama, lai palielinātu savu / var tagad, samazinot izmērs / usr. To do this, scroll to /usr and press D to delete /usr partition. Lai to izdarītu, ritiniet uz / usr un nospiediet D dzēst / usr partition. 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. Pēc tam ritiniet uz pirmo rindā (ja norādīts brīvu telpu, kas ir pieejama), nospiediet C, pēc tam ievadīt vēlamo un samazina summu, blokos vai kosmosa piešķirt / usr partition, izvēlieties FS (A failu sistēma), un taustiņu / usr kā stiprinājuma punktā. Repeat the same process for /var, with increased blocks or space allocation. Atkārtojiet šo pašu procesu / var ar lielāku blokos vai telpu sadalījumu.Press Q when done to exit. Preses Q kad darīt, lai izietu.
- At Choose Distributions screen, select Developer or User (if you don't want the sources). Pēc Izvēlieties Distributions ekrāns, izvēlieties Developer vai lietotājs (ja jūs nevēlaties, lai avotiem).

- Select [Yes] with arrow keys and press Enter to install FreeBSD Ports Collection when prompted. Izvēlieties [Yes] ar bulttaustiņus, un nospiediet Enter, lai instalētu FreeBSD Ports Collection kad uzvedne. This allows easy installation of Apache, MySQL and PHP later. Tas ļauj viegli uzstādīšanu Apache, MySQL un PHP vēlāk.
User Confirmation Requested Lietotājs Apstiprinājums Pieprasītāja Would you like to install the FreeBSD ports collection? Vai vēlaties uzstādīt FreeBSD ostās vākšanu? This will give you ready access to over 13,300 ported software packages, Tas dos Jums iepazīties ar vairāk nekā 13300 pārnesto programmatūras paketes, at a cost of around 440 MB of disk space when "clean" and possibly much kura izmaksas ir aptuveni 440 MB diska vietas, kad "tīru" un, iespējams, daudz more than that if a lot of the distribution tarballs are loaded vairāk nekā tad, ja liela daļa no izplatīšanas tarballs iekrauj (unless you have the extra CDs from a FreeBSD CD/DVD distribution (ja vien jums ir papildu CD no FreeBSD CD / DVD sadale available and can mount it on /cdrom, in which case this is far less pieejami un var montēt to / cdrom, tādā gadījumā tas ir daudz mazāk of a problem). par problēmu). The Ports Collection is a very valuable resource and well worth having Ostām apkopošana ir ļoti vērtīgs resurss, un ir labi vērts ņemot on your /usr partition, so it is advisable to say Yes to this option. jūsu / usr partition, tāpēc ir ieteicams teikt Jā, lai šo iespēju. For more information on the Ports Collection & the latest ports, Lai iegūtu vairāk informācijas par Ports Collection & jaunāko ostām, visit: apmeklējiet: http://www.FreeBSD.org/ports http://www.FreeBSD.org/ports [ Yes ] No [Jā] Nav - After returning to Choose Distributions screen, scroll to Exit with arrow keys and press Enter. Pēc atgriešanās Izvēlieties Distributions ekrānā, ritiniet līdz Iziet ar bulttaustiņus, un nospiediet Enter.
- Select CD/DVD when prompted to Choose Installation Media. Izvēlieties CD / DVD, kad mudināts Izvēlieties Installation Media.

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. Piezīme: Ja jūsu FreeBSD Installation CD ir pārāk vecs, varat izvēlēties instalēt, izmantojot FTP, kas būs atnest un lejupielādēt jaunāko būvēt release. - Configuration of FreeBSD has been set and installation can be started. Konfigurācija FreeBSD ir noteikts un uzstādīšanu var tikt uzsāktas. Commit to the installation of FreeBSD when prompted. Apņemties uzstādīšanu FreeBSD kad uzvedne.
User Confirmation Requested Lietotājs Apstiprinājums Pieprasītāja Last Chance! Last Chance! Are you SURE you want to continue the installation? Vai esat pārliecināts, ka vēlaties turpināt instalēšanu? If you're running this on a disk with data you wish to save then WE Ja jūs šo uz diska ar datu vēlaties ietaupīt tad mēs STRONGLY ENCOURAGE YOU TO MAKE PROPER BACKUPS before proceeding! Mudināt JUMS IESNIEGT PROPER BACKUPS pirms! We can take no responsibility for lost disk contents! Mēs varam veikt nekādu atbildību par zaudētajiem diska saturam! [ Yes ] No [Jā] NavWarning: All data on the hard disk may be lost! Brīdinājums: visi dati par cieto disku var pazust! The hard disk will be re-partition and re-format during installation. Cietā diska tiks atkārtoti partition un atkārtotas-format laikā.
- After installation is completed, the following message will appears: Kad instalēšana ir pabeigta, šāds ziņojums būs parādās:
Message Message Congratulations! Apsveicam! You now have FreeBSD installed on your system. Jums tagad ir FreeBSD instalēta jūsu sistēmā. We will now move on to the final configuration questions. Mēs tagad pāriet uz galīgo konfigurācija jautājumiem. For any option you do not wish to configure, simply select No. Attiecībā uz jebkuru iespēju, jūs nevēlaties, lai konfigurētu, vienkārši izvēlieties Nē If you wish to re-enter this utility after the system is up, you may Ja vēlaties atgriezties šajā lietderība pēc tam, kad sistēma ir izveidota, varat do so by typing: /stand/sysinstall . darīt tipizēšana: / stand / sysinstall. [ OK ] [OK] [ Press enter to continue ] [Nospiediet ENTER, lai turpinātu]Press Enter to proceed to post-installation configuration. Nospiediet Enter doties pēc uzstādīšanas konfigurācijas.
IMPORTANT : The page is machine translated and provided "as is" without warranty. SVARĪGI: Šī lapa ir mašīna tulkoto un ar nosacījumu ", kas ir" bez garantijas. Machine translation may be difficult to understand. Machine translation var būt grūti saprast. Please refer to Lūdzu, skatiet original English article oriģināls angļu rakstu whenever possible. kad vien iespējams.
Related Articles Saistītie raksti
- Installing Web Server in FreeBSD 6.0 with Apache 2.2, MySQL 5.0 and PHP 5 – Part 3 Instalēšana Web serveri FreeBSD 6,0 ar Apache 2.2, MySQL 5.0 un PHP 5 - 3.daļa
- Installing Web Server in FreeBSD 6.0 with Apache 2.2, MySQL 5.0 and PHP 5 – Part 2 Instalēšana Web serveri FreeBSD 6,0 ar Apache 2.2, MySQL 5.0 un PHP 5 - 2.daļa
- Installing Web Server in FreeBSD 6.0 with Apache 2.2, MySQL 5.0 and PHP 5 – Part 5 Instalēšana Web serveri FreeBSD 6,0 ar Apache 2.2, MySQL 5.0 un PHP 5 - 5.daļa
- Installing Web Server in FreeBSD 6.0 with Apache 2.2, MySQL 5.0 and PHP 5 – Part 4 Instalēšana Web serveri FreeBSD 6,0 ar Apache 2.2, MySQL 5.0 un PHP 5 - 4.daļa
- Installing and Configuring DHCP Server (DHCPd) on FreeBSD Instalēšana un konfigurēšana DHCP Server (DHCPd) par FreeBSD
- FreeBSD Apache HTTP Accept Filter Error FreeBSD Apache HTTP Accept Filtrs kļūdu
- Install phpBB 2 in Windows XP running on Apache 2, PHP 5 and MySQL 4 Install phpBB 2 Windows XP darboties ar Apache 2, PHP 5 un MySQL 4
- Checking Free Disk Space on FreeBSD Server Pārbaudes Free Disk Space par FreeBSD Server
- FreeBSD 6.0 on VMware Server Time and Clock Slow Down FreeBSD 6,0 par VMware Server Laiks un Pulkstenis palēnināt
- Missing CD/DVD Device Driver Problem While Installing Vista on VMWare Server/ESX Missing CD / DVD Device Driver Problēma Kaut instalēšana Vista par VMWare Server / ESX









































