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
- 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 - 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
- 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
- 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.
Related Articles Saistītie raksti
- 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 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 1 Instalēšana Web serveri FreeBSD 6,0 ar Apache 2.2, MySQL 5.0 un PHP 5 - 1.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 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
- Fix Internal Server Error When Accessing Easy Apache in cPanel WebHosting Manager Fix Internal Server Error Kad Piekļuve Easy Apache in cPanel WebHosting Manager
- Apache Status (whm-server-status) in cPanel WebHost Manager Returns Blank Page Apache statuss (WHM serveris statusa) in cPanel WebHost Manager Returns Blank Page










































March 16th, 2009 18:26 Marts 16, 2009 18:26
thank you very much for the information…. ļoti pateicos par informāciju, ....
December 27th, 2008 08:06 Decembris 27, 2008 08:06
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
November 25th, 2008 10:28 Novembris 25, 2008 10:28
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
September 8th, 2008 22:39 Septembris 8, 2008 22:39
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.
July 12th, 2008 02:41 Jūlijs 12, 2008 02:41
[...] 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 [...]
May 22nd, 2008 16:23 Maijs 22, 2008 16:23
ehhm and you dont config apache ?? ehhm un jūs dont config apache??