Pārlūkot izejas kodu

Use a build directory

Bob Mottram 11 gadus atpakaļ
vecāks
revīzija
ce44544b42
1 mainītis faili ar 33 papildinājumiem un 17 dzēšanām
  1. 33
    17
      beaglebone.txt

+ 33
- 17
beaglebone.txt Parādīt failu

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.
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
 #+BEGIN_SRC: bash
418
 #+BEGIN_SRC: bash
419
-cd /tmp
419
+mkdir ~/build
420
+cd ~/build
420
 wget http://freedombone.uk.to/kernel-3.14.tar.gz
421
 wget http://freedombone.uk.to/kernel-3.14.tar.gz
421
 #+END_SRC
422
 #+END_SRC
422
 
423
 
665
 Download the source code.
666
 Download the source code.
666
 
667
 
667
 #+BEGIN_SRC: bash
668
 #+BEGIN_SRC: bash
668
-cd /tmp
669
+mkdir ~/build
670
+cd ~/build
669
 git clone https://github.com/bashrc/hashlet.git
671
 git clone https://github.com/bashrc/hashlet.git
670
 #+END_SRC
672
 #+END_SRC
671
 
673
 
2794
 Download roundcube.
2796
 Download roundcube.
2795
 
2797
 
2796
 #+BEGIN_SRC: bash
2798
 #+BEGIN_SRC: bash
2797
-cd /tmp
2799
+mkdir ~/build
2800
+cd ~/build
2798
 wget http://freedombone.uk.to/roundcubemail.tar.gz
2801
 wget http://freedombone.uk.to/roundcubemail.tar.gz
2799
 #+END_SRC
2802
 #+END_SRC
2800
 
2803
 
3162
 Download flatpress.
3165
 Download flatpress.
3163
 
3166
 
3164
 #+BEGIN_SRC: bash
3167
 #+BEGIN_SRC: bash
3165
-cd /tmp
3168
+mkdir ~/build
3169
+cd ~/build
3166
 wget http://freedombone.uk.to/flatpress.tar.gz
3170
 wget http://freedombone.uk.to/flatpress.tar.gz
3167
 #+END_SRC
3171
 #+END_SRC
3168
 
3172
 
3210
 Then get the source code for ircd-hybrid.
3214
 Then get the source code for ircd-hybrid.
3211
 
3215
 
3212
 #+BEGIN_SRC: bash
3216
 #+BEGIN_SRC: bash
3213
-cd /tmp
3217
+mkdir ~/build
3218
+cd ~/build
3214
 wget http://freedombone.uk.to/ircd-hybrid-8.1.17.tgz
3219
 wget http://freedombone.uk.to/ircd-hybrid-8.1.17.tgz
3215
 #+END_SRC
3220
 #+END_SRC
3216
 
3221
 
3367
 To to install channel management tools.
3372
 To to install channel management tools.
3368
 
3373
 
3369
 #+BEGIN_SRC: bash
3374
 #+BEGIN_SRC: bash
3370
-cd /tmp
3375
+mkdir ~/build
3376
+cd ~/build
3371
 wget http://freedombone.uk.to/hybserv_1.9.4-1_armhf.deb
3377
 wget http://freedombone.uk.to/hybserv_1.9.4-1_armhf.deb
3372
 #+END_SRC
3378
 #+END_SRC
3373
 
3379
 
4286
 Download the source.
4292
 Download the source.
4287
 
4293
 
4288
 #+BEGIN_SRC: bash
4294
 #+BEGIN_SRC: bash
4289
-cd /tmp
4295
+mkdir ~/build
4296
+cd ~/build
4290
 wget http://freedombone.uk.to/movim.tar.gz
4297
 wget http://freedombone.uk.to/movim.tar.gz
4291
 #+END_SRC
4298
 #+END_SRC
4292
 
4299
 
4582
 Download nodejs
4589
 Download nodejs
4583
 
4590
 
4584
 #+BEGIN_SRC: bash
4591
 #+BEGIN_SRC: bash
4585
-cd /tmp
4592
+mkdir ~/build
4593
+cd ~/build
4586
 wget http://freedombone.uk.to/node_0.10.28-1_armhf.deb
4594
 wget http://freedombone.uk.to/node_0.10.28-1_armhf.deb
