This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
como_crear_otro_espacio_web_por_los_vps [2018/03/21 23:56] admin |
como_crear_otro_espacio_web_por_los_vps [2018/07/26 21:43] admin |
||
---|---|---|---|
Line 8: | Line 8: | ||
* Iniciar sesión vía un cliente SSH (putty para windows) | * Iniciar sesión vía un cliente SSH (putty para windows) | ||
- | * Ejecutar el comando: mkdir [ubicación del sitio web] donde [la dirección del sitio web] es la dirección absoluta del sitio web, algo así: /var/www/site2 | + | * Ejecutar el comando: mkdir [ubicación del sitio web] donde [la dirección del sitio web] es la dirección absoluta del sitio web, algo así: /var/www/site2, encontes seria: **mkdir /var/www/site2** |
- | * Ejecutar el comando: ftpasswd –hash, colocar su contraseña, copiar el hash, por ejemplo: $1$Ufw0WwR3$5T9PW6.HAnmVF52ZhROaq. | + | * Ejecutar el comando: **ftpasswd –hash**, colocar su contraseña por el FTP, copiar el hash, por ejemplo: $1$Ufw0WwR3$5T9PW6.HAnmVF52ZhROaq. |
- | * Editar el archivo /etc/proftpd/user.conf (via SFTP o el comando: nano /etc/proftpd/user.conf) y añadir la línea remplazando los términos en [] con sus valores: | + | * Editar el archivo /etc/proftpd/user.conf (via SFTP o el comando: nano /etc/proftpd/user.conf) y añadir la línea reemplazando los términos en [] con sus valores: |
[login]:[hash generado en el punto anterior]:33:33::[dirección del sitio web]:/bin/bash | [login]:[hash generado en el punto anterior]:33:33::[dirección del sitio web]:/bin/bash | ||
* Editar el archivo /etc/proftpd/proftpd.conf (via SFTP o el comando: nano /etc/proftpd/proftpd.conf), agregar ahí el nuevo login: | * Editar el archivo /etc/proftpd/proftpd.conf (via SFTP o el comando: nano /etc/proftpd/proftpd.conf), agregar ahí el nuevo login: |