Rev | Line | |
---|
[7318] | 1 | Beetje cryptisch, moet nog omgezet worden in een volwaardig kookboek
|
---|
| 2 | --------------------------------------------------------------------
|
---|
| 3 |
|
---|
| 4 |
|
---|
| 5 | minimal install
|
---|
| 6 | /etc/ttys - ttyv? s/on/off/g
|
---|
| 7 |
|
---|
| 8 | networking
|
---|
| 9 | sshd_enable - allow root
|
---|
| 10 |
|
---|
| 11 | /etc/rc.conf
|
---|
| 12 | hostname="proxy0.wleidennet"
|
---|
| 13 | sendmail_enable="NONE"
|
---|
| 14 |
|
---|
| 15 | /usr/sbin/sysinstall
|
---|
| 16 | configure - packages - ftp
|
---|
| 17 |
|
---|
| 18 | pkg_add -r vim
|
---|
| 19 | pkg_add -r screen
|
---|
| 20 |
|
---|
| 21 |
|
---|
| 22 | pkg_add -r bind9
|
---|
| 23 | rndc-confgen -a
|
---|
| 24 | touch /etc/named/slave/slave-wleiden.net
|
---|
| 25 | chmod g+w /var/named/etc/namedb/ the working directory is not writable
|
---|
| 26 |
|
---|
| 27 | vi /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 {
|
---|
| 34 | zone "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 |
|
---|
| 54 | fetch http://svn.wirelessleiden.nl/svn/node-config/genesis/nodes/global_keys
|
---|
| 55 | mv global_keys .ssh/authorized_keys
|
---|
| 56 |
|
---|
| 57 |
|
---|
| 58 | pkg_add -r apache22
|
---|
| 59 |
|
---|
| 60 | vi /etc/hosts
|
---|
| 61 | add: 127.0.0.1 proxy0 proxy0.wleiden.net
|
---|
| 62 |
|
---|
| 63 | vi /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 |
|
---|
| 72 | commen 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 |
|
---|
| 90 | vi /etc/rc.conf
|
---|
| 91 | add: apache_enable="YES"
|
---|
| 92 |
|
---|
| 93 |
|
---|
| 94 | vi /etc/ntp.conf
|
---|
| 95 | add:
|
---|
| 96 | server 0.nl.pool.ntp.org
|
---|
| 97 | server 1.nl.pool.ntp.org
|
---|
| 98 | server 2.nl.pool.ntp.org
|
---|
| 99 | server 3.nl.pool.ntp.org
|
---|
| 100 |
|
---|
| 101 | driftfile /var/db/ntp.drift
|
---|
| 102 |
|
---|
| 103 | vi /etc/rc.conf
|
---|
| 104 | ntpd_enable="YES"
|
---|
| 105 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.