🔒 Closed Install NGINX on your windows

Status
Not open for further replies.

arsenal1205

Rarely opens PHC
I made this thread dahil medyo bored ako hehe at least may bagong kaalaman ako at kayo rin! Ishare ko sa inyo kung paanong mag install ng NGINX sa windows pc or laptop, (puede rin sa VPS na Windows Server) ninyo.

ABOUT NGINX. Ano ang NGINX? Intro muna tayo... Engine X pala ang pronounciation ng NGINX.
nginx [engine x] is an HTTP and reverse proxy server, a mail proxy server, and a generic TCP/UDP proxy server, originally written by You do not have permission to view the full content of this post. Log in or register now.. For a long time, it has been running on many heavily loaded Russian sites including You do not have permission to view the full content of this post. Log in or register now., You do not have permission to view the full content of this post. Log in or register now., You do not have permission to view the full content of this post. Log in or register now., and You do not have permission to view the full content of this post. Log in or register now.. According to Netcraft, nginx served or proxied You do not have permission to view the full content of this post. Log in or register now.. Here are some of the success stories: You do not have permission to view the full content of this post. Log in or register now., Netflix, You do not have permission to view the full content of this post. Log in or register now., You do not have permission to view the full content of this post. Log in or register now..

The sources and documentation are distributed under the You do not have permission to view the full content of this post. Log in or register now..

Commercial support is available from You do not have permission to view the full content of this post. Log in or register now.

Basic HTTP server features​





Other HTTP server features​





Mail proxy server features​



  • User redirection to You do not have permission to view the full content of this post. Log in or register now. or You do not have permission to view the full content of this post. Log in or register now. server using an external HTTP You do not have permission to view the full content of this post. Log in or register now. server;
  • User authentication using an external HTTP You do not have permission to view the full content of this post. Log in or register now. server and connection redirection to an internal You do not have permission to view the full content of this post. Log in or register now. server;
  • Authentication methods:
    • You do not have permission to view the full content of this post. Log in or register now.: USER/PASS, APOP, AUTH LOGIN/PLAIN/CRAM-MD5;
    • You do not have permission to view the full content of this post. Log in or register now.: LOGIN, AUTH LOGIN/PLAIN/CRAM-MD5;
    • You do not have permission to view the full content of this post. Log in or register now.: AUTH LOGIN/PLAIN/CRAM-MD5;
  • You do not have permission to view the full content of this post. Log in or register now. support;
  • You do not have permission to view the full content of this post. Log in or register now. support.


TCP/UDP proxy server features​





Architecture and scalability​



  • One master and several worker processes; worker processes run under an unprivileged user;
  • You do not have permission to view the full content of this post. Log in or register now.;
  • You do not have permission to view the full content of this post. Log in or register now. and You do not have permission to view the full content of this post. Log in or register now. without interruption of the client servicing;
  • You do not have permission to view the full content of this post. Log in or register now. for kqueue (FreeBSD 4.1+), epoll (Linux 2.6+), /dev/poll (Solaris 7 11/99+), event ports (Solaris 10), select, and poll;
  • The support of the various kqueue features including EV_CLEAR, EV_DISABLE (to temporarily disable events), NOTE_LOWAT, EV_EOF, number of available data, error codes;
  • The support of various epoll features including EPOLLRDHUP (Linux 2.6.17+, glibc 2.8+) and EPOLLEXCLUSIVE (Linux 4.5+, glibc 2.24+);
  • sendfile (FreeBSD 3.1+, Linux 2.2+, macOS 10.5+), sendfile64 (Linux 2.4.21+), and sendfilev (Solaris 8 7/01+) support;
  • You do not have permission to view the full content of this post. Log in or register now. (FreeBSD 4.3+, Linux 2.6.22+);
  • You do not have permission to view the full content of this post. Log in or register now. (FreeBSD 4.4+, Linux 2.4+, Solaris 2.6+, macOS);
  • Accept-filters (FreeBSD 4.1+, NetBSD 5.0+) and TCP_DEFER_ACCEPT (Linux 2.4+) You do not have permission to view the full content of this post. Log in or register now.;
  • 10,000 inactive HTTP keep-alive connections take about 2.5M memory;
  • Data copy operations are kept to a minimum.


