source: 2.0/install-manual.txt@ 8637

Last change on this file since 8637 was 7318, checked in by richardvm, 15 years ago

proxy kookboek

File size: 2.1 KB
Line 
1Beetje cryptisch, moet nog omgezet worden in een volwaardig kookboek
2--------------------------------------------------------------------
3
4
5minimal install
6/etc/ttys - ttyv? s/on/off/g
7
8networking
9sshd_enable - allow root
10
11/etc/rc.conf
12hostname="proxy0.wleidennet"
13sendmail_enable="NONE"
14
15/usr/sbin/sysinstall
16configure - packages - ftp
17
18pkg_add -r vim
19pkg_add -r screen
20
21
22pkg_add -r bind9
23rndc-confgen -a
24touch /etc/named/slave/slave-wleiden.net
25chmod g+w /var/named/etc/namedb/ the working directory is not writable
26
27vi /etc/namedb/named.conf
28 s/ listen-on { 127.0.0.1; }; / \/\/ listen-on { 127.0.0.1; }; /
29 // s/ // listen-on-v6 { ::1; }; / listen-on-v6 { none; };
30 s/ verwijder comments om forwarder /* */
31 s/ /forwarder/ s/127.0.0.1/195.241.77.55/ *
32 s/ /zone "."/ s/^/^\/\/
33 add bottom {
34zone "wleiden.net" {
35 type slave;
36 file "slave/slave-wleiden.net";
37 masters {
38 82.95.180.27;
39 };
40};
41
42 }
43
44 /etc/resolve.conf:
45 search wleiden.net
46 nameserver 127.0.0.1
47
48 /etc/rc.conf
49 named_enable="YES"
50
51
52
53
54fetch http://svn.wirelessleiden.nl/svn/node-config/genesis/nodes/global_keys
55mv global_keys .ssh/authorized_keys
56
57
58pkg_add -r apache22
59
60vi /etc/hosts
61 add: 127.0.0.1 proxy0 proxy0.wleiden.net
62
63vi /uss/local/etc/apache/httpd.conf
64 /^ServerAdmin/ s/you@example.com/techniek@lijst.wirelessleiden.nl/g
65 /^#BindAddress/ s/^#//g
66 /^Listen/ s/?/Listen <ip>:3128/g
67 /^ServerName/ s/?/ServerName <hostname>/g
68 /^DocumentRoot/ s/?/^DocumentRoot \"/dev/null\" /
69
70 comment out <Directory "/usr/local/wwww/data"> ..\n\n\ </directory>a
71
72commen out
73<IfModule mod_userdir.c>
74</IfModule>
75<IfModule mod_dir.c>
76</IfModule>
77<IfModule mod_alias.c>
78</IfModule>
79<IfModule mod_autoindex.c>
80</IfModule>
81<IfModule mod_mime.c>
82</IfModule>
83
84
85 bottm:
86 ProxyRequests On
87 ProxyVia On
88 AllowCONNECT 443
89
90vi /etc/rc.conf
91 add: apache_enable="YES"
92
93
94vi /etc/ntp.conf
95add:
96server 0.nl.pool.ntp.org
97server 1.nl.pool.ntp.org
98server 2.nl.pool.ntp.org
99server 3.nl.pool.ntp.org
100
101driftfile /var/db/ntp.drift
102
103vi /etc/rc.conf
104ntpd_enable="YES"
105
Note: See TracBrowser for help on using the repository browser.