Browse Source

qemu memory setting

Bob Mottram 9 years ago
parent
commit
c529632294
4 changed files with 2 additions and 2 deletions
  1. 1
    1
      doc/EN/installation.org
  2. BIN
      man/freedombone-image.1.gz
  3. BIN
      man/freedombone.1.gz
  4. 1
    1
      src/freedombone

+ 1
- 1
doc/EN/installation.org View File

149
 Virtualbox and Qemu are supported. You can run a 64 bit Qemu image with:
149
 Virtualbox and Qemu are supported. You can run a 64 bit Qemu image with:
150
 
150
 
151
 #+BEGIN_SRC bash
151
 #+BEGIN_SRC bash
152
-qemu-system-x86_64 filename.img
152
+qemu-system-x86_64 -m 1G filename.img
153
 #+END_SRC
153
 #+END_SRC
154
 
154
 
155
 If you are using Virtualbox then add a new VM and select the Freedombone *vdi* image.
155
 If you are using Virtualbox then add a new VM and select the Freedombone *vdi* image.

BIN
man/freedombone-image.1.gz View File


BIN
man/freedombone.1.gz View File


+ 1
- 1
src/freedombone View File

4454
     fi
4454
     fi
4455
     apt-get -y install exim4-daemon-heavy
4455
     apt-get -y install exim4-daemon-heavy
4456
     apt-get -y install spamassassin
4456
     apt-get -y install spamassassin
4457
-    sa-update -v
4458
     if [ ! -f /etc/default/spamassassin ]; then
4457
     if [ ! -f /etc/default/spamassassin ]; then
4459
         echo 'Spamassassin was not installed'
4458
         echo 'Spamassassin was not installed'
4460
         exit 72570
4459
         exit 72570
4461
     fi
4460
     fi
4461
+    sa-update -v
4462
     sed -i 's/ENABLED=0/ENABLED=1/g' /etc/default/spamassassin
4462
     sed -i 's/ENABLED=0/ENABLED=1/g' /etc/default/spamassassin
4463
     sed -i 's/# spamd_address = 127.0.0.1 783/spamd_address = 127.0.0.1 783/g' /etc/exim4/exim4.conf.template
4463
     sed -i 's/# spamd_address = 127.0.0.1 783/spamd_address = 127.0.0.1 783/g' /etc/exim4/exim4.conf.template
4464
     # This configuration is based on https://wiki.debian.org/DebianSpamAssassin
4464
     # This configuration is based on https://wiki.debian.org/DebianSpamAssassin