Difference between revisions of "User:Bourke/Sandbox"

From MPDLMediaWiki
Jump to navigation Jump to search
m (Protected "User:Bourke/Sandbox" ([edit=autoconfirmed] (indefinite) [move=autoconfirmed] (indefinite)))
 
(155 intermediate revisions by 2 users not shown)
Line 1: Line 1:
Richard Bourke Sandbox
Richard Bourke Sandbox


=Pubman 628 Installation Setup Notes=
== rough notes for install pubman on vm30 ==


==OS / VirtualMachine-GuestOS Setup==


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


===Verification of Installation Prerequisites===
=== postgreSQL (8.3) install ===


== Installation of Escidoc Core-Services 1.2
uninstall
* with yast 
* userdel on postgres user
* rm -rf /var/lib/pgsql/data and backup


=== Verification of Escidoc Core-Services Installation
install
* yast postgres, postgres-contrib
* afterwards set postgres os-user pwd as root
* su - postgres
* initdb --pgdata=/var/lib/pgsql/data


== Installation of Pubman 6.2.8 ==
  <nowiki>
Die Dateien, die zu diesem Datenbanksystem gehören, werden dem Benutzer
»postgres« gehören. Diesem Benutzer muss auch der Serverprozess gehören.


=== Verification of Pubman 6.2.8
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.


==Next Steps==
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
  </nowiki>


Load some Test data


Secure your server
* starting postgres - the suse standard script /etc/init.d/postgresql start/stop/status works fine


==Troubleshooting==
=== ESciDoc (1.2.2) Install ===
missing pubman.properties in jboss/server/default/conf
 
 
=== Pubman install ===
 
 
=== snippets for gudrun===
 
 
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

Latest revision as of 10:46, 25 October 2011

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