在mac上開啓httpServer服務

1,開啓http服務 python os系統自帶apache服務,用命令行:apache sudo apachectl start  瀏覽器 開啓http服務spa 2,cd到要共享的文件夾內,用命令行命令行 python -m SimpleHTTPServer code 在http上共享文件夾內容圖片 3,在瀏覽器上輸入ci http://localhost:8000im 就能夠看到剛共享的內容
相關文章
相關標籤/搜索