瀏覽代碼

Add backports

Bob Mottram 11 年之前
父節點
當前提交
fec6c15695
共有 1 個檔案被更改,包括 9 行新增3 行删除
  1. 9
    3
      beaglebone.txt

+ 9
- 3
beaglebone.txt 查看文件

294
 
294
 
295
 To verify that the swapfile is accessilble type /top/ and look for the line which begins with "KiB Swap".  Probably there will be zero bytes used, but this might be non-zero when the system is under some load (for example getting a lot of web views or being crawled by a search engine).  CTRL-C exits from the /top/ command.
295
 To verify that the swapfile is accessilble type /top/ and look for the line which begins with "KiB Swap".  Probably there will be zero bytes used, but this might be non-zero when the system is under some load (for example getting a lot of web views or being crawled by a search engine).  CTRL-C exits from the /top/ command.
296
 
296
 
297
+** Enable backports
298
+
299
+To enable some newer packages add backports to the repositories.
300
+
301
+#+BEGIN_SRC
302
+echo "deb http://ftp.us.debian.org/debian wheezy-backports main" >> /etc/apt/sources.list
303
+apt-get update
304
+#+END_SRC
305
+
297
 ** Random number generation
306
 ** Random number generation
298
 
307
 
299
 #+BEGIN_VERSE
308
 #+BEGIN_VERSE
3093
 #+END_VERSE
3102
 #+END_VERSE
3094
 
3103
 
3095
 #+BEGIN_SRC: bash
3104
 #+BEGIN_SRC: bash
3096
-echo "deb http://ftp.us.debian.org/debian wheezy-backports main" >> /etc/apt/sources.list
3097
-apt-get update
3098
 apt-get install nodejs-legacy
3105
 apt-get install nodejs-legacy
3099
 curl https://npmjs.org/install.sh | sh
3106
 curl https://npmjs.org/install.sh | sh
3100
 #+END_SRC
3107
 #+END_SRC
3326
 
3333
 
3327
 Save and exit.
3334
 Save and exit.
3328
 
3335
 
3329
-
3330
 ** Install a VoIP server
3336
 ** Install a VoIP server
3331
 
3337
 
3332
 #+BEGIN_VERSE
3338
 #+BEGIN_VERSE