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 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 4 – Installing Apache HTTPD Web Server 2.2 4.daļa - instalēšana Apache HTTPD Web Server 2,2

  1. Install Apache HTTP Server 2.20 by using FreeBSD Ports Collection: Install Apache HTTP Server 2,20, izmantojot FreeBSD Ports Collection:

    cd /usr/ports/www/apache22 cd / usr/ports/www/apache22
    make install clean padarīt instalēt tīru

  2. A Apache HTTP Server script apache22.sh is located at /usr/local/etc/rc.d to provide Apache HTTP Server start and shutdown service. A Apache HTTP Server script apache22.sh atrodas / usr / local / etc / rc.d sniegt Apache HTTP Server sākuma un shutdown pakalpojumu. To enable Apache web server to automatically starts whenever after server reboots, issue the following command at CLI: Lai aktivizētu Apache Web serveri, lai automātiski sākas tad, kad pēc servera reboots izdod šādu komandu pie CLI:

    echo 'apache22_enable =”YES”' >> /etc/ rc.conf echo "apache22_enable =" YES "">> / etc / rc.conf

  3. To start Apache HTTP web server immediately, use: Lai sāktu Apache HTTP interneta servera nekavējoties, izmantot:

    /usr/local/sbin/apachectl start / usr / local / sbin / apachectl sākums

    or vai

    /usr/local/etc/rc.d/apache22.sh start / usr/local/etc/rc.d/apache22.sh sākums

  4. Apache installation finished. Apache uzstādīšana pabeigta.

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.


