User:Bourke/Sandbox

From MPDLMediaWiki
Jump to navigation Jump to search

Richard Bourke Sandbox

rough notes for install pubman on vm30[edit]

jdk (sun x64 1.6.0_26) install[edit]

  1. no sun jdk as standard in OpenSuse or SLES distribution (licensing reasons)
  2. default OpenJDK install
  3. on vm30, Sun 1.6.0_06 was installed (very old by now).
  4. Download from Oracle Java SE download page (linux x64 rpm binary)
  5. deinstallation of (all) java components with yast (ignore dependencies)
  6. manual install of rpm binary from oracle.
  7. update-alternatives --install /usr/bin/java java /usr/java/jdk1.6.0_26/bin 20
  8. now /usr/bin/java is symbolic link to /etc/alternatives/java - which is probably updated behind the scenes by
  9. update-alternatives --config
  10. Setting JAVA_HOME is almost certainly still going to be necessary, pretty well every OS-Script will test for it.

postgreSQL (8.3) install[edit]

uninstall

  • with yast
  • userdel on postgres user
  • rm -rf /var/lib/pgsql/data and backup

install

  • yast postgres, postgres-contrib
  • afterwards set postgres os-user pwd as root
  • su - postgres
  • initdb --pgdata=/var/lib/pgsql/data
 
Die Dateien, die zu diesem Datenbanksystem gehören, werden dem Benutzer
»postgres« gehören. Diesem Benutzer muss auch der Serverprozess gehören.

Der Datenbankcluster wird mit der Locale de_DE.UTF-8 initialisiert werden.
Die Standarddatenbankkodierung wurde entsprechend auf UTF8 gesetzt.
Die Standardtextsuchekonfiguration wird auf »german« gesetzt.

erzeuge Verzeichnis /var/lib/pgsql/data ... ok
erzeuge Unterverzeichnisse ... ok
wähle Vorgabewert für max_connections ... 100
wähle Vorgabewert für shared_buffers/max_fsm_pages ... 32MB/204800
erzeuge Konfigurationsdateien ... ok
erzeuge Datenbank template1 in /var/lib/pgsql/data/base/1 ... ok
initialisiere pg_authid ... ok
initialisiere Abhängigkeiten ... ok
erzeuge Systemsichten ... ok
lade Systemobjektbeschreibungen ... ok
erzeuge Konversionen ... ok
erzeuge Wörterbücher ... ok
setze Privilegien der eingebauten Objekte ... ok
erzeuge Informationsschema ... ok
führe Vacuum in Datenbank template1 durch ...ok
kopiere template1 nach template0 ... ok
kopiere template1 nach postgres ... ok
  


  • starting postgres - the suse standard script /etc/init.d/postgresql start/stop/status works fine

ESciDoc (1.2.2) Install[edit]

Pubman install[edit]

snippets for gudrun[edit]

http://localhost:8080/pubman/faces/Reload.jsp

Images and icon …\jboss\server\default\deploy\pubman_ear.ear\pubman_presentation-6.2.8.war\resources\images

new logo in deploy/images.war/mpg_logo_repos.png

Blogs escidoc.pubman.blog.baseUrl=http://breakingnewsenglish.com/ escidoc.pubman.blog.news=http://feeds.feedburner.com/breakingnewsenglish


Labels Genres.xml jboss\server\default\tmp\deploy/pubman_ear.ear-contents\pubman_presentation-6.2.8-exp.war\WEB-INF\classes\Genres.xml copy nach ..server/default/deploy /conf

Styles default\tmp\deploy\pubman_ear.ear\common_presentation-1.0.44-exp.war\resources\cssFramework\themes

http://www.csszengarden.com/001/001.css