Instalando Netbeans
Mar 11, 08 by Juan Lebrijo about blog, NetBeans
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.
Installing NetBeans
Mar 11, 08 by Juan Lebrijo about blog, NetBeans
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.
MediaWiki installation
Feb 25, 08 by Juan Lebrijo about blog, Wiki
At this article we will see how to install MediaWiki over a LAMP server, in my server, over Debian Etch. MediaWiki is a software to mount wikis, PHP developed. A wiki is a collaborative web site hich can be edited by some people at same time. My interests is due to manage my documentation and index it efficiently. Concrete, writing the big texts, the little ones serve this blog. At the beginning, and as usually, I leave, as usually, my reference table: Origin http://meta.wikimedia.org/wiki/Portada/Es Repository http://www.mediawiki.org/wiki/Download Package mediawiki-1.11.1.tar.gz Documentation Instalation: http://meta.wikimedia.org/wiki/Help:Installation General: http://meta.wikimedia.org/wiki/Help:Contents Permissions: http://devpit.org/wiki/Installing_Mediawiki Files Configuration: LocalSettings.php Unzip the package, move the directory to the web root and give permissions to the apache user:
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
Then we will create the database and the administrator user:
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
Finally we will install by browser: http://mydomain/wiki
  • Site name: lebrijo.com
  • Language: ES
  • Admin user: admin/password
  • DB user: wikiadmin/pasword
Generate the configuration file and move it to root directory, then delete the config directry to save the security of your site:
mv config/LocalSettings.php .
rm -r config/
We can access to our wiki from the URL: http://www.mydomain.com/wiki