XAMPP es un paquete que permite instalar varios servidores en el sistema de forma sencilla. XAMPP incluye, entre otros, el servidor de páginas web Apache, el servidor de bases de datos MySQL y la herramienta phpMyAdmin para administrar bases de datos MySQL.
Para instalar XAMPP en Ubuntu comenzaremos bajando el paquete desde el siguiente enlace:XAMPPA continuación copiamos el paquete que hemos descargado al directorio /opt. Abrimos el terminal (Aplicaciones/Accesorios/Terminal) y descomprimimos el fichero:
- cd /opt
- sudo tar -zxvf xampp-linux-1.6.tar.gz
Una vez que hemos hecho esto, ya tenemos instalado XAMPP. Para iniciar cada uno de los servidores ejecutaremos la siguiente orden:
- sudo /opt/lampp/lampp start
En el terminal deben aparecer las siguientes líneas que indican que XAMPP se ha iniciado correctamente:XAMPP: Starting Apache with SSL (and PHP5)…
XAMPP: Starting MySQL…
XAMPP: Starting ProFTPD…
XAMPP for Linux started…
Ahora podemos probar el servidor Apache abriendo el navegador y escribiendo http://localhost en la barra de direcciones. Debe aparecer una página como la siguiente:
Como desintalar XAMPP sudo rm -rf /opt/lampp
START AND STOP PARAMETERSParameter Description start Starts XAMPP. stop Stops XAMPP. restart Stops and starts XAMPP. startapache Starts only the Apache. startssl Starts the Apache SSL support. This command activates the SSL support permanently, e.g. if you restarts XAMPP in the future SSL will stay activated. startmysql Starts only the MySQL database. startftp Starts the ProFTPD server. Via FTP you can upload files for your web server (user "nobody", password "lampp"). This command activates the ProFTPD permanently, e.g. if you restarts XAMPP in the future FTP will stay activated. stopapache Stops the Apache. stopssl Stops the Apache SSL support. This command deactivates the SSL support permanently, e.g. if you restarts XAMPP in the future SSL will stay deactivated. stopmysql Stops the MySQL database. stopftp Stops the ProFTPD server. This command deactivates the ProFTPD permanently, e.g. if you restarts XAMPP in the future FTP will stay deactivated. security Starts a small security check programm.
No hay comentarios:
Publicar un comentario