<작업내용>
1. VSFTP 설치, vsftpd.conf 설정
2. FTP 계정 생성, /var/www/html로 홈 설정, chown 적용
3. wp-content 및 하위 폴더에 대해 chmod 755 적용
4. wp-config.php에 FTP 정보 define 추가 및 FS_METHOD=direct 적용
<참고문서>
http://stackoverflow.com/questions/8686125/update-wordpress-theme-on-ec2
http://www.swhite.co/2012/05/how-to-set-up-wordpress-on-amazon-ec2_31.html
<업그레이드 이후 파일 및 디렉토리 권한 설정>
sudo chown -R ec2-user:ec2-user path/to/wordpress // Set the wp-contents into the apache group and then make files group writable sudo chgrp -R apache wp-content sudo chmod -R g+w wp-content // This makes new files created in wp-content and all of its sub-directories group-writable. sudo chmod g+s wp-content // edit wp-config.php define('FS_METHOD', 'direct'); sudo find . -type d -exec chmod 0755 {} ; sudo find . -type f -exec chmod 0644 {} ; sudo chown -R ec2-user:apache . sudo chmod -R g+w . sudo chmod g+s .
수동으로 업그레이드 하기
https://codex.wordpress.org/Updating_WordPress
워드프레스 배포판 (업그레이드)
https://wordpress.org/download/release-archive/