Benutzer-Werkzeuge

Webseiten-Werkzeuge


howto:openwrt-vm

Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

Beide Seiten der vorigen RevisionVorhergehende Überarbeitung
Nächste Überarbeitung
Vorhergehende Überarbeitung
Nächste ÜberarbeitungBeide Seiten der Revision
howto:openwrt-vm [2011/03/02 12:22] – sparedisk 1G -> 100m justinotherguyhowto:openwrt-vm [2011/05/29 13:10] – Externe Bearbeitung 127.0.0.1
Zeile 5: Zeile 5:
   * download [[http://downloads.openwrt.org/backfire/10.03.1-rc4/x86/openwrt-x86-generic-combined-ext2.vmdk|the prebuilt Kamikaze image in vmware disk image format]]:   * download [[http://downloads.openwrt.org/backfire/10.03.1-rc4/x86/openwrt-x86-generic-combined-ext2.vmdk|the prebuilt Kamikaze image in vmware disk image format]]:
   (Remark: in case you should wonder why we're using the latest RC of 10.03.1 - it's because that is the first release that sports the mysql-server package)   (Remark: in case you should wonder why we're using the latest RC of 10.03.1 - it's because that is the first release that sports the mysql-server package)
-  * download [[http://volkszaehler.org/sparedisk-100m.vmdk.gz|the g'zipped prebuilt 1 GB spare disk image in vmware disk image format]] and gunzip it or roll your own:+  * download [[http://volkszaehler.org/sparedisk-1G.vmdk.gz|the g'zipped prebuilt 1 GB spare disk image in vmware disk image format]] and gunzip it or roll your own:
     * create a new file system for the db in an appropiate size - you might want to start with 1 GB:     * create a new file system for the db in an appropiate size - you might want to start with 1 GB:
-<code>dd if=/dev/zero of=disk.img bs=100M count=10</code>+<code>dd if=/dev/zero of=disk.img bs=1024M count=10</code>
     * create an ext2 file system in that image     * create an ext2 file system in that image
-<code>mkfs.ext2 sparedisk-100m.img</code>+<code>mkfs.ext2 sparedisk-1G.img</code>
     * convert the image using qemu-img from the package „qemu“ (Ubuntu/Debian):     * convert the image using qemu-img from the package „qemu“ (Ubuntu/Debian):
-<code>qemu-img convert -f raw sparedisk-100m.img -O vmdk sparedisk-100m.vmdk</code>+<code>qemu-img convert -f raw sparedisk-1G.img -O vmdk sparedisk-1G.vmdk</code>
   * get the [[http://volkszaehler.org/backfire-10.03.1-openwrt-x86-2.6-ext2.vmx|VMware configuration file]]   * get the [[http://volkszaehler.org/backfire-10.03.1-openwrt-x86-2.6-ext2.vmx|VMware configuration file]]
   * open the vmx file with VMWare Player   * open the vmx file with VMWare Player
Zeile 49: Zeile 49:
 cd /overlay cd /overlay
 git clone git:\/\/github.com/volkszaehler/volkszaehler.org.git git clone git:\/\/github.com/volkszaehler/volkszaehler.org.git
-cd /overlay/volkszaehler.org/volkszaehler.org/backend/+cd /overlay/volkszaehler.org/volkszaehler.org/middleware/
 </code> </code>
     * copy the config template and modify it to your needs:     * copy the config template and modify it to your needs:
howto/openwrt-vm.txt · Zuletzt geändert: 2019/11/04 11:24 von jau