You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
curl http://sysoev.ru/nginx/nginx-0.7.62.tar.gz | tar xvz
gem install passenger
passenger-install-nginx-module
Prompts:
"Automatically download and install Nginx?": 2
"Where is your Nginx source code located?": /root/src/nginx-0.7.62
"Where do you want to install Nginx to?": /usr/local/nginx
"Extra Nginx configure options": --sbin-path=/usr/local/sbin --with-http_ssl_module
integrity migrate_db config.yml
mkdir public
sudo /etc/init.d/nginx reload
Rip
cd /usr/local/src
sudo git clone git://github.com/defunkt/rip.git
cd rip
sudo ruby setup.rb
sudo chown -R ci:ci ~/.rip
Git
sudo -i
cd /usr/local/src
aptitude install tcl8.4 tk8.4
curl http://kernel.org/pub/software/scm/git/git-1.6.5.1.tar.gz | tar zxv
cd git-1.6.5.1/
./configure
make
make install
sudo apt-get install bind9 dnsutils
sudo vi /etc/bind/named.conf.local
zone "grays.local" {
type master;
file "/etc/bind/db.grays.local";
};
zone "0.42.10.in-addr.arpa" {
type master;
file "/etc/bind/rev.0.42.10.in-addr.arpa";
};
sudo vi /etc/bind/db.grays.local
$TTL 604800
@ IN SOA ns.grays.local. admin.grays.local. (
1 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
;
@ IN NS ns.grays.local.
@ IN A 10.42.0.1
fiona IN A 10.42.0.1
sudo vi /etc/bind/rev.0.42.10.in-addr.arpa
$TTL 604800
@ IN SOA ns.grays.local. admin.grays.local. (
1 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
;
@ IN NS ns.
1 IN PTR ns.grays.local.
sudo /etc/init.d/bind9 restart
vi /etc/resolv.conf
We're not actually doing this. I couldn't get it work without jumping through
hoops on the clients. Intead, just manually configure 10.42.0.1 as a nameserver on the clients
sudo vi /etc/openvpn/server.conf
push "dhcp-option DNS 10.42.0.1"
push "dhcp-option DNS 208.67.222.222"
push "dhcp-option DNS 208.67.220.220"
sudo -i
cd /usr/local/src
curl http://redis.googlecode.com/files/redis-1.2.5.tar.gz | tar zxv
cd redis-1.2.5
make
cp redis-server /usr/local/bin/
cp redis-cli /usr/local/bin/
Install redis.conf to /etc/redis.conf
sudo cp utils/redis_init_script /etc/init.d/redis-server
vi /etc/init.d/redis-server
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters