瀏覽代碼

Use a build directory

Bob Mottram 11 年之前
父節點
當前提交
ce44544b42
共有 1 個文件被更改,包括 33 次插入17 次删除
  1. 33
    17
      beaglebone.txt

+ 33
- 17
beaglebone.txt 查看文件

@@ -416,7 +416,8 @@ echo "export TZ='Europe/London'" >> /home/myusername/.bashrc
416 416
 Using a more recent kernel should improve stability of the system and also allow it to make use of hardware random number generation, which improves the overall security.  Please note that this kernel is specific to the BBB, so if you're using a Raspberry Pi, Cubieboard or other SBC then look elsewhere on the web for information about upgrading the kernel.
417 417
 
418 418
 #+BEGIN_SRC: bash
419
-cd /tmp
419
+mkdir ~/build
420
+cd ~/build
420 421
 wget http://freedombone.uk.to/kernel-3.14.tar.gz
421 422
 #+END_SRC
422 423
 
@@ -665,7 +666,8 @@ apt-get install git build-essential libgcrypt11-dev texinfo
665 666
 Download the source code.
666 667
 
667 668
 #+BEGIN_SRC: bash
668
-cd /tmp
669
+mkdir ~/build
670
+cd ~/build
669 671
 git clone https://github.com/bashrc/hashlet.git
670 672
 #+END_SRC
671 673
 
@@ -2794,7 +2796,8 @@ quit
2794 2796
 Download roundcube.
2795 2797
 
2796 2798
 #+BEGIN_SRC: bash
2797
-cd /tmp
2799
+mkdir ~/build
2800
+cd ~/build
2798 2801
 wget http://freedombone.uk.to/roundcubemail.tar.gz
2799 2802
 #+END_SRC
2800 2803
 
@@ -3162,7 +3165,8 @@ See the [[Setting up a web site]] section of this document for details of how to
3162 3165
 Download flatpress.
3163 3166
 
3164 3167
 #+BEGIN_SRC: bash
3165
-cd /tmp
3168
+mkdir ~/build
3169
+cd ~/build
3166 3170
 wget http://freedombone.uk.to/flatpress.tar.gz
3167 3171
 #+END_SRC
3168 3172
 
@@ -3210,7 +3214,8 @@ apt-get install build-essential openssl libssl-dev debhelper dpatch docbook-to-m
3210 3214
 Then get the source code for ircd-hybrid.
3211 3215
 
3212 3216
 #+BEGIN_SRC: bash
3213
-cd /tmp
3217
+mkdir ~/build
3218
+cd ~/build
3214 3219
 wget http://freedombone.uk.to/ircd-hybrid-8.1.17.tgz
3215 3220
 #+END_SRC
3216 3221
 
@@ -3367,7 +3372,8 @@ service ircd-hybrid start
3367 3372
 To to install channel management tools.
3368 3373
 
3369 3374
 #+BEGIN_SRC: bash
3370
-cd /tmp
3375
+mkdir ~/build
3376
+cd ~/build
3371 3377
 wget http://freedombone.uk.to/hybserv_1.9.4-1_armhf.deb
3372 3378
 #+END_SRC
3373 3379
 
@@ -4286,7 +4292,8 @@ service apache2 restart
4286 4292
 Download the source.
4287 4293
 
4288 4294
 #+BEGIN_SRC: bash
4289
-cd /tmp
4295
+mkdir ~/build
4296
+cd ~/build
4290 4297
 wget http://freedombone.uk.to/movim.tar.gz
4291 4298
 #+END_SRC
4292 4299
 
@@ -4582,7 +4589,8 @@ apt-get install build-essential openssl libssl-dev redis-server imagemagick grap
4582 4589
 Download nodejs
4583 4590
 
4584 4591
 #+BEGIN_SRC: bash
