Entradas

Mostrando entradas de septiembre, 2016

Como Instalar vsftpd en Centos 7

FTP  (File Transfer Protocol) is probably the most popular method of uploading files to a server; a wide array of FTP servers, such as vsftpd, and clients exist for every platform. Pre-Flight Check These instructions are intended specifically for installing the vsfptd on CentOS 7. I’ll be working from a Liquid Web Self Managed CentOS 7 server, and I’ll be logged in as root. Step 1: Install vsftpd Warning: FTP data is insecure; traffic is not encrypted, and all transmissions are clear text (including usernames, passwords, commands, and data). Consider securing your FTP connection with SSL/TLS. As a matter of best practice we’ll update our packages: yum -y update Then let’s install vsftpd and any required packages: yum -y install vsftpd Step 2: Configure vsftpd For a refresher on editing files with vim see:  New User Tutorial: Overview of the Vim Text Editor Let’s edit the configuration file for vsftpd: vim /etc/vsftpd/vsftpd.conf Disallow anony...

Agregar un usuario de Linux con los permisos Root a carpetas

Add a Linux User With Document Root Permissions Last updated on: 2016-06-24   Authored by: Rackspace Support This article will walk you through setting up a Linux user with read and write permissions for your web document root, usually the  /var/www/  directory. Connecting with this user via SFTP will let you upload your website content directly to the  /var/www/your/site/folder . For the purposes of this example we’ll use an account named “demo”. Be sure to replace “demo” in the examples with your preferred name. These commands require superuser privileges so they assume you are running them from an account with sudo privileges. Getting the group and directory We’ll need to know the group the web server process is running under as well as the location of your web server’s document root. This information can usually be found in the web server’s config file (like httpd.conf  or  apache2.conf  for apache). We’ve listed the default values...