NTLite를 사용하여 업데이트로 Windows 사용자 지정 ISO를 만드는 방법
NTLite를 사용하여 Vultr 시스템과 호환되는 Windows 사용자 지정 ISO를 만드는 방법을 단계별로 설명합니다. 최신 드라이버와 업데이트 통합을 포함한 완벽 가이드.
NGINX 는 HTTP / HTTPS 서버, 리버스 프록시 서버, 메일 프록시 서버,로드 밸런서, TLS 터미네이터 또는 캐싱 서버로 사용할 수 있습니다. 설계 상 상당히 모듈 식입니다. 커뮤니티에서 만든 기본 모듈 및 타사 모듈이 있습니다. C 프로그래밍 언어로 작성된이 소프트웨어는 매우 빠르고 가벼운 소프트웨어입니다.
참고 : NGINX에는 병렬로 안정적 이고 메인 라인으로 실행되는 두 가지 버전 스트림이 있습니다 . 두 버전 모두 프로덕션 서버에서 사용할 수 있습니다. 프로덕션 에서는 메인 라인 버전 을 사용하는 것이 좋습니다 .
소스 코드에서 NGINX를 설치하는 것은 비교적 "쉬운"-최신 버전의 NGINX 소스 코드를 다운로드하여 구성, 빌드 및 설치하십시오.
이 튜토리얼에서는 메인 라인 버전 인 1.13.2를 사용합니다. 최신 버전을 사용할 수있게되면 버전 번호를 업데이트하십시오.
필수 요구 사항 :
선택적 요구 사항 :
시작하기 전에
sudo 작성하십시오 .새 사용자로 전환하십시오.
su - <username>
시스템 업데이트 :
sudo yum check-update || sudo yum update -y
"개발 도구"및 Vim 편집기를 설치하십시오.
sudo yum groupinstall -y 'Development Tools' && sudo yum install -y vim
EPEL (Enterprise Linux) 용 추가 패키지 설치 :
sudo yum install -y epel-release
선택적 NGINX 종속성을 다운로드하여 설치하십시오.
sudo yum install -y perl perl-devel perl-ExtUtils-Embed libxslt libxslt-devel libxml2 libxml2-devel gd gd-devel GeoIP GeoIP-devel
NGINX 소스 코드 의 최신 메인 라인 버전을 다운로드하여 추출하십시오.
wget https://nginx.org/download/nginx-1.13.2.tar.gz && tar zxvf nginx-1.13.2.tar.gz
NGINX 의존성 소스 코드를 다운로드하고 추출하십시오.
# PCRE version 8.40
wget https://ftp.pcre.org/pub/pcre/pcre-8.40.tar.gz && tar xzvf pcre-8.40.tar.gz
# zlib version 1.2.11
wget https://www.zlib.net/zlib-1.2.11.tar.gz && tar xzvf zlib-1.2.11.tar.gz
# OpenSSL version 1.1.0f
wget https://www.openssl.org/source/openssl-1.1.0f.tar.gz && tar xzvf openssl-1.1.0f.tar.gz
모든 .tar.gz파일을 제거하십시오 . 더 이상 필요하지 않습니다.
rm -rf *.tar.gz
NGINX 소스 디렉토리로 이동하십시오.
cd ~/nginx-1.13.2
좋은 측정을 위해 nginx ���스 코드 파일 및 디렉토리를 나열하십시오.
ls
# auto CHANGES CHANGES.ru conf configure contrib html LICENSE man README src
NGINX 매뉴얼 페이지를 /usr/share/man/man8다음으로 복사하십시오 .
sudo cp ~/nginx-1.13.2/man/nginx.8 /usr/share/man/man8
sudo gzip /usr/share/man/man8/nginx.8
# Check that Man page for NGINX is working
man nginx
도움이 필요하면 다음을 실행하여 사용 가능한 구성 스위치를 나열하십시오.
./configure --help
# To see want core modules can be build as dynamic run:
./configure --help | grep -F =dynamic
NGINX 구성, 컴파일 및 설치 :
./configure --prefix=/etc/nginx \
--sbin-path=/usr/sbin/nginx \
--modules-path=/usr/lib64/nginx/modules \
--conf-path=/etc/nginx/nginx.conf \
--error-log-path=/var/log/nginx/error.log \
--pid-path=/var/run/nginx.pid \
--lock-path=/var/run/nginx.lock \
--user=nginx \
--group=nginx \
--build=CentOS \
--builddir=nginx-1.13.2 \
--with-select_module \
--with-poll_module \
--with-threads \
--with-file-aio \
--with-http_ssl_module \
--with-http_v2_module \
--with-http_realip_module \
--with-http_addition_module \
--with-http_xslt_module=dynamic \
--with-http_image_filter_module=dynamic \
--with-http_geoip_module=dynamic \
--with-http_sub_module \
--with-http_dav_module \
--with-http_flv_module \
--with-http_mp4_module \
--with-http_gunzip_module \
--with-http_gzip_static_module \
--with-http_auth_request_module \
--with-http_random_index_module \
--with-http_secure_link_module \
--with-http_degradation_module \
--with-http_slice_module \
--with-http_stub_status_module \
--http-log-path=/var/log/nginx/access.log \
--http-client-body-temp-path=/var/cache/nginx/client_temp \
--http-proxy-temp-path=/var/cache/nginx/proxy_temp \
--http-fastcgi-temp-path=/var/cache/nginx/fastcgi_temp \
--http-uwsgi-temp-path=/var/cache/nginx/uwsgi_temp \
--http-scgi-temp-path=/var/cache/nginx/scgi_temp \
--with-mail=dynamic \
--with-mail_ssl_module \
--with-stream=dynamic \
--with-stream_ssl_module \
--with-stream_realip_module \
--with-stream_geoip_module=dynamic \
--with-stream_ssl_preread_module \
--with-compat \
--with-pcre=../pcre-8.40 \
--with-pcre-jit \
--with-zlib=../zlib-1.2.11 \
--with-openssl=../openssl-1.1.0f \
--with-openssl-opt=no-nextprotoneg \
--with-debug
make
sudo make install
심볼릭 링크 /usr/lib64/nginx/modules로 /etc/nginx/modules디렉토리, 그래서 당신은이 같은 nginx를 구성에서 동적 모듈을로드 할 수 load_module modules/ngx_foo_module.so;:
sudo ln -s /usr/lib64/nginx/modules /etc/nginx/modules
NGINX 버전, 컴파일러 버전을 인쇄하고 스크립트 매개 변수를 구성하십시오.
sudo nginx -V
# nginx version: nginx/1.13.2 (CentOS)
# built by gcc 4.8.5 20150623 (Red Hat 4.8.5-11) (GCC)
# built with OpenSSL 1.1.0f 25 May 2017
# TLS SNI support enabled
# configure arguments: --prefix=/etc/nginx --sbin-path=/usr/sbin/nginx . . .
# . . .
# . . .
NGINX 시스템 사용자 및 그룹을 작성하십시오.
sudo useradd --system --home /var/cache/nginx --shell /sbin/nologin --comment "nginx user" --user-group nginx
구문 및 잠재적 오류를 확인하십시오.
sudo nginx -t
# Will throw this error: nginx: [emerg] mkdir() "/var/cache/nginx/client_temp" failed (2: No such file or directory)
# Just create directory
sudo mkdir -p /var/cache/nginx && sudo nginx -t
nginx에 대한 시스템 단위 파일을 작성하십시오.
sudo vim /usr/lib/systemd/system/nginx.service
다음 내용을 복사 / 붙여 넣기하십시오.
참고 : PID 파일과 NGINX 바이너리의 위치는 NGINX가 컴파일 된 방법에 따라 다를 수 있습니다.
[Unit]
Description=nginx - high performance web server
Documentation=https://nginx.org/en/docs/
After=network-online.target remote-fs.target nss-lookup.target
Wants=network-online.target
[Service]
Type=forking
PIDFile=/var/run/nginx.pid
ExecStartPre=/usr/sbin/nginx -t -c /etc/nginx/nginx.conf
ExecStart=/usr/sbin/nginx -c /etc/nginx/nginx.conf
ExecReload=/bin/kill -s HUP $MAINPID
ExecStop=/bin/kill -s TERM $MAINPID
[Install]
WantedBy=multi-user.target
NGINX 서비스를 시작하고 활성화하십시오 :
sudo systemctl start nginx.service && sudo systemctl enable nginx.service
재부팅 후 NGINX가 시작되는지 확인하십시오 :
sudo systemctl is-enabled nginx.service
# enabled
NGINX가 실행 중인지 확인하십시오.
sudo systemctl status nginx.service
ps aux | grep nginx
curl -I 127.0.0.1
VPS를 재부팅하여 NGINX가 자동으로 시작되는지 확인하십시오.
sudo shutdown -r now
/etc/nginx디렉토리 에서 고풍 파일을 제거하십시오 .
sudo rm /etc/nginx/koi-utf /etc/nginx/koi-win /etc/nginx/win-utf
에 NGINX 구성의 구문 강조 표시를 vim넣습니다 ~/.vim/. NGINX 구성 파일을 편집 할 때 멋진 구문 강조 표시가 나타납니다.
mkdir ~/.vim/
cp -r ~/nginx-1.13.2/contrib/vim/* ~/.vim/
에서 모든 .default백업 파일을 제거하십시오 /etc/nginx/.
sudo rm /etc/nginx/*.default
그게 다야. 이제 최신 버전의 NGINX가 설치되었습니다. OpenSSL과 같은 일부 중요한 라이브러리에 대해 정적으로 컴파일됩니다. 종종 시스템 OpenSSL 버전이 오래되었습니다. 최신 버전의 OpenSSL과 함께 설치하는이 방법을 사용하면 OpenSSL에서 사용할 수있는 TLS 1.3CHACHA20_POLY1305 과 같은 새로운 암호 및 프로토콜 (작성 시점에 릴리스되지 않은) 을 활용할 수 있습니다 .1.1.1
NTLite를 사용하여 Vultr 시스템과 호환되는 Windows 사용자 지정 ISO를 만드는 방법을 단계별로 설명합니다. 최신 드라이버와 업데이트 통합을 포함한 완벽 가이드.
Vultr BGP 설정을 위한 단계별 튜토리얼. ASN 할당부터 IP 라우팅 구성, BIRD 데몬 설정, FreeBSD 특이사항 및 실전 문제 해결 팁 7가지 포함한 최종 가이드
WebDAV (Web Distributed Authoring and Versioning)를 이용한 원격 파일 작성을 위한 프레임워크로, WsgiDAV 설치 및 구성 방법을 안내합니다.
Mailcow는 DoveCot, Postfix 및 기타 여러 오픈 소스 패키지를 기반으로 하는 경량 메일 서버입니다. 데비안에서 Mailcow 설치 방법을 안내합니다.
랜섬웨어 공격이 증가하고 있지만 AI가 최신 컴퓨터 바이러스를 처리하는 데 도움이 될 수 있습니까? AI가 답인가? AI boone 또는 bane인지 여기에서 읽으십시오.
오픈 소스이자 무료 운영 체제인 ReactOS가 최신 버전과 함께 제공됩니다. 현대 Windows 사용자의 요구 사항을 충족하고 Microsoft를 무너뜨릴 수 있습니까? 이 구식이지만 더 새로운 OS 환경에 대해 자세히 알아보겠습니다.
Whatsapp은 마침내 Mac 및 Windows 사용자용 데스크톱 앱을 출시했습니다. 이제 Windows 또는 Mac에서 Whatsapp에 쉽게 액세스할 수 있습니다. Windows 8 이상 및 Mac OS 10.9 이상에서 사용 가능
인공 지능이 소규모 회사에서 어떻게 인기를 얻고 있으며 어떻게 인공 지능이 성장할 가능성을 높이고 경쟁자가 우위를 점할 수 있는지 알아보려면 이 기사를 읽으십시오.
최근 Apple은 문제를 해결하기 위해 macOS Catalina 10.15.4 추가 업데이트를 출시했지만 이 업데이트로 인해 Mac 컴퓨터의 브릭킹으로 이어지는 더 많은 문제가 발생하는 것 같습니다. 자세히 알아보려면 이 기사를 읽어보세요.
빅데이터의 13가지 상용 데이터 추출 도구