Tested OS and platforms​



  • FreeBSD 3 — 12 / i386; FreeBSD 5 — 12 / amd64; FreeBSD 11 / ppc; FreeBSD 12 / ppc64;
  • Linux 2.2 — 4 / i386; Linux 2.6 — 5 / amd64; Linux 3 — 4 / armv6l, armv7l, aarch64, ppc64le; Linux 4 — 5 / s390x;
  • Solaris 9 / i386, sun4u; Solaris 10 / i386, amd64, sun4v; Solaris 11 / x86;
  • AIX 7.1 / powerpc;
  • HP-UX 11.31 / ia64;
  • macOS / ppc, i386, x86_64;
  • Windows XP, Windows Server 2003, Windows 7, Windows 10. (SA 11 GAGANA DIN YAN!)

Anong gamit kong pang testing ng NGINX?
Lenovo Think PAD T420
Windows 10 PRO X64

Installation na tayo:

Step 1: Download NGINX sa You do not have permission to view the full content of this post. Log in or register now. Dapat STABLE VERSION kung ayaw nyo mag ka bugs.
1661307829848.png

Step 2: Pag ka download ng NGINX extract nyo sa folder or drive na gusto ninyo. Itong sa akin sa drive D ko nilagay.
1661307972778.png

Step 3: Buksan ang command prompt o CMD [KAHIT HINDI RUN AS ADMINISTRATOR YUNG CMD PUEDE.] at itype ang mga commands na ito:

(Drive letter kung saan nakalagay ang NGINX) yung saakin D.

Code:
C:\Users\user name ninyo>D:

D:\>cd nginx-1.22.0

D:\nginx-1.22.0>nginx.exe
ACTUAL SCREENSHOT:
1661308210896.png
then press enter para mag install na ng NGINX.

Tapos mag popup yung Windows Security Alert na ito
1661308334607.png
DAPAT NAKA CHECK YUNG DALAWANG IYAN NA NAKA HIGHLIGHT. Tapos click Allow access.

Step 4: Mag bukas ng browser na paborito ninyong gamitin, at itype ang localhost sa URL/search bar.
Test sa EDGE:
1661308550492.png
Test sa CHROME:
1661308672765.png

Ready to use na ang NGINX sa system ninyo.

Step 5: Palitan ninyo yung page ng Welcome to nginx! website sa root folder.

Dito kung paano ninyo lalagyan ng webpage ninyo sa NGINX.

Mag bukas ulit ng command prompt. Again hindi na kailangan ng admin privileges nito. Tapos i type ang mga commands na ito:
Code:
C:\Users\user name ninyo>D:

D:\>cd nginx-1.22.0

D:\nginx-1.22.0
1661309165715.png
WAG MUNANG PRESS ENTER!

Puntahan ninyo yung root directory ng NGINX:
1661309259318.png
Tapos puntahan ang conf folder
1661309295665.png
Iedit ang nginx.conf gamit ang paborito ninyong notepad app tulad ng notepad++ o sublime text.
1661309417948.png
Gamit ko sublime text. Hanapin ang root sa loob ng nginx.conf.
1661310557039.png
ito ang ilalagay ninyo sa line 44 html; palitan ninyo ng folder directory yung html kung saan nakalagay yung webpage na ginawa ninyo.

1661310371951.png

pagkatapos mag i edit. I save ang config file.

Step 6: Balikan ang CMD natin kanina.

May itytype ulit na command para i reload yung NGINX natin.

1661310103330.png

Code:
C:\Users\user name ninyo>D:

D:\>cd nginx-1.22.0

D:\nginx-1.22.0>nginx.exe -s reload

press enter.

Mag bukas ulit ng browser at itype ang localhost.

Iba na ang lalabas.
1661310426720.png
Testing 404 page:
1661310483263.png

At diyan nag tatapos ang tutorial kung paanong mag install ng NGINX sa windows ninyo.
 
Waaah, salamat po lodi, pinasabog niyo mga brains namin 😅
Sobrang detailed nito lods, solid, nakaka allergic lang pag may mga puro text na, yung walang GUI :ROFLMAO:
Pag may matabing time lods, tututukan namin ito (y)
yun nga eh pero hindi naman sumakit ulo ko nito.. hahah mas ok pa xampp mas madali iset hahah
 
Status
Not open for further replies.

About this Thread

  • 36
    Replies
  • 3K
    Views
  • 30
    Participants
Last reply from:
chrisjay29

Trending Topics

Online now

Members online
441
Guests online
5,466
Total visitors
5,907

Forum statistics

Threads
2,313,054
Posts
29,171,547
Members
1,185,538
Latest member
water8ucket
Back
Top