60 likes | 210 Views
APNEE-TU DATABASES. Instalation Problems Solutions. INSTALATION I. We install Postgresql packages with rpm utility in a Linux OS Red-Hat 7.2 We create a new user to administrate databases( typical name for user postgres) We create the database cluster with the instruction
E N D
APNEE-TU DATABASES • Instalation • Problems • Solutions
INSTALATION I • We install Postgresql packages with rpm utility in a Linux OS Red-Hat 7.2 • We create a new user to administrate databases( typical name for user postgres) • We create the database cluster with the instruction initdb –D /usr/local/pgsql/data
INSTALATION II • We start postmaster process postmaster –D /usr/local/pgsql/data –i > logfile & • We create a empty databases one for andalucia and one for canarias createdb canarias createdb andalucia • We execute the script built by SICE that create the tables with psql postgres client.
Problems • New initial data for the databases • Database schema doesn’t support for more than one lenguage
Solutions I • Problem: new initial data for the database • We modify the script that entries the initial data and execute it with psql postgres client
Solutions II • Problem: Database schema doesn’t support more than one lenguage. Solutions: two possible solutions 1.- We can modify the database to let a user to choose spanish or english (this require to change the web pages’s java classes and the database. 2.- We can create a database in english and one in spanish. More easy to do.Don´t need to know torque , turbine and velocity.