1. 程式人生 > >無域名配置訪問雲伺服器檔案(用ip+埠號)(阿里雲+寶塔)

無域名配置訪問雲伺服器檔案(用ip+埠號)(阿里雲+寶塔)

1.首先在伺服器安裝寶塔

Linux :Centos安裝指令碼

yum install -y wget && wget -O install.sh http://download.bt.cn/install/install.sh && sh install.sh

2.開放8888埠()

下一步:

下一步:

3.訪問寶塔並登陸

http://yourIP:8888

4.在wwwroot中新增demo資料夾,在demo資料夾中新增index.php

5.在index.php中新增語句phpinfo();

6.配置訪問

(此處需要開放168埠)(步驟在前文已經說明)

下一步:

基本配置ok

開始訪問:ip:168