PUTTY 서버 시작 및 종료하는 방법
![](https://t1.daumcdn.net/cfile/tistory/999D18475C9898AC13)
PUTTY로 SSH 접근 후, 해당 재시작 및 종료하는 방법입니다.
1. ftp서버 경로로 이동
PUTTY 접속하고 LOGIN을 한 후에,
cd ftp서버 경로를 적어줍니다.
예를 들면,
![](https://t1.daumcdn.net/cfile/tistory/999927485C63DEE62B)
여기서 cd는 chdir, 디렉토리 변경의 준말입니다.(change directory)
2. bin디렉토리로 이동
![](https://t1.daumcdn.net/cfile/tistory/99B43A425C63DF4B14)
ls를 해주면 해당 디렉토리 밑에 있는 폴더들을 보여줍니다.
![](https://t1.daumcdn.net/cfile/tistory/990579335C63DF920D)
cd bin은 bin디렉토리로 이동할 수 있게 해줍니다.
3. shutdown.sh 와 startup.sh
![](https://t1.daumcdn.net/cfile/tistory/993B16425C63E0EE32)
bin디렉토리로 이동하면 shutdown.sh와 startup.sh 파일을 볼 수 있는데
shutdown은 우리가 아는 것처럼 종료
startup은 실행입니다.
종료하는 방법은
./shutdown.sh
실행하는 방법은
./startup.sh
아주 쉽습니다.
![](https://t1.daumcdn.net/cfile/tistory/9958903B5C63E0EE08)
위 사진은 톰캣 서버가 실행될때 나오는 목록입니다.