Ask tạo server trên vps để remote, ai giúp em với

hieucontn2

Banned
Joined
Nov 14, 2010
Messages
212
Reactions
12
MR
0.000
em cài AppServ trên vps để tạo server trên vps nhưng remote toàn lỗi, chỉ được tầm chục link, ai biết cách khác chỉ em với, thanks all!
 
remote bt mà, mình toàn remote 1 phát 70-80 link có sao đâu. Kêu tên sell nó giúp cho, mà hình như phải open port nữa bạn à :)
 
open port rồi thì mới remote đc chứ
có lẽ do vps ko đủ độ trâu rùi :))
 
open port rồi thì mới remote đc chứ
có lẽ do vps ko đủ độ trâu rùi :))

mấy ông toàn vào nói linh tinh, không đọc kỹ à, không open mà lai remote được 10-20 link à

---------- Post added at 05:13 AM ---------- Previous post was at 05:13 AM ----------

VPS loại nào? người bán cấp cho bạn những gì

Muốn remote dc VPS phải có 1 chút đặc biệt
giúp mình với, thanks :X
 
Server Manager -- Roles -- Web Server (IIS)

Start các services running như trong hình dưới.

xU3TqXn


Sau đó vào tới chỗ cái website có hình trái đất, click vào name "Default Web Site".

Click vào Bindings ... ---> Edit.
Thay đổi "All Unassigned" thành IP LAN của VPS. -- OK -- Close.

NSEUMtM


Bật CMD lên:
Chạy đoạn script sau:

Code:
Netsh firewall set opmode disable
cd %windir%\system32\inetsrv
appcmd set config /section:directoryBrowse /enabled:true
appcmd set config /section:staticContent /+"[fileExtension='.001',mimeType='video/x-msvideo']"
appcmd set config /section:staticContent /+"[fileExtension='.002',mimeType='video/x-msvideo']"
appcmd set config /section:staticContent /+"[fileExtension='.003',mimeType='video/x-msvideo']"
appcmd set config /section:staticContent /+"[fileExtension='.004',mimeType='video/x-msvideo']"
appcmd set config /section:staticContent /+"[fileExtension='.005',mimeType='video/x-msvideo']"
appcmd set config /section:staticContent /+"[fileExtension='.006',mimeType='video/x-msvideo']"
appcmd set config /section:staticContent /+"[fileExtension='.007',mimeType='video/x-msvideo']"
appcmd set config /section:staticContent /+"[fileExtension='.008',mimeType='video/x-msvideo']"
appcmd set config /section:staticContent /+"[fileExtension='.009',mimeType='video/x-msvideo']"
appcmd set config /section:staticContent /+"[fileExtension='.010',mimeType='video/x-msvideo']"
appcmd set config /section:staticContent /+"[fileExtension='.011',mimeType='video/x-msvideo']"
appcmd set config /section:staticContent /+"[fileExtension='.012',mimeType='video/x-msvideo']"
appcmd set config /section:staticContent /+"[fileExtension='.013',mimeType='video/x-msvideo']"
appcmd set config /section:staticContent /+"[fileExtension='.014',mimeType='video/x-msvideo']"
appcmd set config /section:staticContent /+"[fileExtension='.015',mimeType='video/x-msvideo']"
appcmd set config /section:staticContent /+"[fileExtension='.mp4',mimeType='video/x-msvideo']"
appcmd set config /section:staticContent /+"[fileExtension='.mkv',mimeType='video/x-msvideo']"
appcmd set config /section:staticContent /+"[fileExtension='.7z',mimeType='video/x-msvideo']"
appcmd set config /section:staticContent /+"[fileExtension='.iso',mimeType='video/x-msvideo']"

appcmd add vdir /app.name:"Default Web Site"/ / /path:/[COLOR="red"]anything[/COLOR] /physicalPath:[COLOR="blue"]C:\[/COLOR]

anything: khi gõ trên address bar: http://IP_OF_VPS/anything nó sẽ show tất cả những gì có trên C:\


Còn lại tự suy ngẫm nhé ^^
 
Server Manager -- Roles -- Web Server (IIS)

Start các services running như trong hình dưới.

xU3TqXn


Sau đó vào tới chỗ cái website có hình trái đất, click vào name "Default Web Site".

Click vào Bindings ... ---> Edit.
Thay đổi "All Unassigned" thành IP LAN của VPS. -- OK -- Close.

NSEUMtM


Bật CMD lên:
Chạy đoạn script sau:

Code:
Netsh firewall set opmode disable
cd %windir%\system32\inetsrv
appcmd set config /section:directoryBrowse /enabled:true
appcmd set config /section:staticContent /+"[fileExtension='.001',mimeType='video/x-msvideo']"
appcmd set config /section:staticContent /+"[fileExtension='.002',mimeType='video/x-msvideo']"
appcmd set config /section:staticContent /+"[fileExtension='.003',mimeType='video/x-msvideo']"
appcmd set config /section:staticContent /+"[fileExtension='.004',mimeType='video/x-msvideo']"
appcmd set config /section:staticContent /+"[fileExtension='.005',mimeType='video/x-msvideo']"
appcmd set config /section:staticContent /+"[fileExtension='.006',mimeType='video/x-msvideo']"
appcmd set config /section:staticContent /+"[fileExtension='.007',mimeType='video/x-msvideo']"
appcmd set config /section:staticContent /+"[fileExtension='.008',mimeType='video/x-msvideo']"
appcmd set config /section:staticContent /+"[fileExtension='.009',mimeType='video/x-msvideo']"
appcmd set config /section:staticContent /+"[fileExtension='.010',mimeType='video/x-msvideo']"
appcmd set config /section:staticContent /+"[fileExtension='.011',mimeType='video/x-msvideo']"
appcmd set config /section:staticContent /+"[fileExtension='.012',mimeType='video/x-msvideo']"
appcmd set config /section:staticContent /+"[fileExtension='.013',mimeType='video/x-msvideo']"
appcmd set config /section:staticContent /+"[fileExtension='.014',mimeType='video/x-msvideo']"
appcmd set config /section:staticContent /+"[fileExtension='.015',mimeType='video/x-msvideo']"
appcmd set config /section:staticContent /+"[fileExtension='.mp4',mimeType='video/x-msvideo']"
appcmd set config /section:staticContent /+"[fileExtension='.mkv',mimeType='video/x-msvideo']"
appcmd set config /section:staticContent /+"[fileExtension='.7z',mimeType='video/x-msvideo']"
appcmd set config /section:staticContent /+"[fileExtension='.iso',mimeType='video/x-msvideo']"

