搭建EasyDarwin伺服器

2021-08-19 18:53:00 字數 1179 閱讀 6917

easydarwin是高效能開源rtsp流**伺服器,基於darwin streaming server 維護和優化:rtsp**、關鍵幀快取、秒開畫面

主要是買了個伺服器,以前做rtsp相關的時候,也使用過easypusher、easyipcamera來測試,所以沒什麼事做就弄來玩一玩

搭建很簡單

wget

unzip v7.0.5.zip

cd easydarwin-7.0.5/

cd easydarwin/

chmod +x buildit

./buildit x64

cd x64/

cp ../winntsupport/html/ ./ -r

cp ../winntsupport/movies/ ./ -r

cp ../winntsupport/easydarwin.xml ./

然後執行

./easydarwin -c easydarwin.xml -d

服務就起來了

後台管理位址是 http://伺服器ip:8088/ 賬戶admin 密碼admin

下面是nodejs版本的

wget

unzip easydarwin-8.0.0-1804031316.zip

cd easydarwin-8.0.0-1804031315/

chmod +x start.sh

./start.sh

可以用一下指令來檢視log

./node_modules/.bin/pm2 logs easydarwin

0|easydarw | easydarwin rtsp server listening on rtsp://伺服器ip:554 in production mode

0|easydarw | easydarwin http server listening on http://伺服器ip:10008 in production mode

後台位址http://伺服器ip:10008

登入介面預設使用者名稱 admin, 密碼 123456

可以用一下指令來檢視狀態和停止服務

./node_modules/.bin/pm2 status

./node_modules/.bin/pm2 stop 0

相關的應用可以上github上搜尋

EasyDarwin伺服器搭建

原始碼編譯與配置 測試防火牆設定 伺服器的兩種模式 cd easydarwin master easydarwin chmod x buildit buildit x64 buildit i386 or buildit x64編譯出相應版本的可執行檔案 cd x64 or cd release 檔案...

伺服器搭建

問題一 com無法訪問到伺服器 問題二 將 com 301重定向到 www.com 解決方案 在httpd.conf檔案中 追加 如下內容 options followsymlinks rewriteengine on rewritecond com rewriterule l,r 301 2 禁止...

搭建伺服器

零基礎搭建伺服器 我用的是ubuntu,所有 sudo apt get install apache2 配置php的時候已經配好了,這裡就不重複配置了 安裝apxs 安裝過php,所以這個也忽略掉 sudo apt get install apache2 dev apxs是乙個為apache超文字傳...