반응형

워드프레스를 구축하고 테마나 플러그인을 설치를 하려는데 아래와 같은 에러를 직면하는 경우가 있다.

"Unable to connect to the filesystem. please confirm your credentials."

이 경우 문제는 권한 문제이다.

따라서 권한을 변경해주면 바로 해결이 된다.

워드프레스 설치경로가 "~/wordpress" 라고 가정하면 아래와 같이 코드를 순서대로 입력하면 해결된다.

 

 

( 아래코드를 순서대로 입력, 다소 걸릴 수 있다. )

sudo chown -R apache /var/www
sudo chgrp -R apache /var/www
sudo chmod 2775 /var/www
find /var/www -type d -exec sudo chmod 2775 {} \;
find /var/www -type f -exec sudo chmod 0664 {} \;

 

( https://ansan-survivor.tistory.com/1076 의 일부분)

 

[AWS Amazon Linux 2] 아마존 클라우드에 워드프레스(wordpress) 구축하여 웹호스팅

여기서 사용하는 OS는 아마존이 제공하는 Amazon Linux 2 를 이용한 것이다. 사전에 Amazon Linux 2로 만든 LAMP 웹서버가 작동하고 있어야 한다. https://ansan-survivor.tistory.com/1072 [AWS Amazon Linux] 아..

ansan-survivor.tistory.com

 

 

 

반응형

+ Recent posts