sleed Posted March 5, 2015 Report Posted March 5, 2015 Cum sa instalati un webserver Apache pe FreeBSD?Ce este FreeBSD ? https://www.freebsd.org/FreeBSD is an advanced computer operating system used to power modern servers, desktops and embedded platforms. A large community has continually developed it for more than thirty years. Its advanced networking, security and storage features have made FreeBSD the platform of choice for many of the busiest web sites and most pervasive embedded networking and storage devices.1) E important ca la orice versiune sa facem un update la la porturi. Mai multe detalii despre portsnap gasiti aici : FreeBSD Portsnapcd /usr/ports/ports-mgmt/portmanagermake install clean2) Acum instalam apache24[ 24=versiunea pentru FreeBSD 10 , 22=pentru versiunile mai vechi, etc..] . Acum executati urmatoarele comenzi:cd /usr/ports/www/apache24/make install cleanModule Index - Apache HTTP Server Version 2.2Este important sa cititi cu rosu, deoarece sa cunoasteti ce module sa instalati, exemplu , poate aveti nevoie de vhost_alias , mem_cache, proxy_balancer. Aici ramane la decizia voastra.mod_vhost_alias Provides for dynamically configured mass virtual hostingAsteptam sa termine de compilat, apoi, gasim conf.ul principal in : /usr/local/etc/apache24/httpd.conf.Deschidem httpd.conf si putem jongla cu ce dorim : ServerName www.lucicafarafrica.roListen 80 ... etc..Apoi adaugam apache24_enable="YES" in /etc/rc.conf . Restart : /usr/local/etc/rc.d/apache24 start Quote