Przeglądaj źródła

Standard overcommit

Bob Mottram 11 lat temu
rodzic
commit
439a56e29f
1 zmienionych plików z 4 dodań i 3 usunięć
  1. 4
    3
      beaglebone.txt

+ 4
- 3
beaglebone.txt Wyświetl plik

94
 /The power adapter is required to provide 5V over a 5.5mm outer diameter and 2.1mm inner diameter barrel connector (a barrel connector length of 9.5mm is more than sufficient). The recommended supply current is at least 1.2A (or 6W), but at least 2A (or 10W) is recommended if you are going to connect up anything over the USB./
94
 /The power adapter is required to provide 5V over a 5.5mm outer diameter and 2.1mm inner diameter barrel connector (a barrel connector length of 9.5mm is more than sufficient). The recommended supply current is at least 1.2A (or 6W), but at least 2A (or 10W) is recommended if you are going to connect up anything over the USB./
95
 #+END_VERSE
95
 #+END_VERSE
96
 
96
 
97
+The plug should be /centre positive/, meaning that the centre/tip is positive and the outer part is negative.
98
+
97
 ** An ethernet patch cable
99
 ** An ethernet patch cable
98
 
100
 
99
 Just an ordinary cat5 or cat6 cable that you can get from most electrical/computer stores.
101
 Just an ordinary cat5 or cat6 cable that you can get from most electrical/computer stores.
499
 #+BEGIN_SRC: bash
501
 #+BEGIN_SRC: bash
500
 #!/bin/bash
502
 #!/bin/bash
501
 
503
 
502
-# Don't fear the oom-killer
503
-echo 2 > /proc/sys/vm/overcommit_memory
504
-
505
 # Enable syn cookies
504
 # Enable syn cookies
506
 echo 1 > /proc/sys/net/ipv4/tcp_syncookies
505
 echo 1 > /proc/sys/net/ipv4/tcp_syncookies
507
 
506
 
4874
 Save and exit.
4873
 Save and exit.
4875
 
4874
 
4876
 #+BEGIN_SRC: bash
4875
 #+BEGIN_SRC: bash
4876
+chown -R schleuder:schleuder /var/lib/schleuder
4877
 update-exim4.conf.template -r
4877
 update-exim4.conf.template -r
4878
 update-exim4.conf
4878
 update-exim4.conf
4879
 service exim4 restart
4879
 service exim4 restart
4880
 useradd -d /var/schleuderlists -s /bin/false schleuder
4880
 useradd -d /var/schleuderlists -s /bin/false schleuder
4881
 adduser Debian-exim schleuder
4881
 adduser Debian-exim schleuder
4882
+usermod -a -G mail schleuder
4882
 #+END_SRC
4883
 #+END_SRC
4883
 
4884
 
4884
 Test the routing.
4885
 Test the routing.