APACHE 2 vhosts:
ServerAdmin admin@local
#ServerAlias local
ServerName yo.ru
DocumentRoot /var/www
ErrorLog /var/www/logs/error_httpd.log
# alert, emerg.
LogLevel debug
CustomLog /var/www/logs/customlog.log combined
NGINX :.
user nobody;
worker_processes 2;
server {
listen 80;
server_name yo.ru;
access_log /var/www/logs/yo.access_log;
error_log /var/www/logs/yo.error_log warn;
charset utf-8;
client_max_body_size 1m;
ssi on;
ssi_value_length 1024;
set $www_root "/var/www";
location / {
proxy_pass http://127.0.0.1:9999;
proxy_set_header X-Real-IP $remote_addr;
proxy_intercept_errors off;
proxy_read_timeout 5s; # Обратите внимание, здесь мы переопределили глобальную настройку, заданную выше
proxy_send_timeout 3s;
gzip on;
gzip_min_length 1024;
gzip_proxied expired no-cache no-store private auth;
gzip_types text/plain application/xml;
}
location /var/www {
root $www_root;
}
}
BIND9:
named.conf:
options {
directory "/var/named";
pid-file "/var/run/named/pid";
dump-file "/var/dump/named_dump.db";
statistics-file "/var/stats/named.stats";
listen-on {
127.0.0.1;
};
allow-recursion{
127.0.0.1;
};
recursive-clients 30000;
};
acl "trusted-dns"{
127.0.0.1;
};
logging {
category lame-servers { null; };
};
zone "." {
type hint;
file "named.root";
};
zone "0.0.127.IN-ADDR.ARPA" {
type master;
file "localhost.rev";
};
zone "154.46.78.IN-ADDR.ARPA" {
type master;
file "any.rev";
};
zone "any.ru" {
type master;
file "any.zone";
};
key "rndckey" {
algorithm hmac-md5;
secret "p3l5E54iYGmAINAELXyIag==";
};
controls {
inet 127.0.0.1 port 953
allow { 127.0.0.1; } keys { "rndckey"; };
};
zones:
$TTL 3600
@ IN SOA any.ru. admin (
201205011;
3600;
3600;
604800;
86400);
ns1 IN A 78.46.114.117
mail IN A 78.46.114.117
@ IN NS ns1
@ IN MX 10 mail
@ IN A 78.46.114.117
www IN CNAME @
$TTL 1d ;
$ORIGIN 154.46.78.IN-ADDR.ARPA.
@ IN SOA ns1.anyavia.ru. admin (
20120501;
12h;
15m;
3w;
3h;
)
IN NS ns1.anyavia.ru.
117 IN PTR www.any.ru.
117 IN PTR any.ru.
$TTL 1D
$ORIGIN localhost.
@ IN SOA @ root (
1 ; Serial
8H ; Refresh
15M ; Retry
1W ; Expire
1D) ; Minimum TTL
IN NS @
IN A 127.0.0.1
$TTL 1D
$ORIGIN 0.0.127.in-addr.arpa.
@ IN SOA localhost. root.localhost. (
1 ; serial
8H ; refresh
15M ; retry
1W ; expire
1D) ; minimum
IN NS localhost.
1 IN PTR localhost.
A.ROOT-SERVERS.NET. 3600000 A 198.41.0.4
;
; formerly NS1.ISI.EDU
;
. 3600000 NS B.ROOT-SERVERS.NET.
B.ROOT-SERVERS.NET. 3600000 A 192.228.79.201
;
; formerly C.PSI.NET
;
. 3600000 NS C.ROOT-SERVERS.NET.
C.ROOT-SERVERS.NET. 3600000 A 192.33.4.12
;
; formerly TERP.UMD.EDU
;
. 3600000 NS D.ROOT-SERVERS.NET.
D.ROOT-SERVERS.NET. 3600000 A 128.8.10.90
;
; formerly NS.NASA.GOV
;
. 3600000 NS E.ROOT-SERVERS.NET.
E.ROOT-SERVERS.NET. 3600000 A 192.203.230.10
;
; formerly NS.ISC.ORG
;
. 3600000 NS F.ROOT-SERVERS.NET.
F.ROOT-SERVERS.NET. 3600000 A 192.5.5.241
;
; formerly NS.NIC.DDN.MIL
;
. 3600000 NS G.ROOT-SERVERS.NET.
G.ROOT-SERVERS.NET. 3600000 A 192.112.36.4
;
; formerly AOS.ARL.ARMY.MIL
;
. 3600000 NS H.ROOT-SERVERS.NET.
H.ROOT-SERVERS.NET. 3600000 A 128.63.2.53
;
; formerly NIC.NORDU.NET
;
. 3600000 NS I.ROOT-SERVERS.NET.
I.ROOT-SERVERS.NET. 3600000 A 192.36.148.17
J.ROOT-SERVERS.NET. 3600000 A 192.58.128.30
;
; operated by RIPE NCC
;
. 3600000 NS K.ROOT-SERVERS.NET.
K.ROOT-SERVERS.NET. 3600000 A 193.0.14.129
;
; operated by ICANN
;
. 3600000 NS L.ROOT-SERVERS.NET.
L.ROOT-SERVERS.NET. 3600000 A 198.32.64.12
;
; operated by WIDE
;
. 3600000 NS M.ROOT-SERVERS.NET.
M.ROOT-SERVERS.NET. 3600000 A 202.12.27.33
; End of File
MEMCACHED:
vim /etc/sysconfig/memcached
OPTIONS="-l 127.0.0.1"
yum -y install php-pecl-memcache
phpunit:
peardev channel-discover pear.phpunit.de
peardev upgrade PEAR
peardev install -a phpunit/PHPUnit
5 комментариев:
[url=http://buycialisonlineovernight.com/#gnirrv.blogspot.com]buy generic cialis[/url] - buy cialis online , http://buycialisonlineovernight.com/#wnirrv.blogspot.com generic cialis
Blending nicely with everything from jeans and a tee-shirt to a crisp linen suit to a cream-colored sheath, this 24-hour Gucci purse will take you from the office to a dinner party to the weekend in easy, breezy style.. [url=http://www.latestbagsdesign.com/]gucci usa[/url] vkgmdfn [url=http://www.cheapbagswholesalesd.com/]moncler coats[/url] ugzkasa [url=http://www.fashionjacketsonline.com/]chanel handbag[/url]
com (US and International). [url=http://www.fashionwinterbootss.com/]ugg boots sale[/url] My mom was visiting last week and she asked me what my favorite Christmas gift was when I was a child. [url=http://www.fashionwinterbootss.com/]http://www.fashionwinterbootss.com[/url] The answer is certainly. [url=http://www.outletnorthfacejacketse.com/]north face jackets[/url] I look for fashion inspiration when in France, especially. [url=http://www.hairstraightenerse.com/]http://www.hairstraightenerse.com[/url] If they see it every day while they out on the playground.
The need keep increasing and marketplaces keep flooding together. [url=http://www.uggbootwholesalecheapd.com/]uggs outlet[/url] Helix. [url=http://www.hairstraightenerse.com/]http://www.hairstraightenerse.com[/url] users load up a Meebo room, they stay in it for thirteen minutes. [url=http://www.cheapnorthfacejacketsab.com/]the north face[/url] Our wholesale jewelry at closeout prices are the trendiest styles from our collections of rings.. [url=http://www.hairstraightenerse.com/]ghd hair straighteners[/url] It explains the New York State Tuition Assistance Program (TAP) that can provide an additional $5000 a year to qualified students.
http://jockinsrinti.tk/ind/anketa87247.htm Проститутки M. Ясенево - Индивидуалка Сильвия, Район North, +7 (965) 163-27-69
http://lippprinpere.tk/ind/anketa76772.htm Проститутки M. Кутузовская - Индивидуалка Лиза, +7 (963) 624-66-29
http://congbachessne.tk/ind/anketa87608.htm Проститутки M. Ленинский проспект - Индивидуалка ЖАННА, Район ЮГО-ЗАПАДНЫЙ, +7 (963) 630-12-72
http://nemoroomar.tk/mass/anketa86087.htm Массажистка Ксения, M. Курская - Район Басманный, +7 (965) 198-89-69
http://jockinsrinti.tk/comments/anketa/78240 Отзывы о девушке ОЛЬГА, Санкт-Петербург, (911)2988530
Отправить комментарий