Packages install
From EzForge EN
Contents |
Creación de Paquetes Debian (entregable)
Este entregable describe los procesos de generación de paquetes Debian para Ezforge (nucleo de la forja de Vulcano) y para Ezweb (plataforma de mashups que se integra con EzForge y provee la interfaz de usuario).
Generación de paquetes para Ezforge
- Es necesario descargar el repositorio subversion del proyecto EzForge
svn co https://svn.forge.morfeo-project.org/svn/ezforge
- Una vez descargado, iremos al directorio de la release que nos interesa (por ejemplo, la 1.1)
cd releases/EzForge_v1.1
- Ahora, es necesario configurar esta carpeta para generar un paquete debian, por lo que deberemos copiar los archivos de configuración y archivos de generación de paquete debian que son necesarios.
>$ releases/EzForge_v1.1$ cp -r ../../debian/ . >$ releases/EzForge_v1.1$ ln -fs ../../conf conf
- Una vez preparada la release, generamos el paquete debian de la siguiente manera:
>$ releases/EzForge_v1.1$ dpkg-buildpackage -us -uc ... dpkg-deb: construyendo el paquete `ezforge' en `../ezforge_1.1.0-rc1_i386.deb'. ...
Generación de paquetes para EzWeb
Para la forja de Vulcano, utilizamos la plataforma ezweb como interfaz de usuario. Para ello tenemos que configurar Ezweb con los parámetros necesarios para que se comunique con EzForge. Por ello hemos creado un script que automatiza todo este proceso.
- Descargamos el script y le damos permisos
>$ wget --no-check-certificate https://svn.forge.morfeo-project.org/svn/ezforge/EzForge_EzWeb/createEzWebDebianPackage.sh >$ chmod 755 reateEzWebDebianPackage.sh
- Ejecutamos el script
>$ ./createEzWebDebianPackage.sh [*] Downloading Ezweb: svn-1452 ... [*] Downloading Debian configuration files ... [*] Download Ezweb configuration files ... Now, type dpkg-buildpackage -us -uc for create debian package
- Y por último generamos el paquete debian
>$ dpkg-buildpackage -us -uc ... dpkg-deb: construyendo el paquete `ezforge-ezweb-platform' en `../ezforge-ezweb-platform_0.9.2-beta1452_i386.deb'. ...
Packages install
- Add the next lines in your /etc/apt/sources.list file:
# Ezforge deb http://forge.vulcano.morfeo-project.org/apt/ dists/debian/ezforge/binary-all/ # Dekiwiki deb http://repo.mindtouch.com Debian_Etch/
- Update the package data base:
$> apt-get update
- Install the next packages:
$> apt-get install postfix ezforge
During the installation you will be asked about some Postfix settings. You will be also asked to create the 'mailman' list after this installation. Moreover, you will be able to set the root password for MySQL.
- Configure EzForge:
$> cd /usr/share/ezforge/conf/ $> sudo ./config.sh Introducing the server host without http:// (Ex: vulcano.es): domain.org Introducing the server PORT (Ex: 80): 80 [...] Subversion configuration ======================== Introducing subversion local path (Ex: /var/lib/svn/ ): /var/lib/svn/ Introducing password for SUBVERSION adapter: admin Introducing password for MAILMAN adapter: admin [*] Configure Apache ... Creating SSL Certificate... Enabling module ssl. See /usr/share/doc/apache2.2-common/README.Debian.gz on how to configure SSL and create self-signed certificates. Run '/etc/init.d/apache2 restart' to activate new configuration! Generating RSA private key, 1024 bit long modulus .....++++++ ....................++++++ e is 65537 (0x10001) Enter pass phrase for server.key: admin Verifying - Enter pass phrase for server.key: admin Enter pass phrase for server.key: admin You are about to be asked to enter information that will be incorporated into your certificate request. What you are about to enter is what is called a Distinguished Name or a DN. There are quite a few fields but you can leave some blank For some fields there will be a default value, If you enter '.', the field will be left blank. ----- Country Name (2 letter code) [AU]:ES State or Province Name (full name) [Some-State]:Madrid Locality Name (eg, city) []:Madrid Organization Name (eg, company) [Internet Widgits Pty Ltd]:Vulcano Organizational Unit Name (eg, section) []:Vulcano Common Name (eg, YOUR name) []:Vulcano Email Address []:admin@vulcano.org Please enter the following 'extra' attributes to be sent with your certificate request A challenge password []:admin An optional company name []: Signature ok subject=/C=ES/ST=Madrid/L=Madrid/O=Vulcano/OU=Vulcano/CN=Vulcano/emailAddress=admin@vulcano.org Getting Private key Enter pass phrase for server.key: Configure EzWeb Configure EzSteroids Configure EzForgeLayer [*] Configure Adapters ... [*] Configuring Gadgets ... [*] Configuring BBDD ... [...] -- Congratulations! Finish configuration.
- Restart Apache:
$> /etc/init.d/apache2 restart Restarting web server [...] Enter pass phrase: admin (the one set for SSL) OK: Pass Phrase Dialog successful. .
- Configure Postfix:
You must configure Postfix as needed in order to be able to send mails from your host.
- Configure Dekiwiki:
You can configure the dekiwiki in the next URL:
http://wiki.domain.org/config/index.php
- Now, you can see the forge in the next URL:
http://forge.domain.org/
- Password configuration
- You can change the password for admin user (that is also 'admin' by default), in the link http://ezsteroids.domain.org
- You have to set the admin passwords for Mailman, Dekiwiki and Subversion in the forge. To do that, log in http://forge.domain.org with admin account, and write in the Accounts gadget the admin passwords for these tools.