리눅스 심볼릭링크 수정하는 방법 문의드립니다.

리눅스 심볼릭링크 수정하는 방법 문의드립니다.

QA

리눅스 심볼릭링크 수정하는 방법 문의드립니다.

본문

해외사이트에서 php 스크립트를 구매해서 설치하는데 작동이 잘 되지 않아 

개발자에게 문의했더니 다음과 같이 답을 해줬습니다. 

 

Please create a symbolic link (symlink) from public/storage to storage/app/public folder.

Normally, it should be created automatically during installation, but on some hosts automatic creation is disabled, in which case the symlink should be added manually.


If you have SSH access you can create the symlink by navigating to the web root folder of your domain and running the following command:


>_ php artisan storage:link

 

If you do not have SSH access please ask your hosting support to create the symlink for you.

 

 

그런데 FTP로 폴더를 찾아보니 아래처럼 심볼릭링크가 있긴합니다만, 

더블클릭해서 들어가보려고 하면 에러가 나면서 들어가지지 않아요. 

아무래도 이게 원인같은데요. 

 

990919739_1587044004.1328.jpg

 

그래서 ssh 접속 후 public_html 루트디렉토리로 이동하여 php artisan storage:link 명령어를 주면

The "public/storage" directory already exists.

위와 같은 오류가 뜹니다. 

지원 티켓을 다 써버려서 더이상 개발자에게 문의할 수가 없게 되었네요ㅠㅠ 

 

도움부탁드립니다. 

감사합니다.

이 질문에 댓글 쓰기 :

답변 1

참고하세요.

ssh 상에서 경로 이동 후

ln -Tfs [새로바꿀경로] [바꿀심볼릭링크]

ex) ln -Tfs /sample/change_path/20161219 /root/user/change
 

 

감사합니다.
public_html 루트에서 ln -Tfs storage/app/public public/storage  이렇게 했는데 여전히 안되네요. 제가 맞게 한건가요? ㅠㅠ 원래 디자인만 해서 어렵네요...

답변을 작성하시기 전에 로그인 해주세요.
전체 123,532 | RSS
QA 내용 검색

회원로그인

(주)에스아이알소프트 / 대표:홍석명 / (06211) 서울특별시 강남구 역삼동 707-34 한신인터밸리24 서관 1404호 / E-Mail: admin@sir.kr
사업자등록번호: 217-81-36347 / 통신판매업신고번호:2014-서울강남-02098호 / 개인정보보호책임자:김민섭(minsup@sir.kr)
© SIRSOFT