• martes, septiembre 24th, 2013

Entre las principales tareas de mantenimiento para DSpace, tenemos las del archivo crontab siguiente:

# Send out subscription e-mails at 01:00 every day
0 1 * * * /var/dspace/bin/dspace sub-daily
# Run the media filter at 02:00 every day
0 2 * * * /var/dspace/bin/dspace filter-media
# Run the checksum checker at 03:00
0 3 * * * /var/dspace/bin/dspace checker -lp
# Mail the results to the sysadmin at 04:00
0 4 * * * /var/dspace/bin/dspace checker-emailer -c
# Run stat analysis
0 1 * * * /var/dspace/bin/dspace stat-general
0 1 * * * /var/dspace/bin/dspace stat-monthly
0 2 * * * /var/dspace/bin/dspace stat-report-general
0 2 * * * /var/dspace/bin/dspace stat-report-monthly
# Generate sitemaps
0 6 * * * /var/dspace/bin/dspace generate-sitemaps
0 22 * * * /var/dspace/bin/dspace itemcounter

Category: Uncategorized  | Comments off
• domingo, septiembre 22nd, 2013

1.- Crear archivo tomcat en la ruta /etc/rc.d/init.d

#!/bin/bash
#
# Iniciación automatica de TOMCAT6D
#
# chkconfig: – 55 25
# description: Demonio de iniciación TOMCAT7D 7.0.29
#
# processname: tomcat7d
# pidfile: /var/run/tomcat7d.pid

#export JAVA_HOME=/usr/java/jdk1.6.0_20
export CATALINA_HOME=/var/apache-tomcat-7.0.29
start(){
echo «Iniciando Tomcat7»
$CATALINA_HOME/bin/startup.sh
}

stop() {
echo «Deteniendo Tomcat7»
$CATALINA_HOME/bin/shutdown.sh
}
restart(){
stop
start
}

# See how we were called.
case $1 in
start)
start
;;
stop)
stop
;;
restart)
restart
;;
*)
echo «Utilice los Parámetros: $0 {start|stop|restart}»
exit 1
esac
exit 0

2.- Darle permisos de ejecución

3.- chkconfig –add tomcat

4.- chkconfig tomcat on

 

Category: Uncategorized  | Tags: ,  | Comments off
• miércoles, mayo 26th, 2010
  • Descargar archivo configFooter.class
  • Respaldar el código jsp que se encuentra dentro de la carpeta [Catalina Home]\webapps\ROOT
  • Crear la ruta [Catalina Home]\webapps\ROOT\WEB-INF\classes\red\repo
  • Copiar el archivo configFooter.class en la ruta [Catalina Home]\webapps\ROOT\WEB-INF\classes\red\repo
  • Agregar dentro del archivo web.xml el siguiente código dentro de la sección <!– Servlet Mappings –>

<servlet>

<servlet-name>configFooter</servlet-name>

<servlet-class>red.repo.configFooter</servlet-class>

</servlet>

<servlet-mapping>

<servlet-name>configFooter</servlet-name>

<url-pattern>/layout/configFooter.do</url-pattern>

</servlet-mapping>

  • Modificar el archivo [Catalina Home]\webapps\ROOT\layout\footer-default.jsp, al cual se debe agregar la línea marcada con negritas tal como se indica en el código adjunto.

<table class=»pageFooterBar» width=»100%»>

<tr>

<td>

<a href=»http://validator.w3.org/check?uri=referer»>

<img src=»<%= request.getContextPath() %>/image/valid-xhtml10.png» alt=»Valid XHTML 1.0!» height=»31″ width=»88″ /></a>

</td>

<td>

<fmt:message key=»jsp.layout.footer-default.text»/>&nbsp;-

<a target=»_blank» href=»<%= request.getContextPath() %>/feedback»><fmt:message key=»jsp.layout.footer-default.feedback»/></a>

<a href=»<%= request.getContextPath() %>/htmlmap»></a>

</td>

<td nowrap=»nowrap» valign=»middle»> <%– nowrap, valign for broken NS 4.x –%>

</td>

</tr>

<jsp:include page=»configFooter.do»/>

</table>

  • Detener el Apache
  • Detener el Tomcat
  • Iniciar el Tomcat
  • Iniciar el Apache
Category: Uncategorized  | Comments off
• viernes, noviembre 14th, 2008

Category: Vídeos  | Tags: ,  | Comments off
• miércoles, octubre 22nd, 2008

A continuación un vídeo interesante que encontré acerca de como insertar un video de Youtube dentro de mi blog.

Category: Vídeos  | Tags:  | Comments off
• lunes, octubre 20th, 2008

A continuación anexo un vídeo interesante que encontré en youtube acerca de las wikis.

Category: Vídeos  | Tags:  | Comments off
• domingo, octubre 19th, 2008

A continuación comparte con ustedes un vídeo acerca de la web 2.0

Category: Vídeos  | Tags: ,  | Comments off
• jueves, septiembre 11th, 2008

A continuación una colaboración de Nervo Verdezoto quien preparó la siguiente presentación sobre tips acerca de accesibilidad web.

Category: Uncategorized  | Tags: ,  | Comments off
• lunes, septiembre 08th, 2008

Presentación que elaboré acerca de estándares web