Este documento contiene un examen teórico-práctico sobre el módulo profesional de Despliegue de Aplicaciones Web. El examen consta de una sección teórica de 30 preguntas y una sección práctica de 6 ejercicios. Se explican las instrucciones para la corrección y cálculo de la nota final.
This document discusses MySQL databases and how to interact with them using PHP. It begins by introducing MySQL as the world's most popular open source database and describes some basic database server concepts. It then provides code examples for how to connect to a MySQL database from PHP, select a database, perform queries to read, insert, update, and delete records, and more. The document is intended as a tutorial for learning the basic functions and syntax for accessing and manipulating data in a MySQL database with PHP.
MS-DOS es un sistema operativo de Microsoft que usa comandos para gestionar archivos y directorios. El documento explica comandos como DIR para listar archivos, COPY para copiar, DEL para eliminar, y CD para cambiar de directorio. También describe cómo crear y eliminar directorios con los comandos MD y RD, y format ear, verificar y copiar discos con FORMAT, CHKDSK y DISKCOPY respectivamente.
This document discusses shells and shell scripting in Linux. It provides information on common Linux shells like Bash, Bourne shell, C shell, etc. It describes the basic functions of shells like command interpretation, I/O redirection, variables, parameters and more. Shell scripts allow automating tasks and complex series of commands. The document also covers shell script basics, special parameters, variables, I/O redirection operators and more shell scripting concepts.
The document discusses Linux file systems. It provides an overview of Linux file system types including network file systems like NFS and SMB, and disk file systems like ext2, ext3, FAT32, and NTFS. It describes the physical structure of file systems on disk including the boot block, super block, inode list, and block list. It also summarizes the features and maximum sizes of different file system standards like ext2, ext3, ext4, ReiserFS, XFS, and JFS.
This document discusses installing and configuring Active Directory Domain Services (ADDS) on a Windows Server 2008 R2 system. It describes server types, requirements for installing ADDS such as DNS and disk partitioning, and provides step-by-step instructions for installing a new ADDS domain, joining a client PC to the domain, creating users, and organizing users into groups within organizational units.
The document discusses the Bash shell, which is the most popular shell in Linux. It is an sh-compatible shell that incorporates useful features from other shells like Korn and C shells. Bash can be used both interactively and for scripting purposes. The document provides examples of basic Bash scripts that use variables, command substitution, arithmetic evaluation, and conditional statements. It also discusses environmental variables and the read command.
Un servidor Dynamic Host Configuración Protocol (DHCP) asigna dinámicamente las direcciones IP y otras configuraciones de una red determinada a otros ordenadores clientes que están conectados a la red. Esto simplifica la administración de la red y hace que la conexión de nuevos equipos a la red sea mucho más fácil.
This document provides an overview of shell scripting in 3 paragraphs or less:
The document discusses Linux shell scripting, including that a shell is a user program that provides an environment for user interaction by reading commands from standard input and executing them. It mentions common shell types like BASH, CSH, and KSH, and that shell scripts allow storing sequences of commands in a file to execute them instead of entering each command individually. The document provides basic information on writing, executing, and using variables and input/output redirection in shell scripts.
This document discusses MySQL databases and how to interact with them using PHP. It begins by introducing MySQL as the world's most popular open source database and describes some basic database server concepts. It then provides code examples for how to connect to a MySQL database from PHP, select a database, perform queries to read, insert, update, and delete records, and more. The document is intended as a tutorial for learning the basic functions and syntax for accessing and manipulating data in a MySQL database with PHP.
MS-DOS es un sistema operativo de Microsoft que usa comandos para gestionar archivos y directorios. El documento explica comandos como DIR para listar archivos, COPY para copiar, DEL para eliminar, y CD para cambiar de directorio. También describe cómo crear y eliminar directorios con los comandos MD y RD, y format ear, verificar y copiar discos con FORMAT, CHKDSK y DISKCOPY respectivamente.
This document discusses shells and shell scripting in Linux. It provides information on common Linux shells like Bash, Bourne shell, C shell, etc. It describes the basic functions of shells like command interpretation, I/O redirection, variables, parameters and more. Shell scripts allow automating tasks and complex series of commands. The document also covers shell script basics, special parameters, variables, I/O redirection operators and more shell scripting concepts.
The document discusses Linux file systems. It provides an overview of Linux file system types including network file systems like NFS and SMB, and disk file systems like ext2, ext3, FAT32, and NTFS. It describes the physical structure of file systems on disk including the boot block, super block, inode list, and block list. It also summarizes the features and maximum sizes of different file system standards like ext2, ext3, ext4, ReiserFS, XFS, and JFS.
This document discusses installing and configuring Active Directory Domain Services (ADDS) on a Windows Server 2008 R2 system. It describes server types, requirements for installing ADDS such as DNS and disk partitioning, and provides step-by-step instructions for installing a new ADDS domain, joining a client PC to the domain, creating users, and organizing users into groups within organizational units.
The document discusses the Bash shell, which is the most popular shell in Linux. It is an sh-compatible shell that incorporates useful features from other shells like Korn and C shells. Bash can be used both interactively and for scripting purposes. The document provides examples of basic Bash scripts that use variables, command substitution, arithmetic evaluation, and conditional statements. It also discusses environmental variables and the read command.
Un servidor Dynamic Host Configuración Protocol (DHCP) asigna dinámicamente las direcciones IP y otras configuraciones de una red determinada a otros ordenadores clientes que están conectados a la red. Esto simplifica la administración de la red y hace que la conexión de nuevos equipos a la red sea mucho más fácil.
This document provides an overview of shell scripting in 3 paragraphs or less:
The document discusses Linux shell scripting, including that a shell is a user program that provides an environment for user interaction by reading commands from standard input and executing them. It mentions common shell types like BASH, CSH, and KSH, and that shell scripts allow storing sequences of commands in a file to execute them instead of entering each command individually. The document provides basic information on writing, executing, and using variables and input/output redirection in shell scripts.
Here I covered the cores of Apache and also discuss each and every core. Virtual host, resistance server process some protocols like HTTP, SMTP, DNS FTP, are also be highlighted.
Focus on some installing part of apache.
Here are the key differences between relative and absolute paths in Linux:
- Relative paths specify a location relative to the current working directory, while absolute paths specify a location from the root directory.
- Relative paths start from the current directory, denoted by a period (.). Absolute paths always start from the root directory, denoted by a forward slash (/).
- Relative paths are dependent on the current working directory and may change if the working directory changes. Absolute paths will always refer to the same location regardless of current working directory.
- Examples:
- Relative: ./file.txt (current directory)
- Absolute: /home/user/file.txt (from root directory)
So in summary, relative paths
The document provides information about the Apache web server including:
- Apache is an open-source web server software widely used on Unix-like operating systems. It creates a new thread for each connection and supports modules to extend functionality.
- It uses multi-processing modules like Prefork, Worker, and Event to handle requests via multiple child processes and threads.
- Directories like conf, htdocs, and logs contain configuration files, server content, and logs respectively.
- Configuration is done by directives in text files like httpd.conf covering aspects like timeouts, modules, and virtual hosts.
Kdump est une fonctionnalité du noyau Linux permettant de prendre un dump (une empreinte mémoire) lors d'un crash du système d'exploitation. Cette fonctionnalité permet d'analyser après coup ce qui s'est passé sur le serveur au moment du crash et quel a été le processus engendrant ce crash.
Après le crash d'un serveur, l'administrateur système que vous êtes espère de tout son être qu'un crashdump soit disponible dans le répertoire /var/crash/ (si tel est la destination choisie)
Windows Server 2019 provides new features for migration of clusters between domains, Kubernetes support, access control policies, enhanced WinRM, and Storage Replica in standard edition. It uses a per-core licensing model requiring a minimum of 16 cores. Installation options include a core-only 8GB installation or a standard desktop experience installation. New features include improvements to shielded VMs, encrypted replication in Hyper-V, and Windows Subsystem for Linux support for both Windows and Linux containers on the same host.
50 most frequently used unix linux commands (with examples)Rodrigo Maia
This document provides examples for 50 common Linux commands, including tar, grep, find, ssh, sed, awk, vim, diff, sort, and more. It explains practical uses for each command and provides short code snippets to demonstrate basic functionality. The commands cover a wide range of tasks like archiving, searching, editing, comparing, and managing files, processes and system resources.
This extensive course covers all the topics which will definitely make you a Java Superstar. You can do almost anything in Java after this course. You will surely be a better programmer and better still a Elegant programmer after this course.
This document provides an introduction to shell scripting using the bash shell. It covers key concepts such as shell variables, command substitution, quoting, aliases, and initializing files. The shell acts as both a command-line interface and programming language. It executes commands, supports scripting through variables and control structures, and reads initialization files on startup to customize the environment. Well-formed shell scripts allow combining and sequencing commands to perform automated tasks.
This lecture discusses the Environment Variables concept, usage, and how processes acquire them. It then goes through the most popular ones
Check the other Lectures and courses in
http://Linux4EnbeddedSystems.com
or Follow our Facebook Group at
- Facebook: @LinuxforEmbeddedSystems
Lecturer Profile:
- https://www.linkedin.com/in/ahmedelarabawy
This document discusses file systems and distributed file systems. It describes how file systems work, including hardware, partitions, logical volume management (LVM), and basic and distributed file systems. It focuses on GlusterFS and NFS distributed file systems. GlusterFS allows various volume types including distributed, replicated, distributed-replicated and stripe. NFS provides network access but no redundancy. The document also discusses storage solutions for AI training workloads, including Pure Storage FlashBlade and AIRI systems optimized for high-performance needs of AI.
El DNS es un sistema jerárquico de nombres de dominio que asocia nombres de dominio a direcciones IP y localiza servidores de correo electrónico. Está compuesto de servidores DNS que responden a solicitudes de clientes DNS para resolver nombres a direcciones IP, y zonas de autoridad que almacenan datos sobre dominios y subdominios. El DNS consiste en una jerarquía de servidores DNS y zonas de autoridad que publican información sobre dominios y nombres de servicios.
Active Directory is a centralized hierarchical directory database that contains information about all user accounts and shared network resources. It provides user logon authentication services and organizes and manages user accounts, computers, groups and network resources. Active Directory enables authorized users to easily locate network resources. It features include fully integrated security, easy administration using group policy, scalability to large networks, and flexibility through features like cross-forest trusts and site-to-site replication.
The document summarizes how to write a character device driver in Linux. It covers the anatomy of a device driver including the user interface via device files, and kernel interfaces via file operations and major/minor numbers. It describes registering a character driver by defining file operations, reserving major/minor numbers, and associating them. Open and release functions handle initialization and cleanup. Read/write functions transfer data between userspace and hardware. Ioctl allows extending functionality.
Tutorial WiFi driver code - Opening Nuts and Bolts of Linux WiFi SubsystemDheryta Jaisinghani
While we understand the complex interplay of OSI layers, in theory, in practice understanding their implementation is a non-trivial task. The implementation details that enables a network interface card to communicate with its peers are oblivious to the end-users. Developers venturing into this domain for the first time often find it hard to find relevant tutorials that enable them to understand these implementation details. The aim of this talk is to provide an overview of WiFi Subsystem implemented in the Linux operating system. Specifically, this talk will explain the sequence of events that occur from application layer till physical layer when a connection is established over WiFi. After this talk, the audience will understand
(1) the bird's eye view of Linux WiFi Subsystem,
(2) what happens in an operating system when a WiFi card is plugged-in,
(3) how is a packet received/transmitted from physical layer to operating system kernel and vice-versa,
(4) brief overview of code structure of open-source drivers, and lastly
(5) important pointers to kick start driver code modifications.
Video Available here: https://www.youtube.com/watch?v=pa1oEyc7Dm0
This document provides an overview of Linux Bash shell scripting. It covers topics such as writing basic scripts, variables, conditionals, loops, functions, arguments, and input/output redirection. Examples are given for many common scripting tasks like arithmetic operations, string manipulation, file operations, and comparing values. The document is intended to teach the basics of scripting in the Linux Bash shell.
Rutas absolutas y relativas para la manipulación de directorios y ficheros en...Ericka Zavala
Presentación utilizada para mis prácticas de la clase de Sistemas Operativos Avanzados donde se explican los conceptos de rutas absolutas y relativas y su uso con comandos MS-DOS. Este material esta bajo la licencia CC Attribution-NonCommercial-NoDerivs License, lo que significa que es libre para un uso no comercial y se puede copiar y distribuir en cualquier medio o formato siempre y cuando se respeten los créditos mostrados y no se realicen adaptaciones ni derivados del mismo.
This document provides an overview of basic Linux commands, including man for accessing manual pages, ls for listing directory contents, mkdir for creating directories, cd for changing directories, pwd for printing the working directory, and ~ for accessing the home directory. It also covers commands for copying, moving, removing files, clearing the screen, viewing file contents, searching within files, counting words, piping commands together, using wildcards, and changing file permissions with chmod. The document encourages learning through manual pages and understanding error messages.
DNS allows users to reference computer names via symbolic names like domain names instead of IP addresses. It works by translating these symbolic names to their associated IP addresses. DNS uses a hierarchical and distributed database across interconnected name servers to provide a global directory service for name resolution on the internet.
El documento proporciona instrucciones para la instalación del servidor web WAMP Server en Windows. En menos de 3 oraciones, resume los pasos principales como descargar e instalar WAMP Server, aceptar los términos y condiciones, y finalmente acceder al servidor desde el navegador para visualizar las herramientas.
Este documento resume los pasos realizados para instalar Java y compilar dos programas simples llamados "Saludo.java" y "Suma.java" usando comandos de línea de comandos. Describe cómo descargar e instalar el JDK de Java, configurar el PATH, escribir el código para cada programa en un editor de texto, compilarlos usando "javac", y ejecutarlos usando "java". Concluye que es necesario configurar correctamente el PATH de Java y que el archivo .class contiene el código en bytecodes para ser ejecutado por la má
Here I covered the cores of Apache and also discuss each and every core. Virtual host, resistance server process some protocols like HTTP, SMTP, DNS FTP, are also be highlighted.
Focus on some installing part of apache.
Here are the key differences between relative and absolute paths in Linux:
- Relative paths specify a location relative to the current working directory, while absolute paths specify a location from the root directory.
- Relative paths start from the current directory, denoted by a period (.). Absolute paths always start from the root directory, denoted by a forward slash (/).
- Relative paths are dependent on the current working directory and may change if the working directory changes. Absolute paths will always refer to the same location regardless of current working directory.
- Examples:
- Relative: ./file.txt (current directory)
- Absolute: /home/user/file.txt (from root directory)
So in summary, relative paths
The document provides information about the Apache web server including:
- Apache is an open-source web server software widely used on Unix-like operating systems. It creates a new thread for each connection and supports modules to extend functionality.
- It uses multi-processing modules like Prefork, Worker, and Event to handle requests via multiple child processes and threads.
- Directories like conf, htdocs, and logs contain configuration files, server content, and logs respectively.
- Configuration is done by directives in text files like httpd.conf covering aspects like timeouts, modules, and virtual hosts.
Kdump est une fonctionnalité du noyau Linux permettant de prendre un dump (une empreinte mémoire) lors d'un crash du système d'exploitation. Cette fonctionnalité permet d'analyser après coup ce qui s'est passé sur le serveur au moment du crash et quel a été le processus engendrant ce crash.
Après le crash d'un serveur, l'administrateur système que vous êtes espère de tout son être qu'un crashdump soit disponible dans le répertoire /var/crash/ (si tel est la destination choisie)
Windows Server 2019 provides new features for migration of clusters between domains, Kubernetes support, access control policies, enhanced WinRM, and Storage Replica in standard edition. It uses a per-core licensing model requiring a minimum of 16 cores. Installation options include a core-only 8GB installation or a standard desktop experience installation. New features include improvements to shielded VMs, encrypted replication in Hyper-V, and Windows Subsystem for Linux support for both Windows and Linux containers on the same host.
50 most frequently used unix linux commands (with examples)Rodrigo Maia
This document provides examples for 50 common Linux commands, including tar, grep, find, ssh, sed, awk, vim, diff, sort, and more. It explains practical uses for each command and provides short code snippets to demonstrate basic functionality. The commands cover a wide range of tasks like archiving, searching, editing, comparing, and managing files, processes and system resources.
This extensive course covers all the topics which will definitely make you a Java Superstar. You can do almost anything in Java after this course. You will surely be a better programmer and better still a Elegant programmer after this course.
This document provides an introduction to shell scripting using the bash shell. It covers key concepts such as shell variables, command substitution, quoting, aliases, and initializing files. The shell acts as both a command-line interface and programming language. It executes commands, supports scripting through variables and control structures, and reads initialization files on startup to customize the environment. Well-formed shell scripts allow combining and sequencing commands to perform automated tasks.
This lecture discusses the Environment Variables concept, usage, and how processes acquire them. It then goes through the most popular ones
Check the other Lectures and courses in
http://Linux4EnbeddedSystems.com
or Follow our Facebook Group at
- Facebook: @LinuxforEmbeddedSystems
Lecturer Profile:
- https://www.linkedin.com/in/ahmedelarabawy
This document discusses file systems and distributed file systems. It describes how file systems work, including hardware, partitions, logical volume management (LVM), and basic and distributed file systems. It focuses on GlusterFS and NFS distributed file systems. GlusterFS allows various volume types including distributed, replicated, distributed-replicated and stripe. NFS provides network access but no redundancy. The document also discusses storage solutions for AI training workloads, including Pure Storage FlashBlade and AIRI systems optimized for high-performance needs of AI.
El DNS es un sistema jerárquico de nombres de dominio que asocia nombres de dominio a direcciones IP y localiza servidores de correo electrónico. Está compuesto de servidores DNS que responden a solicitudes de clientes DNS para resolver nombres a direcciones IP, y zonas de autoridad que almacenan datos sobre dominios y subdominios. El DNS consiste en una jerarquía de servidores DNS y zonas de autoridad que publican información sobre dominios y nombres de servicios.
Active Directory is a centralized hierarchical directory database that contains information about all user accounts and shared network resources. It provides user logon authentication services and organizes and manages user accounts, computers, groups and network resources. Active Directory enables authorized users to easily locate network resources. It features include fully integrated security, easy administration using group policy, scalability to large networks, and flexibility through features like cross-forest trusts and site-to-site replication.
The document summarizes how to write a character device driver in Linux. It covers the anatomy of a device driver including the user interface via device files, and kernel interfaces via file operations and major/minor numbers. It describes registering a character driver by defining file operations, reserving major/minor numbers, and associating them. Open and release functions handle initialization and cleanup. Read/write functions transfer data between userspace and hardware. Ioctl allows extending functionality.
Tutorial WiFi driver code - Opening Nuts and Bolts of Linux WiFi SubsystemDheryta Jaisinghani
While we understand the complex interplay of OSI layers, in theory, in practice understanding their implementation is a non-trivial task. The implementation details that enables a network interface card to communicate with its peers are oblivious to the end-users. Developers venturing into this domain for the first time often find it hard to find relevant tutorials that enable them to understand these implementation details. The aim of this talk is to provide an overview of WiFi Subsystem implemented in the Linux operating system. Specifically, this talk will explain the sequence of events that occur from application layer till physical layer when a connection is established over WiFi. After this talk, the audience will understand
(1) the bird's eye view of Linux WiFi Subsystem,
(2) what happens in an operating system when a WiFi card is plugged-in,
(3) how is a packet received/transmitted from physical layer to operating system kernel and vice-versa,
(4) brief overview of code structure of open-source drivers, and lastly
(5) important pointers to kick start driver code modifications.
Video Available here: https://www.youtube.com/watch?v=pa1oEyc7Dm0
This document provides an overview of Linux Bash shell scripting. It covers topics such as writing basic scripts, variables, conditionals, loops, functions, arguments, and input/output redirection. Examples are given for many common scripting tasks like arithmetic operations, string manipulation, file operations, and comparing values. The document is intended to teach the basics of scripting in the Linux Bash shell.
Rutas absolutas y relativas para la manipulación de directorios y ficheros en...Ericka Zavala
Presentación utilizada para mis prácticas de la clase de Sistemas Operativos Avanzados donde se explican los conceptos de rutas absolutas y relativas y su uso con comandos MS-DOS. Este material esta bajo la licencia CC Attribution-NonCommercial-NoDerivs License, lo que significa que es libre para un uso no comercial y se puede copiar y distribuir en cualquier medio o formato siempre y cuando se respeten los créditos mostrados y no se realicen adaptaciones ni derivados del mismo.
This document provides an overview of basic Linux commands, including man for accessing manual pages, ls for listing directory contents, mkdir for creating directories, cd for changing directories, pwd for printing the working directory, and ~ for accessing the home directory. It also covers commands for copying, moving, removing files, clearing the screen, viewing file contents, searching within files, counting words, piping commands together, using wildcards, and changing file permissions with chmod. The document encourages learning through manual pages and understanding error messages.
DNS allows users to reference computer names via symbolic names like domain names instead of IP addresses. It works by translating these symbolic names to their associated IP addresses. DNS uses a hierarchical and distributed database across interconnected name servers to provide a global directory service for name resolution on the internet.
El documento proporciona instrucciones para la instalación del servidor web WAMP Server en Windows. En menos de 3 oraciones, resume los pasos principales como descargar e instalar WAMP Server, aceptar los términos y condiciones, y finalmente acceder al servidor desde el navegador para visualizar las herramientas.
Este documento resume los pasos realizados para instalar Java y compilar dos programas simples llamados "Saludo.java" y "Suma.java" usando comandos de línea de comandos. Describe cómo descargar e instalar el JDK de Java, configurar el PATH, escribir el código para cada programa en un editor de texto, compilarlos usando "javac", y ejecutarlos usando "java". Concluye que es necesario configurar correctamente el PATH de Java y que el archivo .class contiene el código en bytecodes para ser ejecutado por la má
Espero les sirva este manual paso a paso de como hacer su primera aplicación en Python, usando como framework web Django, en fedora19, saludos y suerte a todos.
Stalin Tusa V.
El documento describe la instalación del kit de desarrollo de Java (JDK) en Windows y la configuración de las variables de entorno PATH y CLASSPATH. Explica los pasos para instalar el JDK, incluyendo la ejecución del instalador, la selección de herramientas y la espera a que se complete. También detalla cómo configurar las variables PATH y CLASSPATH para trabajar con el lenguaje Java, como crear la variable CLASSPATH y agregar la ubicación del JDK a la variable PATH.
Este documento describe cómo generar documentación Javadoc para una clase llamada Presentación. Explica cómo crear el archivo Presentación.java con comentarios, y luego usar el comando javadoc para generar archivos HTML que documentan la clase. Los archivos HTML muestran el autor, versión y resumen de la clase Presentación.
Este documento describe cómo crear reportes en JDeveloper utilizando JasperReports e IReport. Explica cómo configurar IReport para conectarse a una base de datos, diseñar un reporte simple con un campo de búsqueda, y ejecutar el reporte para generar un archivo JRXML que luego puede usarse en JDeveloper.
Rendimiento en aplicaciones web con Symfony2Asier Marqués
Este documento proporciona consejos sobre el rendimiento web y el rendimiento de bases de datos. Resalta la importancia de diseñar aplicaciones de forma escalable y optimizada desde el principio. Recomienda evitar consultas innecesarias, usar índices adecuados, particionar tablas grandes y almacenar en caché resultados cuando sea posible. También analiza herramientas para medir el rendimiento como Varnish y sugiere opciones alternativas como NoSQL para ciertos casos.
Este documento describe cómo crear documentación Javadoc para una clase llamada Presentación. Explica cómo generar el archivo Presentación.java con comentarios Javadoc y luego usar la herramienta Javadoc para crear documentación HTML. La documentación incluye información sobre el autor, la versión y una breve descripción de la clase Presentación.
El documento describe los pasos para descargar e instalar el Java SE Development Kit (JDK), la documentación de la API de Java, y el entorno de desarrollo NetBeans en un sistema operativo Windows. Primero se debe descargar el JDK de Oracle y luego la documentación de Java desde una página web. Finalmente, se explican los pasos para descargar e instalar NetBeans desde su página web.
La instalación de iReport en NetBeans permite crear reportes dinámicos. Se descarga e instala iReport, se configura la variable JDK, y se ejecuta el programa. Luego, se crea una tabla en MySQL y un datasource en iReport para acceder a los datos sin una aplicación Java. Finalmente, el Wizard guía la creación del primer reporte seleccionando el query, campos, y diseño.
La instalación de iReport en NetBeans permite crear reportes dinámicos. Se descarga e instala iReport, se configura la variable JDK, y se ejecuta el programa. Luego, se crea una tabla en MySQL y un datasource en iReport para acceder a los datos sin una aplicación Java. Finalmente, el Wizard guía la creación del primer reporte seleccionando el query, campos, y diseño.
Introducción al desarrollo de aplicaciones webAnfap
1) El documento introduce el desarrollo de aplicaciones web usando NetBeans IDE, mostrando cómo crear una aplicación que recibe el nombre de un usuario en una página JSP y lo mantiene a través de una sesión usando un componente JavaBeans.
2) Explica cómo configurar un proyecto de aplicación web, crear y editar archivos JSP y Java, y compilar y ejecutar el proyecto.
3) Requiere NetBeans IDE 6.0 o posterior, JDK 5 o posterior, y un servidor de aplicaciones como GlassFish o Tom
El documento proporciona instrucciones para instalar y configurar Oracle Forms y Reports. Incluye descargar e instalar Oracle Developer Suite 10g, editar archivos de configuración como tnsnames.ora y formsweb.cfg para establecer conexiones a bases de datos, y cambiar parámetros de Java para ejecutar formularios en el navegador.
Este documento presenta una introducción a C# y .NET, incluyendo objetivos como adquirir conceptos básicos de .NET, reconocer las características de C#, y conocer la historia de .NET. Explica que C# es el lenguaje del servidor que se usa para tomar decisiones complejas e incluye ejemplos de cómo crear clases, métodos, y usar condicionales if para tomar decisiones basadas en parámetros.
Este documento presenta una introducción al lenguaje PHP. Explica cómo instalar un servidor web local llamado EasyPHP para ejecutar programas PHP localmente antes de publicarlos en un servidor. Luego muestra cómo crear el primer programa PHP "Hola Mundo" y cómo tomar datos de un formulario web para usarlos en una página PHP. Finalmente, introduce la instrucción condicional IF en PHP para cambiar el comportamiento de un programa según diferentes condiciones.
Conceptos básicos de Ruby on Rails incluyendo:
- Controladores y acciones
- Rutas
- Configuraciones de applicacion
- Generación de modelos y Active Record
- Plantillas y vistas
- REST y recursos
Además de dos ejemplos prácticos:
- Página con mensaje 'Hola Mundo'
- MiniAplicación de blogs
Los pasos para instalar Joomla en un servidor local incluyen instalar la aplicación appserv, copiar la carpeta Joomla en la carpeta www, completar la instalación guiada en el navegador ingresando la dirección localhost, configurar los detalles de la base de datos, establecer la configuración del sitio y la instalación, y acceder a la administración del sitio en localhost/administrator para modificar módulos y plantillas.
El documento describe cómo configurar un entorno de desarrollo para PHP en GNU/Linux, incluyendo la instalación de Apache, PHP y MySQL. Luego, presenta algunos ejemplos básicos de programación en PHP como mostrar cadenas, tablas y directorios de imágenes. El objetivo es enseñar PHP a través de ejemplos prácticos de código.
Este documento proporciona un manual de 15 pasos para configurar Eclipse para integrar Tomcat V6.0 y JADE V4.0. Los pasos incluyen descargar e instalar Eclipse, Tomcat y JADE, agregar las bibliotecas JADE a Eclipse, crear agentes, servlets y clases de usuario, agregar código de ejemplo, crear un formulario HTML, ejecutar el proyecto en el servidor Tomcat, crear un archivo JAR y probar la integración ingresando en un formulario de prueba en el navegador.
Similar a Examen febrero 2017-2018_daw_daw_solucion_ (1) (20)
1.
Módulo Profesional:
Despliegue de Aplicaciones Web (DAW)
I.E.S.:
Aguadulce C.F.G.S. :
Desarrollo de Aplicaciones Web (DAW)
Fecha:
Miércoles 7 de Febrero de 2018 Hora de Comienzo:
12:00 horas
Examen:
Teórico y Práctico. Duración:
2 horas
Nombre:Yolanda Jiménez Capel D.N.I.:
Centro en el que se realiza el examen:
INSTRUCCIONES:
La puntuación total del examen será de 10 puntos. Sección teórica: 3 puntos. Sección práctica: 7 puntos
.
● La nota del examen se obtendrá mediante la suma de la sección teórica (3 puntos) y de la sección práctica (7
puntos), siempre y cuando la nota de la sección teórica sea mayor o igual que 1 (sobre 3) y la nota de la
sección práctica sea mayor o igual que 3 (sobre 7).
● La sección de TEORÍA se valora de 0 a 3 puntos y consta de 30 preguntas de tipo test. Cada respuesta
correcta suma 0,10 puntos y cada respuesta incorrecta resta 0,05 puntos. Las preguntas sin contestar no suman
ni restan. En cada pregunta
sólo hay una única respuesta correcta
.
● La parte de PRÁCTICA se valora de 0 a 7 puntos y consta de 6 ejercicios
EXAMEN:
SECCIÓN TEÓRICA.
LAS RESPUESTAS A TODAS LAS PREGUNTAS SE ESCRIBIRÁN EN LA TABLA DE RESPUESTAS.
NO SE TENDRÁ EN CUENTA NINGUNA RESPUESTA FUERA DE ESTA TABLA
TABLA DE RESPUESTAS A LAS PREGUNTAS TIPO TEST:
Pregunta: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
Respuesta: A B D A C B C B D B A B A B A D B A C B C B B C B C D A C D
Formación Profesional a Distancia Página 1 de 4
2.
Módulo Profesional:
Despliegue de Aplicaciones Web (DAW)
I.E.S.:
Aguadulce C.F.G.S. :
Desarrollo de Aplicaciones Web (DAW)
Fecha:
Miércoles 7 de Febrero de 2018 Hora de Comienzo:
12:00 horas
Examen:
Teórico y Práctico. Duración:
2 horas
Nombre:Yolanda Jiménez Capel D.N.I.:
Centro en el que se realiza el examen:
SECCIÓN PRÁCTICA.
Suponiendo que dispones de una máquina que cuenta con un sistema operativo Ubuntu recientemente actualizado, esta
máquina tiene el entorno de red configurado y, además, dispones de conexión a Internet. Además, estás trabajando con
la cuenta del usuario root.
Ejercicio 1) [1 punto] Explica brevemente qué hace cada una de las instrucciones siguientes.
#apache2ctl start →
inicia el servidor
#a2enmod ssl →
carga/actualiza modulo ssl
#curl
http://localhost
→
Adicionalmente, para comprobar si el servidor web está funcionando
desde la línea de comandos podríamos usar el comando siguiente (entre otros muchos)
Ejercicio 2) [2 puntos] ¿Qué pasos y ficheros debe modificar para crear un host virtual con nombre
private.febcorp.local y sólo responda al puerto 8085? Enumera los pasos e indica los ficheros que son necesarios
modificar para su correcto funcionamiento.
En primer lugar hay que modificar el archivo /etc/hosts para que sea capaz de resolver el nombre
“private.febcorp.local”. Para ello, debemos añadir una línea para ello:
Una vez que ya mi ordenador es capaz de resolver private.febcorp.local, entonces creo un nuevo
archivo en la carpeta /etc/apache2/sitesavailable para albergar la configuración de este host privado, en
este caso, el nombre elegido es private_febcorp_local.conf. Las cosas más importantes a indicar son el
puerto de escucha (8085), el nombre del servidor (ServerName private.febcorp.local) y la raíz de
documentos (DocumentRoot /var/www/feb-corp-private-app).
Después de esto es necesario crear la carpeta /var/www/feb-corp-private-app y crear dentro de ella el
archivo index.html. Una vez creado, podemos probar la configuración y reiniciar el servidor apache con
los siguientes comandos:
•apache2ctl configtest
•service apache2 restart
Con esto el servidor web apache es accesible a través de “private.febcorp.local:8085”. Opcionalmente,
podemos crear una redirección, para que al intentar acceder
al puerto 8085 desde otro dominio (www.febcorp.local:8085) se redirija a private.febcorp.local:8085:
Formación Profesional a Distancia Página 2 de 4
3.
Módulo Profesional:
Despliegue de Aplicaciones Web (DAW)
I.E.S.:
Aguadulce C.F.G.S. :
Desarrollo de Aplicaciones Web (DAW)
Fecha:
Miércoles 7 de Febrero de 2018 Hora de Comienzo:
12:00 horas
Examen:
Teórico y Práctico. Duración:
2 horas
Nombre:Yolanda Jiménez Capel D.N.I.:
Centro en el que se realiza el examen:
Ejercicio 3) [1 punto] Explica qué es y para qué sirve (muy brevemente) cada uno de estos items.
(1 punto)
Forcetype applicacion/pdf>
abrir los documentos con el formato pdf
ServerName
www.dawcorp.local
→
nombre del servidor
catalina.sh →
script con el catalina
AllowOverrite →
A
llowOverride AuthConfig” para que funcionara realmente el servicio.
Ejercicio 4) [1 puntos] Teniendo el siguiente fichero build.xml:
<?xml version="1.0"?>
<project name="user2_app2" default="empaquetar" basedir=".">
<target name="empaquetar">
<jar destfile="user2_app2.war" basedir="user2_app2."/>
</target>
</project>
Explica la función y uso.
Ant
se basa en ficheros XML, normalmente configuramos el trabajo a hacer con nuestra aplicación en un
fichero llamado
build.xml
, así que vamos a ver algunas de las etiquetas con las que podemos formar el
contenido de este archivo.
● project
: Este es el elemento raíz del fichero XML y, como tal, solamente puede haber uno en todo
el fichero, el que se corresponde a nuestra aplicación Java.
● target
: Un target u objetivo es un conjunto de tareas que queremos aplicar a nuestra aplicación en
algún momento. Se puede hacer que unos objetivos dependan de otros, de forma que eso lo trate
Ant automáticamente.
● task
: Un task o tarea es un código ejecutable que aplicaremos a nuestra aplicación, y que puede
contener distintas propiedades (como por ejemplo el classpath).
Ant
incluye ya muchas básicas,
como compilación y eliminación de ficheros temporales, pero podemos extender este mecanismo si
nos hace falta. Luego veremos algunas de las disponibles.
● property
: Una propiedad o property es, simplemente, algún parámetro (en forma de par
nombrevalor) que necesitamos para procesar nuestra aplicación, como el nombre del compilador,
etc. Ant incluye ya las más básicas, como son BaseDir para el directorio base de nuestro proyecto,
Formación Profesional a Distancia Página 3 de 4
4.
Módulo Profesional:
Despliegue de Aplicaciones Web (DAW)
I.E.S.:
Aguadulce C.F.G.S. :
Desarrollo de Aplicaciones Web (DAW)
Fecha:
Miércoles 7 de Febrero de 2018 Hora de Comienzo:
12:00 horas
Examen:
Teórico y Práctico. Duración:
2 horas
Nombre:Yolanda Jiménez Capel D.N.I.:
Centro en el que se realiza el examen:
ant.file para el path absoluto del fichero build.xml, y ant.java.version para la versión de la JVM.
Declaramos el proyecto indicando, la acción a r alizar por defecto (default="compilar"), e indicamos que el
directorio base es el actual (basedir=".").
Por último declaramos un target llamado compilar, que es el que hemos declarado como por defecto.
En este objetivo tenemos una única tarea, la de compilación javac, a la que por medio de los atributos
srcdir y destdir le indicamos los directorios fuente y destino, que recogemos de las propiedades
anteriormente declaradas con ${fuente} y ${destino}.
Lo único que nos queda es compilar nuestro código, así que, simplemente, estando situados en el
directorio donde tenemos nuestro build.xml, desde una ventana de MS-DOS o terminal GNU/Linux,
podemos hacer:
#[PATH_TO_ANT]ant
Ejercicio 5) [1 punto] ¿Para generar log de acceso con prefijo “log_efebrero_accceso” a nivel del engine
Catalina, para que haga un log de todo lo que pasa a este motor de Tomcat, donde debes acceder y que
modificaciones debes realizar?
Solución:
Para configurar y generar logs de acceso deberemos acceder a $CATALINA_HOME/conf/server.xml y
modificar su contenido con
<Valve className="org.apache.catalina.valves.AccessLogValve" directory="logs"
prefix="log_efebrero_acceso" suffix=".log"
pattern='%h %l %u %t "%r" %s %b' resolveHosts="false" />
Ejercicio 6) [1 punto]Se desea crear una aplicación web , para ello escribe las lineas necesarias para crear un
fichero index.html el cual lleve como título tu dni y en el cuerpo, el nombre del módulo, tu nombre completo y
la fecha de hoy.
Solución:
<html>
<head><title>45777777x</title>
</head>
<body><h1 align=center>DESPLIEGUE DE APLICACIONES WEB</h1>
<div align=center>
Yolanda Jiménez Capel.07/02/2018
</body></html>
Formación Profesional a Distancia Página 4 de 4