NEU: trac.meta-ware.at

2012-08-21 13:48 (2012-08-21 13:48)

Meta-Ware Tracs läuft jetzt mit wsgi (apache und mod_wsgi), was offenbar schneller sein soll (moderner jedenfalls…)

Hab einiges von svn.meta-ware hierher “transferiert”; ist jetzt auch passwortgeschützt.

Janos Bekesi

Software, Programmierung

---

Neuer PC von HP

2012-08-20 18:31 (2012-08-20 18:31)

In dieser Woche wird der neue PC (HP Elite 7000) in Betrieb genommen, d.h.

  • mittels gparted live-CD die Windows-Partition verkleinert (wg. evtl. Umzug auf SSD später)
  • die doofen HP-Software-Beigaben entfernt, samt Adobe AIR und Acrobat Reader
  • Avira Antivir eingespielt
  • Windows Update laufen gelassen

Und dann erst kommt die Arbeitsumgebung dazu (Eclipse, Putty usw.)…

Der alte PC kommt zu Helmut nach Hause, da wird ein frisches XP draufgespielt.

Ergänzung 2013-06: Virtualbox hat sich beschwert über fehlende VT-x-Aktivierung im BIOS. Lange lange Suche, endlich im Internet gefunden: die Virtualization ist im Boot-Menu unter “Sicherheit” (!!!!) zu finden und zu aktivieren.

Janos Bekesi

Hardware,

---

python-MySQLdb auf OS X 10.6 (Snow Leopard)

2012-08-16 09:58 (2012-08-16 09:58)

Schwierig. Funktioniert gar nicht gut. Man muss sich so behelfen:

Erstens

Step 1: download the latest MySQL Community Server in DMG format for x86-64 from this page, and install the main package. Worry not: nothing is going to be started on boot, so this is not going to mess with your pre-existing MySQL installation. The package is going to be installed in /usr/local/mysql-5.1.45-osx10.6-x86_64/, with a handy /usr/local/mysql/ symbolic link.

Step 2: download the latest MySQLdb Python module from this page, and unpack it somewhere.

Step 3: set the $PATH environment variable to include /usr/local/mysql. That’s because the module’s setup.py is going to need to call mysql_config, and you want it to find the one you just installed, as it comes with all the stuff it needs. Step 4: do the classic build and install dance, making sure you prepend the commands with ARCHFLAGS=’-arch x86_64′. This is because you want to compile a 64-bit module.

In short:

bc. tar vxfz MySQL-python-1.2.3c1.tar.gz cd MySQL-python-1.2.3c1 export PATH=/usr/local/mysql:$PATH ARCHFLAGS=’-arch x86_64’ python setup.py build ARCHFLAGS=’-arch x86_64’ python setup.py install

Und dann: Zweitens

export DYLD_LIBRARY_PATH=/usr/local/mysql/lib/

in die .bash_profile

Nachtrag: Die Daten waren halt alle weg, als ich die neue MySQL-Version angeworfen hab. Und auch keine Rede davon, daß das mit _64 nicht ginge. Aber dann die Daten vom alten ins neue Verzeichnis kopiert und als Owner _mysql eingetragen, und schon funkt helma local wieder

Janos Bekesi

Admin, Software

---

Testen: Solr

2012-08-14 15:08 (2012-08-14 15:08)

Ich werde mal Solr, die auf Lucene basierende Suchmaschine der Apache Foundation ausprobieren. Die Fernwärme-Website ist dazu ein guter Anlaß, da kann ich auch die Erdgasautos auf Solr umstellen.

Janos Bekesi

Software, Domains

---

VPN Meta-Ware

2012-07-24 14:17 (2012-07-24 14:17)

OpenVPN für Meta-Ware:

Damit H. von zuhause auf die Network Shares zugreifen kann.

[login to see:] [

]

Achtung: Die Eingabemaske für VPN ist falsch beschriftet:

  1. Public Server Cert sollte “CA Cert” lauten
  2. Public Client Cert sollte “OpenVPN Server Cert” lauten
  3. Private Client Key sollte “OpenVPN Server Key” lauten

NOTICE: To start openvpn manually issue following command:
openvpn —daemon —config /tmp/openvpn/openvpn.conf
To stop openvpn:
killall openvpn

NOTICE 2: we have to chmod ug-rw /tmp/openvpn/key.pem before (re)starting the daemon

Janos Bekesi

Admin, Software

---

« älter neuer »