appcmd add vdir /app.name:"Default Web Site"/ / /path:/[COLOR="red"]anything[/COLOR] /physicalPath:[COLOR="blue"]C:\[/COLOR]

anything: khi gõ trên address bar: http://IP_OF_VPS/anything nó sẽ show tất cả những gì có trên C:\


Còn lại tự suy ngẫm nhé ^^
Trước khi config cái này thì cần cài những gì anh Kai .:D
 
Server Manager -- Roles -- Web Server (IIS)

Start các services running như trong hình dưới.

xU3TqXn


Sau đó vào tới chỗ cái website có hình trái đất, click vào name "Default Web Site".

Click vào Bindings ... ---> Edit.
Thay đổi "All Unassigned" thành IP LAN của VPS. -- OK -- Close.

NSEUMtM


Bật CMD lên:
Chạy đoạn script sau:

Code:
Netsh firewall set opmode disable
cd %windir%\system32\inetsrv
appcmd set config /section:directoryBrowse /enabled:true
appcmd set config /section:staticContent /+"[fileExtension='.001',mimeType='video/x-msvideo']"
appcmd set config /section:staticContent /+"[fileExtension='.002',mimeType='video/x-msvideo']"
appcmd set config /section:staticContent /+"[fileExtension='.003',mimeType='video/x-msvideo']"
appcmd set config /section:staticContent /+"[fileExtension='.004',mimeType='video/x-msvideo']"
appcmd set config /section:staticContent /+"[fileExtension='.005',mimeType='video/x-msvideo']"
appcmd set config /section:staticContent /+"[fileExtension='.006',mimeType='video/x-msvideo']"
appcmd set config /section:staticContent /+"[fileExtension='.007',mimeType='video/x-msvideo']"
appcmd set config /section:staticContent /+"[fileExtension='.008',mimeType='video/x-msvideo']"
appcmd set config /section:staticContent /+"[fileExtension='.009',mimeType='video/x-msvideo']"
appcmd set config /section:staticContent /+"[fileExtension='.010',mimeType='video/x-msvideo']"
appcmd set config /section:staticContent /+"[fileExtension='.011',mimeType='video/x-msvideo']"
appcmd set config /section:staticContent /+"[fileExtension='.012',mimeType='video/x-msvideo']"
appcmd set config /section:staticContent /+"[fileExtension='.013',mimeType='video/x-msvideo']"
appcmd set config /section:staticContent /+"[fileExtension='.014',mimeType='video/x-msvideo']"
appcmd set config /section:staticContent /+"[fileExtension='.015',mimeType='video/x-msvideo']"
appcmd set config /section:staticContent /+"[fileExtension='.mp4',mimeType='video/x-msvideo']"
appcmd set config /section:staticContent /+"[fileExtension='.mkv',mimeType='video/x-msvideo']"
appcmd set config /section:staticContent /+"[fileExtension='.7z',mimeType='video/x-msvideo']"
appcmd set config /section:staticContent /+"[fileExtension='.iso',mimeType='video/x-msvideo']"

appcmd add vdir /app.name:"Default Web Site"/ / /path:/[COLOR="red"]anything[/COLOR] /physicalPath:[COLOR="blue"]C:\[/COLOR]

anything: khi gõ trên address bar: http://IP_OF_VPS/anything nó sẽ show tất cả những gì có trên C:\


Còn lại tự suy ngẫm nhé ^^

chạy script mà sao vãn ko thấy nhỉ , có phải dùng notepad seva lại với 1 file.cmd rùi chạy nó ko ,
tên LEO có onl ko thế
 
123

đén bước này thì tịt. ai giúp với

9737ce399e6cf297b262567ea1215da4_41052652.anh13.jpg

vào serve manager (bên start) => vào go to ... và ie esc turn off hết 2 cái đó đi
download xammp về cài ( k0 vài vào ổ chứa win) chạy xammp.download rapidleech về bỏ vào xammp/httdocs gì đó
vào canyouseeme.org xem ip của vps.
 

Attachments

  • 9737ce399e6cf297b262567ea1215da4_41052652.anh13.jpg
    9737ce399e6cf297b262567ea1215da4_41052652.anh13.jpg
    23.2 KB · Views: 23
GWAN, NginX...không lằng nhằng và rắc rối! Yêu cầu mở port là đủ! Còn lại muốn port nào thì tự chỉnh file config!
 

Announcements

Today's birthdays

Forum statistics

Threads
421,488
Messages
7,111,043
Members
173,663
Latest member
duclap223

Most viewed of week

Most discussed of week

Most viewed of week

Most discussed of week

Back
Top Bottom