瀏覽代碼

qemu memory setting

Bob Mottram 9 年之前
父節點
當前提交
c529632294
共有 4 個文件被更改,包括 2 次插入2 次删除
  1. 1
    1
      doc/EN/installation.org
  2. 二進制
      man/freedombone-image.1.gz
  3. 二進制
      man/freedombone.1.gz
  4. 1
    1
      src/freedombone

+ 1
- 1
doc/EN/installation.org 查看文件

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.

二進制
man/freedombone-image.1.gz 查看文件


二進制
man/freedombone.1.gz 查看文件


+ 1
- 1
src/freedombone 查看文件

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