騰訊雲搞定服務器,具體過程就不贅述了,文檔都有,諮詢客服或者自行百度,體驗一下過程。html
我用的下載包安裝的方法,自定義的路徑,文件名,輕微強迫症🤣。官方連接
遠程工具:MobaXtermlinux
我想了想仍是寫細一點,linux我也是剛玩,畢竟說的是從零開始(本身坑本身🤣),可是若是你連敲命令都不會,後面不用看了,先去惡補一下nginx
因爲是新服務器,安裝Nginx前,須要進行一些準備操做,非第一次操做請跳過:centos
systemctl start firewalld
firewall-cmd --add-port=80/tcp --permanent
systemctl restart firewalld
yum -y install pcre-devel yum -y install openssl openssl-devel
chmod +x ./configure
./configure --prefix=/app/nginxsys --with-http_stub_status_module --with-http_ssl_modul
這裏帶上ssl支持https,後期就不用麻煩了(踩坑後編輯,參考🤣)
瀏覽器
make make install cd /app/nginxsys/sbin ./nginx