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

  1. 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].
  2. 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)
  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 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).
  4. 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.
  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. 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.
  6. 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.
  7. 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.
    FreeBSD sysinstall
  8. Select 'Standard' and press Enter. Izvēlieties "Standard" un nospiediet Enter.
  9. 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] 
    
  10. 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).
    FreeBSD FDISK
  11. 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:
    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. 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.
  12. 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).
    FreeBSD Boot Manager
  13. 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] 
    
  14. 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.
    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. 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.

  15. 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).
    FreeBSD Distributions
  16. 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 
    
  17. 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.
  18. Select CD/DVD when prompted to Choose Installation Media. Izvēlieties CD / DVD, kad mudināts Izvēlieties Installation Media.
    FreeBSD 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.
  19. 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ā] Nav 
    

    Warning: 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ā.

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


Leave a Reply Atstāj atbildi

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> Jūs varat izmantot šos tagus: <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. Parakstīties uz komentāriem iezīme ir atspējota. To receive notification of latest comments posted, subscribe to Lai saņemtu paziņojumu par jaunāko komentāri norīkots darbā, abonēt My Digital Life Comments RSS feed Mani Digital Life Comments RSS feed or vai register to receive reģistrēties, lai saņemtu new comments in daily email digest. jauni komentāri ikdienas e-pasta sagremot.
Custom Search

New Articles Jauns pants

Incoming Search Terms for the Article Incoming Meklēt Noteikumi par pants

freebsd webserver FreeBSD tīmekļa serveri - -- freenas mysql freenas mysql - -- freebsd untuk web server FreeBSD untuk web serveri - -- webserver freebsd tīmekļa serverī FreeBSD - -- install php on freenas instalēt php par freenas - -- install webserver freebsd instalēt tīmekļa serverī FreeBSD - -- building a web server with freebsd ēkas Web serveris ar FreeBSD - -- freebsd web server FreeBSD interneta servera - -- mysql for freenas mysql par freenas - -- install web server freebsd instalēt tīmekļa servera FreeBSD - -- mysql freenas mysql freenas - -- freenas how to mysql install freenas kā mysql instalēt - -- free mysql for BSD bezmaksas mysql par BSD - -- how to create web server FREEBSD kā izveidot interneta serveri FreeBSD - -- install mysql in freebsd 6.4 install mysql in FreeBSD 6,4 - -- site php apache freenas site php apache freenas - -- freebsd vmware php apache mysql FreeBSD vmware php apache mysql - -- install freebsd webserver uzstādīt FreeBSD tīmekļa serveri - -- install mysql 50 on freebsd install mysql 50 FreeBSD - -- MySQL4 FreeNAS installer MySQL4 FreeNAS uzstādītājs - -- how to install mysql freenas to, kā uzstādīt mysql freenas - -- installer mysql sur freenas installer mysql sur freenas - -- install apache on freenas install apache par freenas - -- MySQL4 FreeNAS MySQL4 FreeNAS - -- apppache sysinstall apppache sysinstall - -- serveur web freebsd 6.4 serveur interneta FreeBSD 6,4 - -- setting up webserver on freenas izveidojot tīmekļa serveri par freenas - -- apache 2.2 php5 install freebsd apache 2,2 php5 instalēt FreeBSD - -- freebsd webserver howto FreeBSD tīmekļa serveri HOWTO - -- webserver on freenas tīmekļa serveri par freenas - -- build apache web server with freebsd veidot apache web serveri ar FreeBSD - -- freenas z mysql freenas z mysql - -- apache mysql php freenas apache mysql php freenas - -- download apache 2.2 for freebsd download apache 2.2 FreeBSD - -- freenas install apache freenas install apache - -- install appache web serer on Free BSD instalēt appache interneta serēru par brīvās BSD - -- freebsd 6 requirements FreeBSD 6 prasībām - -- how to build web server freebsd kā izveidot interneta serveri FreeBSD - -- Installing Web Server in FreeBSD 6.0 with Apache 2.2, MySQL 5.0 and PHP 5 Instalēšana Web serveri FreeBSD 6,0 ar Apache 2.2, MySQL 5.0 un PHP 5 - -- web server freebsd tīmekļa servera FreeBSD - -- freenas + mysql freenas + mysql - -- install mysql on freebsd 6.4 install mysql par FreeBSD 6,4 - -- partition server freebsd partition servera FreeBSD - -- built web server freebsd būvētas tīmekļa servera FreeBSD - -- freebsd apache mysql php web server FreeBSD apache mysql php web serveri - -- freenas apache mysql php install freenas apache mysql php instalēt - -- SERVER WEB BSD SERVER WEB BSD - -- ftp server freebsd install ftp servera FreeBSD instalēt - -- running mysql with freeNAS rādīt mysql ar freeNAS - -- apache web server on freenas Apache tīmekļa serverī freenas - --