6 Responses to “Installing Web Server in FreeBSD 6.0 with Apache 2.2, MySQL 5.0 and PHP 5 – Part 4” 6 Atbildes uz "instalēšana Web serveri FreeBSD 6,0 ar Apache 2.2, MySQL 5.0 un PHP 5 - Part 4"

  1. tito Tito
    March 16th, 2009 18:26 Marts 16, 2009 18:26
    6 6

    thank you very much for the information…. ļoti pateicos par informāciju, ....

  2. Francis Francis
    December 27th, 2008 08:06 Decembris 27, 2008 08:06
    5 5

    Hi, I would just like to post my experiences following this guide. Sveiki, es tāpat kā ievietot manu pieredzi pēc šī guide. All went fine following the steps on this page except when I tested apache by accessing it's URL. Visi gāja smalka pēc pasākumus šajā lapā, izņemot gadījumus, kad I testē apache, piekļūstot it's URL. I was having hostname or servname not set problems and I could not not get it to work changing the different settings and stuff. Es biju ņemot resursdatora vai servname kas nav noteikti problēmas, un es nevarēju ne saņemt to darba maiņu dažādos apstākļos un stuff. After searching through the net, I stumbled upon an article on turning off IPv6 support. Pēc meklēšana cauri tīklam, es stumbled uz rakstu par izslēgšanās IPv6 atbalsts. Here's what I did: Lūk, kas man bija:

    ipv6_enable=”NO” – Added this in rc.conf ipv6_enable = "NO" - Pievienotās tas rc.conf
    #::1 localhost localhost.my.domain – I commented this line in my /etc/hosts.conf #:: 1 localhost localhost.my.domain - I komentēja šo pozīciju savā / etc / hosts.conf

    I also came across accf problems. Es arī nāca pāri accf problēmas. I did this: I did this:
    root@freebsd:# kldload accf_http root @ FreeBSD: # kldload accf_http
    root@freebsd:# vi /boot/loader.conf root @ FreeBSD: # vi / boot / loader.conf
    Edited this line: accf_http_load=”YES” Edited šī pozīcija: accf_http_load = "JĀ"

    This somehow got me over the hump. Tas kaut kā dabūja mani pār kupris. I hope this helps anyone out there who encounters the same problems as min. Ceru, ka tas palīdz ikvienam, kas, kuri sastopas ar tādām pašām problēmām, kā min.

    Francis Francis

  3. fred Fred
    November 25th, 2008 10:28 Novembris 25, 2008 10:28
    4 4

    I usually have to (at least) set ServerName in /usr/local/etc/apache22/httpd.conf Es parasti ir (vismaz), kas Servera_nosaukums in / usr/local/etc/apache22/httpd.conf

  4. dreaken dreaken
    September 8th, 2008 22:39 Septembris 8, 2008 22:39
    3 3

    For PC-BSD (and possibly other FreeBSD distros), you may recieve a conflict with another package when running “make install clean”. PC-BSD (un, iespējams, citu FreeBSD distros), jums var saņemt pretrunā ar citu paketi, braucot "veikt instalēt tīru". Run this instead “make -i install clean” to get past this issue. Nobraukums šajā vietā "make-i instalēt tīru", lai saņemtu agrāk šo jautājumu.

  5. Aaron Martinez » Blog Archive » “apache22_enable: not found” fix Aaron Martinez »Blog Archive» "apache22_enable: not found" noteikt
    July 12th, 2008 02:41 Jūlijs 12, 2008 02:41
    2 2

    [...] The apache22/mysql/php install guide on mydigitallife is excellent, but if you copy/paste the snippet (as shown in the instructions) it adds an extra [...] [...] The apache22/mysql/php instalēt rokasgrāmata par mydigitallife ir lieliska, bet, ja jūs kopēt / ielīmēt fragments (kā norādīts lietošanas pamācībā) tai pievieno papildu [...]

  6. Nisse Nisse
    May 22nd, 2008 16:23 Maijs 22, 2008 16:23
    1 1

    ehhm and you dont config apache ?? ehhm un jūs dont config apache??

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 Mans Digitālais 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 apache22 FreeBSD apache22 - -- install apache freebsd install apache FreeBSD - -- freebsd install apache FreeBSD install apache - -- freebsd apache install FreeBSD apache instalēt - -- freebsd apache FreeBSD apache - -- apache22 freebsd apache22 FreeBSD - -- freebsd install apache22 FreeBSD instalēt apache22 - -- freebsd start apache FreeBSD start apache - -- install apache on freebsd install apache uz FreeBSD - -- apache freebsd apache FreeBSD - -- install apache2 freebsd install apache2 FreeBSD - -- install apache in freebsd install apache in FreeBSD - -- start apache freebsd start apache FreeBSD - -- como instalar apache en freebsd como instalar apache en FreeBSD - -- freebsd apache22 FreeBSD apache22 - -- freebsd apache 2.2 FreeBSD apache 2,2 - -- how to install apache freebsd to, kā uzstādīt apache FreeBSD - -- apache install freebsd apache instalēt FreeBSD - -- freebsd apache php mysql FreeBSD apache php mysql - -- apache freebsd install apache FreeBSD instalēt - -- how to install apache on freebsd to, kā uzstādīt apache uz FreeBSD - -- apache for freebsd apache uz FreeBSD - -- freebsd apache installation FreeBSD apache instalācija - -- instalar apache en freebsd instalar apache en FreeBSD - -- php apache22 freebsd php apache22 FreeBSD - -- freebsd + apache22 FreeBSD + apache22 - -- pcbsd apache2 pcbsd apache2 - -- freebsd + apache FreeBSD + Apache - -- freebsd apache2 install FreeBSD apache2 instalēt - -- freebsd apache22 php5 mysql FreeBSD apache22 php5 mysql - -- apache22 on freebsd apache22 par FreeBSD - -- apache 2.2 freebsd apache 2,2 FreeBSD - -- freebsd apache22 php5 FreeBSD apache22 php5 - -- install php apache freebsd instalēt php apache FreeBSD - -- instalar lamp en freebsd instalar lukturis en FreeBSD - -- instalacja apache z portów freebsd instalacja apache z portów FreeBSD - -- install+apache+freebsd instalēt + apache + FreeBSD - -- freebsd apache 22 FreeBSD apache 22 - -- apache22 freebsd apache22 FreeBSD - -- freebsd probleme activation php FreeBSD problēma aktivācijas php - -- install apache on bsd install apache uz BSD - -- freebsd apache22 install FreeBSD apache22 instalēt - -- freebsd apache22 php FreeBSD apache22 php - -- install apache bsd install apache BSD - -- freebsd apache webserver FreeBSD apache tīmekļa serveri - -- freebsd+apache22 FreeBSD + apache22 - -- how to run apache on freebsd to, kā vadīt apache par FreeBSD - -- freebsd apache install ports FreeBSD apache instalēt ostās - -- apache22 and php apache22 un php - -- freebsd enable apache22 startup FreeBSD ļautu apache22 starta - --