Tel: +1 310-997-0924 (Los Angeles), +82 070-8064-2559 (서울)
X f P D VK IG YT V RSS
RND

(마젠토2/Magento2) refresh index ssh 명령어

6월 22, 2017
1. ssh 접속 후 
2. cd 마젠토 설치된 폴더 이름
cd public_html – 마젠토2가 root 에 설치된 경우 
cd ‘특정 폴더 이름’ – 마젠토2가 특정 하위 카테고리에 설치된 경우에는 추가로 한번 더 들어간다.
3. 아래의 명령어들 중에서 필요한 것 사용. 
php bin/magento indexer:info – 기본 
php bin/magento indexer:status – 현재 상태 보기 
php bin/magento indexer:reindex 전체 reindex 하기 
php bin/magento indexer:reindex [indexer] – 지정해서
만일 메모리 부족 메세지가 나타나면 아래와 같이 -dmemory_limit=6G  를 넣어준다. 
php -dmemory_limit=6G bin/magento indexer:reindex