Installing NetBeans
Mar 11, 08 by Juan Lebrijo about NetBeans, blog
NetBeans is an excellent IDE (Integrated Development Environment) developed by Sun MicroSystems. Early to develop J2EE applications and later to develop Ruby, PHP, C, C++,... Today we will install this software and show any links to start to develop Java web applications. As usually I will start with my reference table: Origin http://www.netbeans.org Repository http://download.netbeans.org JDK: http://java.sun.com/javase/downloads/index.jsp Package netbeans-6.0.1-ml-windows.exe JDK 6 Update 5 Documentation General: http://www.netbeans.org/kb/ Files Configuration: LocalSettings.php Mandatory to install previously a JDK (Java Development Kit) to the functionalities to Java development. There are many tastes to download, depending on which languages and frameworks we need (JEE, Mobility, Ruby,...). We download the total version which have the following features:
  • Base IDE: Basic windows environment.
  • Java SE: basic tools for Java programming like editor, debugger ...
  • Web & Java EE: Tools to create JEE proyects, with servlets support, taglib, JSP, Struts, JSF, EJB,...
  • Mobility: Package to develop for mobile devices.
  • UML: Making Software egineering schemas, and reverse engineering.
  • SOA: Creating applications based on en Service Oriented Architecture.
  • Ruby: Creating applications Ruby and RoR.
  • C/C++: DEveloping in C and C++.
  • GlassFish V2 UR1: Sun Open Server which implements JEE5, as EJBs and application server.
  • netbeans_glashfish.PNG 113 KB
  • Apache Tomcat 6.0.14: Application server compatible with Servlets and JSPs.
At last, and adding to the basic tutorials in my reference table, there are this two fonts too:
  • JavaPassion: Any Java area tutorials by a Sun egineer.
  • Sun: Free Sun tutorials.
Instalando Netbeans
Mar 11, 08 by Juan Lebrijo about NetBeans, blog
NetBeans es un magnifico IDE (Integrated Development Environment) desarrollado por Sun MicroSystems. Inicialmente para desarrollar aplicaciones con J2EE (Java) pero posteriormente adaptado a Ruby, PHP, C, C++,... Hoy instalaremos este Software y veremos alguna dirección para prepararnos para desarrollar aplicaciones Java en web. Como siempre lo primero es mi ficha de referencias: Origen http://www.netbeans.org Repositorio http://download.netbeans.org JDK: http://java.sun.com/javase/downloads/index.jsp Paquete netbeans-6.0.1-ml-windows.exe JDK 6 Update 5 Documentación General: http://www.netbeans.org/kb/ Ficheros Configuración: LocalSettings.php Es esencial tener instalado una JDK (Java Development Kit) al menos para las funcionalidades de desarrollo Java. Hay varios sabores para descargar según con que lenguajes y en que entornos se deseen crear las aplicaciones (JEE, Mobility, Ruby,...). Nos descargamos la completa que tiene las siguientes características:
  • Base IDE: Entorno básico de ventanas
  • Java SE: Herramientas básicas para programar en Java com el editor, debugger ...
  • Web & Java EE: Herramientas para crear proyectos JEE, como soporte para servlets, taglibs, JSP, Struts, JSF, EJB,...
  • Mobility: Paquete para desarrollar aplicaciones para dispositivos móviles
  • UML: Realización de esquemas de desarrollo de software, e ingenieria inversa.
  • SOA: Creando aplicaciones basadas en Service Oriented Architecture.
  • Ruby: Creando aplicaciones Ruby y RoR.
  • C/C++: Desarrollando en C y C++.
  • GlassFish V2 UR1: Servidor abierto de Sun que implementa JEE5, como servidor de aplicaciones y EJBs.
  • netbeans_glashfish.PNG 113 KB
  • Apache Tomcat 6.0.14: Servidor de aplicaciones con capacidad para Servlets y JSPs.
Por último, y aparte de los tutoriales básicos de la ficha también están estas dos fuentes:
  • JavaPassion: tutoriales de todo tipo de un ingeniero de Sun.
  • Sun: Tutoriales libres de Sun.
Instalación de MediaWiki
Feb 25, 08 by Juan Lebrijo about Wiki, blog
En este artículo veremos la instalación de MediaWiki sobre un servidor LAMP, en mi caso, montado sobre Debian Etch. MediaWiki es un software para montar wikis desarrollado en PHP. Una wiki es un sitio web colaborativo que puede ser editado por varias personas. A mi me interesa para gestionar mi documentación e indexarla eficientemente. En concreto los ladrillos largos, ya que para los pequeños apuntes está este blog. En principio, y como viene siendo habitual, os dejo mi ficha de referencias: Origen http://meta.wikimedia.org/wiki/Portada/Es Repositorio http://www.mediawiki.org/wiki/Download Paquete mediawiki-1.11.1.tar.gz Documentación Instalación: http://meta.wikimedia.org/wiki/Help:Installation General: http://meta.wikimedia.org/wiki/Help:Contents Permisos: http://devpit.org/wiki/Installing_Mediawiki Ficheros Configuración: LocalSettings.php Descomprimimos, lo movemos al raíz del web y damos el poder al usuario de apache:
tar -zxvf mediawiki-1.11.1.tar.gz
cp -r mediawiki-1.11.1 /var/www/wiki
chown -R www-data:www-data /var/www/wiki
Creamos la base de datos y el usuario que la administrará:
elite:/var/www# mysql -u root -p
Enter password:
Welcome to the MySQL monitor.  Commands end with ; or g.
Your MySQL connection id is 12022
Server version: 5.0.32-Debian_7etch1-log Debian etch distributionType 'help;' or 'h' for help. Type 'c' to clear the buffer.

mysql> create database wiki;
Query OK, 1 row affected (0.00 sec)

mysql> grant all on wiki.* to 'wikiadmin'@'localhost' identified by 'contraseña-super-segura';
Query OK, 0 rows affected (0.06 sec)

mysql> flush privileges;
Query OK, 0 rows affected (0.03 sec)

mysql> quit
Bye
Finalmente instalamos por navegador: http://midominio/wiki
  • Nombre del Sitio: lebrijo.com
  • Lenguaje: ES
  • Usuario admin.: admin/contraseña
  • Usuario BD: wikiadmin/contraseña
Generado el fichero de configuración lo movemos al raíz, y por seguridad borramos el directorio config:
mv config/LocalSettings.php .
rm -r config/
Podremos acceder a nuestro wiki a través del enlace: http://www.midominio.com/wiki