ubuntu搭建推流服務器Nginx+rtmp [論壇 - Ubuntu 哈啦]
正在瀏覽:
2 名遊客
回覆: ubuntu搭建推流服務器Nginx+rtmp |
|||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
會員二級
![]() ![]() 註冊日期:
2017/7/1 0:41 所屬群組:
已註冊使用者 等級: 7
HP : 0 / 152
![]() |
大大,操作幾次大約已知道了。謝謝
大大#3中有 裡面有列兩個下載點 * https://ftp.pcre.org/pub/pcre/ * ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/ 我要如何先下載在A電腦好,以後從A電腦位子192.168.43.4安裝進入 如我先下載到D:pcre-8.39.tar.gz 我用A電腦win內pietty連到我的ubunut系統在192.168.43.78 那我指令 $ wget -c http://192.168.43.4/D:pcre-8.39.tar.gz 可是我A電腦無法這樣打開。那我要如何安裝?
2017/9/2 13:00
|
||||||||||
![]() |
回覆: ubuntu搭建推流服務器Nginx+rtmp |
|||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
會員五級
![]() ![]() 註冊日期:
2012/4/22 10:50 所屬群組:
已註冊使用者 等級: 37
HP : 0 / 901
![]() |
jbyziag 寫到: 我看不太懂您上面描述的,您可能要再說明清楚,您每一台的作業系統,還有您要的是什麼? ============================================= 從上面您提到的「 http://192.168.43.4/D:pcre-8.39.tar.gz 」這個網址來看。 我建議您可以再複習「Web Server(網頁伺服器)」的「基本概念」。 若您要在「 192.168.43.78 」這臺機器,下指令如下,
則您必須先在「 192.168.43.4 」這臺機器,架設一個「Web Server(網頁伺服器)」。 例如,您可以採用我們一直在討論的「Nginx」,或是我在「#19」,有列一些簡易的,例如「php」或「python」。 關於「Nginx」的設定,如何達到這樣的功能,您可以再回過頭複習之前的回覆 「#77」,「#48」。 上面提到的是透過「http」的方式。 ================================================================================ 您也可以改透過「scp」或是「sftp」在「192.168.43.78」和「192.168.43.4」之間來傳檔, 這部份請先參考「鳥哥的 Linux 私房菜 / 第十一章、遠端連線伺服器SSH / XDMCP / VNC / RDP / 11.2.3 ssh 用戶端連線程式 - Linux 用戶: ssh, ~/.ssh/known_hosts, sftp, scp」 ================================================================================ ## Wikipidia (維基百科) * Web server (網頁伺服器) * URL (統一資源定位符) ================================================================================ ## 相關討論 * #3 回覆: 為什麼站上沒有16.10可以下載呢? ================================================================================ 以上簡略回覆,提供參考。 ![]()
2017/9/2 15:52
|
||||||||||
![]() |
回覆: ubuntu搭建推流服務器Nginx+rtmp |
|||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
會員二級
![]() ![]() 註冊日期:
2017/7/1 0:41 所屬群組:
已註冊使用者 等級: 7
HP : 0 / 152
![]() |
大大,我先下載pcre-8.39.tar.gz這檔案到A電腦,我要如何安裝在ubuntu系統內
要如何下指令 我A電腦win,要如何安裝到ubunut系統內
2017/9/3 18:48
|
||||||||||
![]() |
回覆: ubuntu搭建推流服務器Nginx+rtmp |
|||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
會員五級
![]() ![]() 註冊日期:
2012/4/22 10:50 所屬群組:
已註冊使用者 等級: 37
HP : 0 / 901
![]() |
jbyziag 寫到: 印象中,您之前不是可以在「A電腦(Win)」用「Filezilla」連到「Ubuntu Server」? 所以您應該可以使用「Filezilla」透過「sftp」或「ftp」連到「Ubuntu Server」, 這樣您就可以從「A電腦(Win)」把「pcre-8.39.tar.gz」這個檔案, 從「A電腦(Win)」傳到「Ubuntu Server」。 至於「pietty」是否能使用「scp」和怎麼操作,就要麻煩您自行再找網路的相關資料來研究了, 我目前沒在使用Win,我就不去深究這一段了。 ================================================================================ 至於您要在「Ubuntu Server」下指令,連到「A電腦(Win)」, 概念上跟上面提到的一樣,不過角色要翻轉過來, 也就是這時候「Ubuntu Server」這一臺的角色,變成「Client」, 而您的「A電腦(Win)」的角色變成「Server」。 您要透過「http」這個協定,則「A電腦(Win)」要架「Web Server」。 您要透過「ftp」這個協定,則「A電腦(Win)」要架「FTP Server」。 您要透過「sftp」這個協定,則「A電腦(Win)」要架「SFTP Server」。 ================================================================================ 另外有一個要再次跟您確認的是, 所以您的「Ubuntu Server」還是無法執行下面的指令,來下載「pcre-8.39.tar.gz」? 執行下面指令
或是執行下面指令
關於不能下載的這個議題,和上面這兩個指令,我之前有在「#12」回覆您。 ================================================================================ 以上提供參考 報告完畢 ![]()
2017/9/3 19:29
|
||||||||||
![]() |
回覆: ubuntu搭建推流服務器Nginx+rtmp |
|||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
會員二級
![]() ![]() 註冊日期:
2017/7/1 0:41 所屬群組:
已註冊使用者 等級: 7
HP : 0 / 152
![]() |
大大你好。如果我的ubunut伺服器ip位子多在192.168.43.78。要如何更改或是固定這個位子。有時侯分享器重開,ubunut伺服器在重開位子就換了
2017/9/8 15:54
|
||||||||||
![]() |
回覆: ubuntu搭建推流服務器Nginx+rtmp |
|||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
會員五級
![]() ![]() 註冊日期:
2012/4/22 10:50 所屬群組:
已註冊使用者 等級: 37
HP : 0 / 901
![]() |
jbyziag 寫到: 您需要研究您「分享器的設定」,應該可以找到類似「mac address 固定(綁定) ip address」的功能。 概念上,設定分享器, 將您「ubuntu伺服器」那一台機器網卡的「mac address」, 固定(綁定)「192.168.43.78」這個「ip address」就行了。 另外一個相關的關鍵字是「DHCP」。 以上提供參考 ![]()
2017/9/8 16:27
|
||||||||||
![]() |
回覆: ubuntu搭建推流服務器Nginx+rtmp |
|||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
會員二級
![]() ![]() 註冊日期:
2017/7/1 0:41 所屬群組:
已註冊使用者 等級: 7
HP : 0 / 152
![]() |
大大,已經可以了。謝謝
2017/9/9 21:07
|
||||||||||
![]() |
回覆: ubuntu搭建推流服務器Nginx+rtmp |
|||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
會員二級
![]() ![]() 註冊日期:
2017/7/1 0:41 所屬群組:
已註冊使用者 等級: 7
HP : 0 / 152
![]() |
大大:為何我的系統開久了就無法使用了。
2018/1/13 19:41
|
||||||||||
![]() |
回覆: ubuntu搭建推流服務器Nginx+rtmp |
|||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
會員二級
![]() ![]() 註冊日期:
2017/7/1 0:41 所屬群組:
已註冊使用者 等級: 7
HP : 0 / 152
![]() |
samwhelp您好,可以私下和您連絡嗎?
因之前您教我更改推流和,nas。我最近從新安裝為何多無法使用??
2019/4/12 0:55
|
||||||||||
![]() |
回覆: ubuntu搭建推流服務器Nginx+rtmp |
|||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
會員二級
![]() ![]() 註冊日期:
2017/7/1 0:41 所屬群組:
已註冊使用者 等級: 7
HP : 0 / 152
![]() |
#user nobody;
worker_processes 1; #error_log logs/error.log; #error_log logs/error.log notice; #error_log logs/error.log info; #pid logs/nginx.pid; events { worker_connections 1024; } http { autoindex on; include mime.types; default_type application/octet-stream; #log_format main '$remote_addr - $remote_user [$time_local] "$request" ' # '$status $body_bytes_sent "$http_referer" ' # '"$http_user_agent" "$http_x_forwarded_for"'; #access_log logs/access.log main; sendfile on; #tcp_nopush on; #keepalive_timeout 0; keepalive_timeout 65; #gzip on; server { #listen 80; listen 1995; server_name localhost; #charset koi8-r; #access_log logs/host.access.log main; location / { #root html; root /home/wjf/video/www; index index.html index.htm; } location /vd { alias /home/wjf/video; } #error_page 404 /404.html; # redirect server error pages to the static page /50x.html # error_page 500 502 503 504 /50x.html; location = /50x.html { root html; } # proxy the PHP scripts to Apache listening on 127.0.0.1:80 # #location ~ \.php$ { # proxy_pass http://127.0.0.1; #} # pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000 # #location ~ \.php$ { # root html; # fastcgi_pass 127.0.0.1:9000; # fastcgi_index index.php; # fastcgi_param SCRIPT_FILENAME /scripts$fastcgi_script_name; # include fastcgi_params; #} # deny access to .htaccess files, if Apache's document root # concurs with nginx's one # #location ~ /\.ht { # deny all; #} } # another virtual host using mix of IP-, name-, and port-based configuration # #server { # listen 8000; # listen somename:8080; # server_name somename alias another.alias; # location / { # root html; # index index.html index.htm; # } #} # HTTPS server # #server { # listen 443 ssl; # server_name localhost; # ssl_certificate cert.pem; # ssl_certificate_key cert.key; # ssl_session_cache shared:SSL:1m; # ssl_session_timeout 5m; # ssl_ciphers HIGH:!aNULL:!MD5; # ssl_prefer_server_ciphers on; # location / { # root html; # index index.html index.htm; # } #} } 從瀏覽器打開都無法顯示出來
2019/4/12 0:58
|
||||||||||
![]() |
您可以查看帖子.
您不可發帖.
您不可回覆.
您不可編輯自己的帖子.
您不可刪除自己的帖子.
您不可發起投票調查.
您不可在投票調查中投票.
您不可上傳附件.
您不可不經審核直接發帖.