Difference between pages "Package:Varnish" and "Install/Media"

From Funtoo
(Difference between pages)
Jump to navigation Jump to search
m (update since package had broken previous configuration syntax, and setup.)
 
m (make the page less of a carnival.)
 
Line 1: Line 1:
{{Ebuild
== Install Media ==
|Summary=Varnish is a state-of-the-art, high-performance HTTP accelerator
Most any live or minimal install media iso images can install funtoo.  Funtoo suggests sysrescuecd.  Images may be burned to cd, or loaded on a usb thumb drive by either dd or unetbootinUnetbootin has linux, windows, and mac binaries so anyone can install funtoo from live usb media.
|CatPkg=www-servers/varnish
|Maintainer=
}}
__TOC__
'''Varnish''' is a webcache & http acceleratorVarnish will either serve cached content, or retireve content from the server, and cache it.  Varnish will reduce I/O pressure from webservers.


==Install==
{|class="wikitable"
===Emerge===
! style="text-align:left;"|distro
! gui
! uefi support
! unetbootin support
! architecture specific
! notes
|-
|[http://www.sysresccd.org/Download Sysrescuecd]
|yes
|yes
|no
|no
|recommended media
|-
|[http://www.ubuntu.com/download/desktop Ubuntu]
|yes
|unknown
|yes
|yes
|must download specific architecture
|-
|[https://www.debian.org/CD/live/ Debian]
|yes
|unknown
|yes
|yes
|must download specific architecture
|-
|[https://fedoraproject.org/wiki/FedoraLiveCD Fedora]
|yes
|unknown
|yes
|yes
|untested
|-
|[http://wiki.centos.org/Download CentOS]
|yes
|unknown
|yes
|yes
|untested
|-
|[https://get.gentoo.org/ Gentoo minimal install]
|no
|unknown
|probably
|yes
|must download specific architecture
|-
|}


Install {{Package|www-servers/varnish}}
i [[User:Threesixes|Threesixes]] ([[User talk:Threesixes|talk]]) suggest we target top 10 distros live media setups.... http://distrowatch.com/dwres.php?resource=popularity  not sure if there is a unetbootin page or not
<console>###i## www-servers/varnish</console>
 
==Configuration==
 
Configuration is controlled by /etc/varnish/default.vcl & /etc/conf.d/varnishd
 
{{file|name=/etc/varnish/default.vcl|desc=varnish configuration file|body=
vcl 4.0;
backend default {
    .host = "127.0.0.1";
    .port = "8080";
}
}}
 
{{file|name=/etc/conf.d/varnishd|desc=varnish configuration file|body=
VARNISHD="/usr/sbin/varnishd"
VARNISHADM="/usr/bin/varnishadm"
CONFIGFILE="/etc/varnish/default.vcl"
VARNISHD_OPTS="-a 127.0.0.1:80"
VARNISHD_OPTS="${VARNISHD_OPTS} -u varnish -g varnish"
}}
 
Varnish will fetch data from localhost:8080 and serve accelerated proxy data on localhost:80
 
== BootService ==
 
To start varnish immediately:
<console>###i## rc-service varnishd start</console>
 
To start varnish at boot:
<console>###i## rc-update add varnishd default</console>
 
== Verification ==
To verify that your traffic is going through varnish.
<console>$##i## curl -I https://www.varnish-cache.org/</console>
 
[[Category:Server]]
[[Category:Daemons]]
 
{{EbuildFooter}}

Revision as of 23:39, December 17, 2014

Install Media

Most any live or minimal install media iso images can install funtoo. Funtoo suggests sysrescuecd. Images may be burned to cd, or loaded on a usb thumb drive by either dd or unetbootin. Unetbootin has linux, windows, and mac binaries so anyone can install funtoo from live usb media.

distro gui uefi support unetbootin support architecture specific notes
Sysrescuecd yes yes no no recommended media
Ubuntu yes unknown yes yes must download specific architecture
Debian yes unknown yes yes must download specific architecture
Fedora yes unknown yes yes untested
CentOS yes unknown yes yes untested
Gentoo minimal install no unknown probably yes must download specific architecture

i Threesixes (talk) suggest we target top 10 distros live media setups.... http://distrowatch.com/dwres.php?resource=popularity not sure if there is a unetbootin page or not