2016年10月19日水曜日

vsftpの設定

mkdir -p /var/www/html
chmod -R 2775 /var/www/html
adduser ec2-user
groupadd www-data
usermod -G www-data ec2-user
chown -R ec2-user:www-data /var/www/html
service vsftpd restart



usermod -a -G www-data apache

0 件のコメント: