4
INSTALACION Y CONFIGURACION DE UNITIME TULUA VALLE DEL CAUCA 05/07/2013

Instalacion y Configuracion de Unitime

Embed Size (px)

DESCRIPTION

Instalacion y Configuracion de Unitime

Citation preview

  • INSTALACION Y CONFIGURACION DE UNITIME

    TULUA VALLE DEL CAUCA

    05/07/2013

  • Sudo bash (modo root)

    Apt-cache search tomcat

    Apt-get install tomcat6

    Apt-cache search mysql

    Apt-get install mysql-server

    Wget http://unitime.googlecode.com/files/unitime-3.4_bld246.zip

    Ls

    Apt-get install unzip

    Unzip unitime-3.4_bld246.zip

    Ls

    Cd doc

    Ls

    Cd mysql/

    Ls

    Mysql u root p >show databases; >exit

    Vi schema.sql

    :q

    Mysql u root p >CREATE DATABASE timetable; >exit

    Mysql u root p >GRANT ALL ON timetable.* TO timetable@localhost IDENTIFIED BY unitime; >FLUSH PRIVILEGES; >exit

    Mysql u root p f schema.sql (te aparecer error)

    Vi schema.sql

  • *Debe quedar de la siguiente manera

    *(:22 numero de lnea, INSERT para modificar lnea; :w guardar cambios, :q salir del editor)

    mysql u root p < schema.sql

    (Debe entrar a root@ubuntu:~/doc/mysql)

    Mysql u root p >show databases; >use timetables; >show tables; >select *from users; >exit Mysql u root p timetable < woebegon-data.sql Mysql u root p >use timetable >select * from users; >exit

    Cd

    Ls

    Cd web/

    Cd /var/lib/tomcat6/webbapps/

    Ls

    Drop user timetable;

    Create user timetable identified by unitime;

    Grant all on timetable.* to timetable;

    Flush privileges;

    /*Drop user timetable;

    Create user timetable identified by unitime;

    Grant all on timetable.* to timetable;

    Flush privileges;

    */

  • *Probar en el sitio web (digitamos la ip del servidor tomcat este funciona en el puerto por defecto 8080 ej: 192.168.1.10:8080).

    Cp /home/server/web/UniTime.war /var/lib/tomcat6/webapps/UniTime.war

    /etc/inint.d/tomcat6 restart

    Ls *Reinincia el navegador *Accede al programa