많이 달라진 DSM7.2

시놀로지나스 DSM6버전과는 메뉴구성 및 보안성, 기능면에서 많은 변화가 있는 DSM7버전! 웹을 운영하는 NAS유저를 위한 고유주소설정에 대해서 설명한다.

01

Putty를 통한 터미널 접속

nas-제어판-터미널 및 SNMP 메뉴에서 SSH 서비스를 활성화

putty앱을 실행하고 나스 url과 ssh 포트를 입력하여 접속

계정과 비밀번호를 입력하고 sudo -i 를 입력하여 root 권한 획득

cd / 를 입력하여 최상위 위치로 이동

02

고유주소확인하기

웹호스팅에서 웹포털, 웹서비스를 설정한 것을 바탕으로 각 사이트의 고유주소를 확인

cd /usr/local/etc/nginx/conf.d-available

conf.d-available 폴더안의 .w3conf 파일을 vi 편집기로 열어서 다음을 포함한 파일을 찾는다.

root “/volume1/web/wordpress”;

index index.php index.htm index.html;

해당 파일의 맨 마지막 include 라인에 나오는 …1111-1111-1111-1111/user.conf* 형태의 구문에서 1111-1111-1111-1111 이 해당 가상호스팅의 고유주소이다.

드래그하여 ctrl+C 하여 복사한 후 메모장에 저장

:q 를 입력하여 vi 편집기를 닫는다.

03

사용자파일 user.conf* 만들기

root@나스이름:/usr/local/etc/nginx/conf.d-available# 상태에서 바로

cd /usr/local/etc/nginx/conf.d 를 입력하고 ls 입력한 후 폴더안에 있는 해당 고유주소를 찾는다. 하지만 처음 설정이므로 존재하지 않기에 폴더를 만들어주고 그 하위에 사용자파일을 생성하여 저장한다.

cd /usr/local/etc/nginx/conf.d# 상태에서 바로(예. 고유주소가 1111-1111-1111-1111 라고 한다면)

mkdir 1111-1111-1111-1111

cd 1111-1111-1111-1111

vi user.conf.wordpress-permalink

04

vi 편집기에서 사용자파일 내용입력

vi 편집기가 열리면 i(편집모드)를 누르고 아래 구문 입력(복사 후 마우스 우클릭으로 붙여넣기)

location / {

try_files $uri $uri/ /index.php?$args;

}

위 문구 입력 후 ESC 를 눌러 편집모드에서 나오고

:wq 를 입력해서 파일을 저장하고 닫는다.

05

저장파일 확인, nginx 재시작

vi 편집기를 닫고 ls 를 입력해서 user.conf.wordpress-permalink 파일 확인

synosystemctl restart nginx 입력해서 nginx 를 재시작하면

DSM 재부팅시에도 해당 사용자파일을 불러오므로 고유주소 설정은 유지됨

What They’re Saying

It was really fun getting to know the team during the project. They were all helpful in answering my questions and made me feel at ease. The design ended up being better than I could have envisioned!

Eve CrawfordProduct Designer

By far the best team I've ever worked with. They truly understood the look I was going for and completely nailed it! I would highly recommend them as a company, you simply just won't find any better team!

Aura BrooksGraphic Designer

Salient is by far the most astonishing WP theme out there! I literally could not be happier that I chose to buy your theme! Your regular updates and superb attention to detail blows me away every time I visit my new site!

Zak ReidInstructor, Skate Nao

I'm wondering why I never contacted these guys sooner! Seriously, they all have commendable talent in their respective fields and knocked my concept out of the ballpark. Thanks for an amazing experience!

Jack GrahamCo Founder, Coffee Inc