howto:openwrt-vm
Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
| Beide Seiten der vorigen RevisionVorhergehende ÜberarbeitungNächste Überarbeitung | Vorhergehende Überarbeitung | ||
| howto:openwrt-vm [2010/12/04 22:53] – added php5-mod-sockets justinotherguy | howto:openwrt-vm [2019/11/04 11:24] (aktuell) – Warnung Version jau | ||
|---|---|---|---|
| Zeile 1: | Zeile 1: | ||
| - | <note important> | + | ===== Volkszaehler in einer VMware mit OpenWRT installieren ===== |
| - | + | <note warning> | |
| - | ===== How do I install volkszaehler | + | This description is out of date, it differs |
| keeping to [[http:// | keeping to [[http:// | ||
| Zeile 10: | Zeile 10: | ||
| * download [[http:// | * download [[http:// | ||
| * 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: | ||
| - | < | + | < |
| * create an ext2 file system in that image | * create an ext2 file system in that image | ||
| < | < | ||
| Zeile 41: | Zeile 41: | ||
| </ | </ | ||
| * install required packages: | * install required packages: | ||
| - | < | + | < |
| * remarks: bash for install script (temporary) (php -> php-cli) | * remarks: bash for install script (temporary) (php -> php-cli) | ||
| < | < | ||
| Zeile 52: | Zeile 52: | ||
| cd /overlay | cd /overlay | ||
| git clone git: | git clone git: | ||
| + | cd / | ||
| + | </ | ||
| + | * copy the config template and modify it to your needs: | ||
| + | < | ||
| + | cp volkszaehler.conf.template.php volkszaehler.conf.php | ||
| + | volkszaehler.conf.php: | ||
| + | $config[' | ||
| + | $config[' | ||
| </ | </ | ||
| * run installer: | * run installer: | ||
| Zeile 64: | Zeile 72: | ||
| < | < | ||
| server.document-root = "/ | server.document-root = "/ | ||
| + | index-file.names = ( " | ||
| </ | </ | ||
| * modify / | * modify / | ||
| < | < | ||
| doc_root = "/ | doc_root = "/ | ||
| + | ; Dynamic Extensions | ||
| + | extension=ctype.so | ||
| + | extension=json.so | ||
| + | extension=pdo.so | ||
| + | extension=pdo-mysql.so | ||
| + | extension=session.so | ||
| + | extension=sockets.so | ||
| </ | </ | ||
| Zeile 90: | Zeile 106: | ||
| todos: | todos: | ||
| - | * mount /overlay at boot time | + | |
| - | * start mysqld at boot time ("To start mysqld at boot time you have to copy support-files/ | + | * start mysqld at boot time ("To start mysqld at boot time you have to copy support-files/ |
| - | cd /usr ; / | + | |
| - | / | + | |
| - | / | + | |
| - | * start lighttpd at boot time | + | * start lighttpd at boot time |
howto/openwrt-vm.1291499584.txt.gz · Zuletzt geändert: (Externe Bearbeitung)