NGINX download files

 [root@localhost html]# netstat -tulpn | grep nginx

tcp        0      0 0.0.0.0:80              0.0.0.0:*               LISTEN      5342/nginx: master  

tcp6       0      0 :::80                   :::*                    LISTEN      5342/nginx: master  

[root@localhost html]# 


[root@localhost html]# pwd

/usr/share/nginx/html

[root@localhost html]# ls -lrt

total 793524

-rw-r--r--. 1 root root       368 Nov 10  2022 nginx-logo.png

-rw-r--r--. 1 root root      3693 Nov 10  2022 50x.html

-rw-r--r--. 1 root root      3650 Nov 10  2022 404.html

drwxr-xr-x. 3 root root     36864 Feb 24 08:57 yumdownloaddir

lrwxrwxrwx. 1 root root        20 Feb 24 11:29 en-US -> ../../doc/HTML/en-US

lrwxrwxrwx. 1 root root        18 Feb 24 11:29 img -> ../../doc/HTML/img

drwxr-xr-x. 2 root root        27 Feb 24 11:29 icons

lrwxrwxrwx. 1 root root        25 Feb 24 11:29 index.html -> ../../doc/HTML/index.html

lrwxrwxrwx. 1 root root        14 Feb 24 11:29 poweredby.png -> nginx-logo.png

-rw-r--r--. 1 root root 812496913 Feb 27 09:31 yumdownloaddir.tgz

[root@localhost html]# 


[user@postoffline tmp]$ curl -O http://postonline/yumdownloaddir.tgz

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current

                                 Dload  Upload   Total   Spent    Left  Speed

100  774M  100  774M    0     0  33.3M      0  0:00:23  0:00:23 --:--:-- 47.8M

[user@postoffline tmp]$ 



[user@postoffline tmp]$ ls -lrt yumdownloaddir.tgz

-rw-rw-r--. 1 gopal gopal 812496913 Feb 27 09:50 yumdownloaddir.tgz

[user@postoffline tmp]$ 



Comments

Popular Posts

AWR Report Analysis

Goldengate 19c Installation with issue resolution

Oracle 11g Physical Standy Setup

Oracle 12c 2-node RAC setup in VMware Player 15 -- Part01

Oracle to Postgres

Execution_Explain Plan

Active Session History Analysis

General Queries

Fragmentation & Re-organisation

OEM patches & vulnerabilities