1、進入linux系統,在linux系統下用ctrl+alt+t開啟命令視窗。
2、輸入命令whereis nginx進入到安裝的目錄裏面。
3、進入到cd /usr/local/nginx/sbin路徑,輸入啓動命令就完成了。