4585
-cd /tmp
4592
+mkdir ~/build
4593
+cd ~/build
4586 4594
 wget http://freedombone.uk.to/node_0.10.28-1_armhf.deb
4587 4595
 #+END_SRC
4588 4596
 
@@ -4663,8 +4671,9 @@ chmod -R 777 /opt
4663 4671
 Patch the version of Apache.
4664 4672
 
4665 4673
 #+BEGIN_SRC: bash
4666
-mkdir /tmp/apache2
4667
-cd /tmp/apache2
4674
+mkdir ~/build
4675
+mkdir ~/build/apache2
4676
+cd ~/build/apache2
4668 4677
 apt-get build-dep apache2
4669 4678
 apt-get install autoconf
4670 4679
 apt-get source apache2
@@ -4846,7 +4855,8 @@ To set up a gopher server:
4846 4855
 
4847 4856
 #+BEGIN_SRC: bash
4848 4857
 apt-get install build-essential
4849
-cd /tmp
4858
+mkdir ~/build
4859
+cd ~/build
4850 4860
 wget http://freedombone.uk.to/geomyidae-current.tgz
4851 4861
 #+END_SRC
4852 4862
 
@@ -5264,7 +5274,8 @@ service apache2 restart
5264 5274
 Download owncloud.
5265 5275
 
5266 5276
 #+BEGIN_SRC: bash
5267
-cd /tmp
5277
+mkdir ~/build
5278
+cd ~/build
5268 5279
 wget http://freedombone.uk.to/owncloud.tar.bz2
5269 5280
 #+END_SRC
5270 5281
 
@@ -5326,7 +5337,8 @@ Dokuwiki is based upon flat files, and so is easy to move from one server to ano
5326 5337
 Download the wiki.
5327 5338
 
5328 5339
 #+BEGIN_SRC: bash
5329
-cd /tmp
5340
+mkdir ~/build
5341
+cd ~/build
5330 5342
 wget http://freedombone.uk.to/dokuwiki.tgz
5331 5343
 #+END_SRC
5332 5344
 
@@ -5582,7 +5594,8 @@ Install from the current source code.
5582 5594
 
5583 5595
 #+BEGIN_SRC: bash
5584 5596
 apt-get install python screen
5585
-cd /tmp
5597
+mkdir ~/build
5598
+cd ~/build
5586 5599
 git clone https://github.com/Bitmessage/PyBitmessage.git
5587 5600
 cd PyBitmessage
5588 5601
 make install
@@ -5739,7 +5752,8 @@ Although in principle it would be possible to send Bitmessages directly from the
5739 5752
 The easiest way to install the client is either to download it from [[https://bitmessage.org][bitmessage.org]] or to get the latest build from Github as follows:
5740 5753
 
5741 5754
 #+BEGIN_SRC: bash
5742
-cd /tmp
5755
+mkdir ~/build
5756
+cd ~/build
5743 5757
 git clone https://github.com/Bitmessage/PyBitmessage.git
5744 5758
 cd PyBitmessage
5745 5759
 make install
@@ -6259,7 +6273,8 @@ apt-get install php5-xcache php-gettext php5-curl php5-gd php5-mysql
6259 6273
 Download GNU Social
6260 6274
 
6261 6275
 #+BEGIN_SRC: bash
6262
-cd /tmp
6276
+mkdir ~/build
6277
+cd ~/build
6263 6278
 wget http://freedombone.uk.to/gnu-social.tar.gz
6264 6279
 #+END_SRC
6265 6280
 
@@ -6603,7 +6618,8 @@ For this you will need to set up a new subdomain and create a new Apache configu
6603 6618
 
6604 6619
 #+BEGIN_SRC: bash
6605 6620
 adduser --disabled-login zerobin
6606
-cd /tmp
6621
+mkdir ~/build
6622
+cd ~/build
6607 6623
 git clone https://github.com/sametmax/0bin.git
6608 6624
 cd 0bin
6609 6625
 python setup.py install