Loading presentation...

Present Remotely

Send the link below via email or IM

Copy

Present to your audience

Start remote presentation

  • Invited audience members will follow you as you navigate and present
  • People invited to a presentation do not need a Prezi account
  • This link expires 10 minutes after you close the presentation
  • A maximum of 30 users can follow your presentation
  • Learn more about this feature in our knowledge base article

Do you really want to delete this prezi?

Neither you, nor the coeditors you shared it with will be able to recover it again.

DeleteCancel

Make your likes visible on Facebook?

Connect your Facebook account to Prezi and let your likes appear on your timeline.
You can change this under Settings & Account at any time.

No, thanks

Servirdor LAMP

No description
by

Santiago Manzano

on 3 May 2016

Comments (0)

Please log in to add your comment.

Report abuse

Transcript of Servirdor LAMP

Servirdor LAMP
Linux, el sistema operativo;
Apache, el servidor web;
MySQL/MariaDB, el gestor de bases de datos.
Perl, PHP, o Python, los lenguajes de programación.

LAMP
Instalación Apache
sudo apt -get update
sudo apt -get install apache2

http://tu_ip_publica
MySQL
sudo apt-get install mysql-server
sudo mysql_secure_installation
PHP
sudo apt-get install libapache2-mod-php5 php5

sudo apt-get install phpmyadmin
PhpMyAdmin
sudo nano /etc/apache2/mods-enabled/dir.conf
<IfModule mod_dir.c>
DirectoryIndex index.php index.html index.cgi index.pl index.xhtml index.htm
</IfModule>
sudo service apache2 restart
sudo nano /var/www/html/info.php

<? php
phpinfo ();
?>
http://dirección_IP_del_servidor/info.php
sudo nano /etc/apache2/apache2.conf
Include /etc/phpmyadmin/apache.conf
sudo service apache2 restart
sudo /etc/init.d/mysql start
Servidor FTP
Protocolo de transferencia de archivos
El objetivo del protocolo FTP es:

permitir que equipos remotos puedan compartir archivos
permitir la independencia entre los sistemas de archivo del
equipo del cliente y del equipo del servidor
permitir una transferencia de datos eficaz
Instalación FTP
sudo apt-get install vsftpd libpam-pwdfile
/etc/vsftpd.conf
write_enable=YES
local_umask=022
chroot_local_user=YES
allow_writeable_chroot=YES
pasv_enable=Yes
pasv_min_port=40000
pasv_max_port=40100

sudo service vsftpd restart
sudo useradd -m john -s /usr/sbin/nologin
/etc/shells
/usr/sbin/nologin

Full transcript