Sfoglia il codice sorgente

Improving sequence

Bob Mottram 11 anni fa
parent
commit
b62996c9c0
1 ha cambiato i file con 34 aggiunte e 22 eliminazioni
  1. 34
    22
      beaglebone.txt

+ 34
- 22
beaglebone.txt Vedi File

1510
 ** Spam filtering
1510
 ** Spam filtering
1511
 
1511
 
1512
 #+BEGIN_SRC: bash
1512
 #+BEGIN_SRC: bash
1513
-apt-get install spamassassin exim4-daemon-heavy
1513
+aptitude install spamassassin exim4-daemon-heavy
1514
+#+END_SRC
1515
+
1516
+If you encounter any problems with dependencies then select 'n' and then 'y' to whatever the suggestion for removals is.  Repeat the aptitude install process until you don't get any more dependency errors.
1517
+
1518
+#+BEGIN_SRC: bash
1514
 editor /etc/default/spamassassin
1519
 editor /etc/default/spamassassin
1515
 #+END_SRC
1520
 #+END_SRC
1516
 
1521
 
2571
 set pgp_replyencrypt     # autocrypt replies to crypted
2576
 set pgp_replyencrypt     # autocrypt replies to crypted
2572
 set pgp_replysign        # autosign replies to signed
2577
 set pgp_replysign        # autosign replies to signed
2573
 set pgp_auto_decode=yes  # decode attachments
2578
 set pgp_auto_decode=yes  # decode attachments
2579
+
2580
+set alias_file=~/.mutt-alias
2581
+source ~/.mutt-alias
2582
+set query_command= "abook --mutt-query '%s'"
2583
+macro index,pager A "<pipe-message>abook --add-email-quiet<return>" "add the sender address to abook"
2574
 #+END_SRC
2584
 #+END_SRC
2575
 
2585
 
2576
 Save and exit.
2586
 Save and exit.
2585
 
2595
 
2586
 #+BEGIN_SRC: bash
2596
 #+BEGIN_SRC: bash
2587
 service spamassassin restart
2597
 service spamassassin restart
2588
-#+END_SRC
2589
-
2590
-Now to add an address book:
2591
-
2592
-#+BEGIN_SRC: bash
2593
-editor ~/.muttrc
2594
-#+END_SRC
2595
-
2596
-Append the following:
2597
-
2598
-#+BEGIN_SRC: bash
2599
-set alias_file=~/.mutt-alias
2600
-source ~/.mutt-alias
2601
-set query_command= "abook --mutt-query '%s'"
2602
-macro index,pager A "<pipe-message>abook --add-email-quiet<return>" "add the sender address to abook"
2603
-#+END_SRC
2604
-
2605
-Then save and exit.
2606
-
2607
-#+BEGIN_SRC: bash
2598
+exit
2599
+cp /etc/Muttrc ~/.muttrc
2608
 touch ~/.mutt-alias
2600
 touch ~/.mutt-alias
2609
 #+END_SRC
2601
 #+END_SRC
2610
 
2602
 
2675
 
2667
 
2676
 For maximum speed and efficiency the recommended email client is Mutt, accessed via ssh, but non-technical people who aren't using an Android app are unlikely to want to use email in that manner.  So it's a good idea to also have a webmail system installed, both for accessibility and as a fallback should ssh not be available due to port blocking.
2668
 For maximum speed and efficiency the recommended email client is Mutt, accessed via ssh, but non-technical people who aren't using an Android app are unlikely to want to use email in that manner.  So it's a good idea to also have a webmail system installed, both for accessibility and as a fallback should ssh not be available due to port blocking.
2677
 
2669
 
2670
+If you're not already logged in as root:
2671
+
2672
+#+BEGIN_SRC: bash
2673
+su
2674
+#+END_SRC
2675
+
2678
 Install dependencies.
2676
 Install dependencies.
2679
 
2677
 
2680
 #+BEGIN_SRC: bash
2678
 #+BEGIN_SRC: bash
2681
-apt-get install libapache2-mod-authz-unixgroup
2679
+apt-get install mysql-server libapache2-mod-authz-unixgroup
2682
 #+END_SRC
2680
 #+END_SRC
2683
 
2681
 
2684
 Create a mysql database, specifying a password which should be a long random string generated with a password manager such as KeepassX.
2682
 Create a mysql database, specifying a password which should be a long random string generated with a password manager such as KeepassX.
6418
 *** Cubieboard
6416
 *** Cubieboard
6419
 #+BEGIN_SRC: bash
6417
 #+BEGIN_SRC: bash
6420
 deb http://http.debian.net/debian/ wheezy main contrib non-free
6418
 deb http://http.debian.net/debian/ wheezy main contrib non-free
6419
+deb-src http://http.debian.net/debian/ wheezy main contrib non-free
6420
+
6421
+deb http://http.debian.net/debian/ wheezy-updates main contrib non-free
6422
+deb-src http://http.debian.net/debian/ wheezy-updates main contrib non-free
6423
+
6421
 deb http://http.debian.net/debian/ wheezy-backports main contrib non-free
6424
 deb http://http.debian.net/debian/ wheezy-backports main contrib non-free
6425
+deb-src http://http.debian.net/debian/ wheezy-backports main contrib non-free
6426
+
6422
 deb http://security.debian.org/ wheezy/updates main contrib non-free
6427
 deb http://security.debian.org/ wheezy/updates main contrib non-free
6428
+deb-src http://security.debian.org/ wheezy/updates main contrib non-free
6429
+
6423
 deb http://mirrors.sohu.com/debian/ wheezy main contrib non-free
6430
 deb http://mirrors.sohu.com/debian/ wheezy main contrib non-free
6431
+deb-src http://mirrors.sohu.com/debian/ wheezy main contrib non-free
6432
+
6424
 deb http://packages.cubian.org/ wheezy main non-free
6433
 deb http://packages.cubian.org/ wheezy main non-free
6434
+deb-src http://packages.cubian.org/ wheezy main non-free
6435
+
6425
 deb http://repo.ajenti.org/debian main main debian
6436
 deb http://repo.ajenti.org/debian main main debian
6437
+deb-src http://repo.ajenti.org/debian main main debian
6426
 #+END_SRC
6438
 #+END_SRC
6427
 
6439
 
6428
 ** Messaging security
6440
 ** Messaging security