4587
 #+END_SRC
4595
 #+END_SRC
4588
 
4596
 
4663
 Patch the version of Apache.
4671
 Patch the version of Apache.
4664
 
4672
 
4665
 #+BEGIN_SRC: bash
4673
 #+BEGIN_SRC: bash
4666
-mkdir /tmp/apache2
4667
-cd /tmp/apache2
4674
+mkdir ~/build
4675
+mkdir ~/build/apache2
4676
+cd ~/build/apache2
4668
 apt-get build-dep apache2
4677
 apt-get build-dep apache2
4669
 apt-get install autoconf
4678
 apt-get install autoconf
4670
 apt-get source apache2
4679
 apt-get source apache2
4846
 
4855
 
4847
 #+BEGIN_SRC: bash
4856
 #+BEGIN_SRC: bash
4848
 apt-get install build-essential
4857
 apt-get install build-essential
4849
-cd /tmp
4858
+mkdir ~/build
4859
+cd ~/build
4850
 wget http://freedombone.uk.to/geomyidae-current.tgz
4860
 wget http://freedombone.uk.to/geomyidae-current.tgz
4851
 #+END_SRC
4861
 #+END_SRC
4852
 
4862
 
5264
 Download owncloud.
5274
 Download owncloud.
5265
 
5275
 
5266
 #+BEGIN_SRC: bash
5276
 #+BEGIN_SRC: bash
5267
-cd /tmp
5277
+mkdir ~/build
5278
+cd ~/build
5268
 wget http://freedombone.uk.to/owncloud.tar.bz2
5279
 wget http://freedombone.uk.to/owncloud.tar.bz2
5269
 #+END_SRC
5280
 #+END_SRC
5270
 
5281
 
5326
 Download the wiki.
5337
 Download the wiki.
5327
 
5338
 
5328
 #+BEGIN_SRC: bash
5339
 #+BEGIN_SRC: bash
5329
-cd /tmp
5340
+mkdir ~/build
5341
+cd ~/build
5330
 wget http://freedombone.uk.to/dokuwiki.tgz
5342
 wget http://freedombone.uk.to/dokuwiki.tgz
5331
 #+END_SRC
5343
 #+END_SRC
5332
 
5344
 
5582
 
5594
 
5583
 #+BEGIN_SRC: bash
5595
 #+BEGIN_SRC: bash
5584
 apt-get install python screen
5596
 apt-get install python screen
5585
-cd /tmp
5597
+mkdir ~/build
5598
+cd ~/build
5586
 git clone https://github.com/Bitmessage/PyBitmessage.git
5599
 git clone https://github.com/Bitmessage/PyBitmessage.git
5587
 cd PyBitmessage
5600
 cd PyBitmessage
5588
 make install
5601
 make install
5739
 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:
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
 #+BEGIN_SRC: bash
5754
 #+BEGIN_SRC: bash
5742
-cd /tmp
5755
+mkdir ~/build
5756
+cd ~/build
5743
 git clone https://github.com/Bitmessage/PyBitmessage.git
5757
 git clone https://github.com/Bitmessage/PyBitmessage.git
5744
 cd PyBitmessage
5758
 cd PyBitmessage
5745
 make install
5759
 make install
6259
 Download GNU Social
6273
 Download GNU Social
6260
 
6274
 
6261
 #+BEGIN_SRC: bash
6275
 #+BEGIN_SRC: bash
6262
-cd /tmp
6276
+mkdir ~/build
6277
+cd ~/build
6263
 wget http://freedombone.uk.to/gnu-social.tar.gz
6278
 wget http://freedombone.uk.to/gnu-social.tar.gz
6264
 #+END_SRC
6279
 #+END_SRC
6265
 
6280
 
6603
 
6618
 
6604
 #+BEGIN_SRC: bash
6619
 #+BEGIN_SRC: bash
6605
 adduser --disabled-login zerobin
6620
 adduser --disabled-login zerobin
6606
-cd /tmp
6621
+mkdir ~/build
6622
+cd ~/build
6607
 git clone https://github.com/sametmax/0bin.git
6623
 git clone https://github.com/sametmax/0bin.git
6608
 cd 0bin
6624
 cd 0bin
6609
 python setup.py install
6625
 python setup.py install