wordpress 플러그인 또는 코어가 업데이트 되면 수동으로 업데이트 파일을 다운로드하여 업데이트 하는게 번거롭습니다.
ftp 데몬인 vsftp를 설치하여 wordpress 관리자 페이지에서 보다 쉽게 업데이트 하는 방법을 메모합니다.
먼저 터미널에서 sudo apt-get install 명령어로 vsftpd vsftp 데몬을설치
wordpress 관리자 페이지에서 플러그인 또는 코어 업데이트를 클릭한 후 ftp정보를 입력
- 내부 사설 ip를 입력
- 로그인 계정
- 로그인 비밀번호
Could Not Create Directory 에러가 발생하면 ..
chown -R www-data:www-data 워드프레스 홈 디렉토리 : chown명령어로 권한설정을 합니다.
출처 : http://publishingwithwordpress.com/how-to-solve-wordpress-could-not-create-directory/
1. Web Server Ownership
The first level is actually to make sure that your web server has ownership over the directories:
chown -R www-data:www-data your-wordpress-directory
2. Directory Permissions
The second level is also required – you must make sure that the directory permissions are properly set:
sudo find /var/www/wordpress/ -type d -exec chmod 755 {} \;
sudo find /var/www/wordpress/ -type f -exec chmod 644 {} \;
I’ve found that most solutions posted on the web show part two but skip the first part.