Skip to content

Archive Trac mobile entropy setup

madscatt edited this page Jun 20, 2026 · 1 revision

Mobile Entropy Setup

Legacy Trac archive page imported from mobile_entropy_setup. Source: https://genapp.rocks/wiki/wiki/mobile_entropy_setup. Review age, links, and examples before treating as current.

mobile entropy setup

  • notes for setting up our mobile server
  • testing notes are here
  • hw: 8 core xeon
    • dell precision T5400
vendor_id       : GenuineIntel
cpu family      : 6
model           : 23
model name      : Intel(R) Xeon(R) CPU           E5420  @ 2.50GHz

Mem:  32879552k total
Swap: 16506876k total

Filesystem            Size  Used Avail Use% Mounted on
/dev/mapper/VolGroup-lv_root
                       50G  9.8G   37G  22% /
tmpfs                  16G  312K   16G   1% /dev/shm
/dev/sda1             477M   98M  354M  22% /boot
/dev/mapper/VolGroup-lv_home
                      1.8T   58G  1.6T   4% /home
  • os centos 6.6

  • kvm

    • manual install: qemu-0.15.1, etc.

    • setup details

    • /etc/

      • qemu-ifup
      • qemu-ifdown
      • IPCONFIG
      • exports
      • exportfs -r to reread
    • empty mongo db (but keep users)

use genapptest
db.jobs.remove()
db.joblock.remove()
use sassie2
db.jobs.remove()
db.joblock.remove()
use sassie2test
db.jobs.remove()
db.joblock.remove()
use msgs
db.cache.remove()

below needs some future cleanup & automation

- /share/apps/genapp/__app__/output/html5
- mkdir (this may happen automatically)
  - results
  - deleted
- /share/apps/genapp/__app__
- symlinks
  - ajax
  - util
  - docs
  - results 
  - deleted
- chown -R apache:apache .
- chmod -R g+rw .
ln -s output/html5/ajax ajax
ln -s output/html5/util util
ln -s output/html5/results results
ln -s output/html5/deleted deleted
# docs for sassie
ln -s /var/www/htdocs/docs docs  
chown -R apache:apache .
chmod -R g+rw .

isn't useful

  • centos6.6 uses qemu-0.12x and is not compatible with even reasonably modern versions of qemu (e.g. qemu-0.15.1!)
  • so forget this:
    • KVM install notes
    • modified by:
      • semanage fcontext -a -t virt_image_t "/home/kvm(/.*)?"; restorecon -R /home/kvm
    • virt notes
 Create a guest from an existing disk image 'mydisk.img' using defaults for the rest of the options.
         # virt-install --name demo --ram 512 --disk /home/user/VMs/mydisk.img --import
   note: this example might not work with selinux enforcement unless the user directory has correct authority, I went to /home/kvm

 So for us:
   # virt-install --name sassie-mobile --ram 8192 --vcpus 2 --bridge virbr0 --nographics --disk /home/kvm/sassie-web_mobileentropy.img --import
- virt-manager 
  - sometimes needs # dbus-uuidgen > /var/lib/dbus/machine-id

Clone this wiki locally