NTLite를 사용하여 업데이트로 Windows 사용자 지정 ISO를 만드는 방법
NTLite를 사용하여 Vultr 시스템과 호환되는 Windows 사용자 지정 ISO를 만드는 방법을 단계별로 설명합니다. 최신 드라이버와 업데이트 통합을 포함한 완벽 가이드.
Firefox 동기화 는 모든 장치에서 데이터 및 환경 설정 (예 : 책갈피, 방문 기록, 비밀번호, 열린 탭 및 설치된 애드온)을 공유 할 수있는 브라우저 동기화 기능입니다. Mozilla는 또한 자체 동기화 데이터를 호스트하려는 사용자 및 비즈니스를 위해 Firefox Sync와 함께 사용할 수있는 "동기화 서버"응용 프로그램을 제공합니다. 이 기사에서는 Mozilla Sync Server를 설정하는 방법을 보여줍니다.
시스템을 업데이트하십시오 :
sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade
Sync Server를 빌드하고 실행하려면 다음 패키지를 설치해야합니다.
python-devgitbuild-essential (C ++ 컴파일러, GCC 컴파일러, 제조업체 및 기타 필수 도구).sqlite3(대신 MySQL 데이터베이스를 사용하려는 경우 패키지를 또는로 SQLite바꿀 수 있습니다 ).sqlite3mariadb-servermysql-servernginx(webserver. apache2또는 사용할 웹 서버를 선택하는 것은 사용자의 몫입니다 nginx).패키지를 설치하십시오 :
sudo apt-get install -y git git-core python-dev python-virtualenv build-essential sqlite3 nginx
다음 명령을 입력하여 동기화 서버의 Git 리포지토리를 복제 한 다음 폴더를 입력합니다.
git clone https://github.com/mozilla-services/syncserver
cd syncserver
빌드 명령을 실행하여 종속성을 다운로드하고 코드를 컴파일하십시오.
make build
동기화 서버의 구성은 매우 간단합니다. 구성 파일 ( ./syncserver.ini) 에서 변경할 매개 변수가 몇 가지 있습니다 .
선호하는 텍스트 편집기로 구성 파일을 엽니 다 (예 nano ./syncserver.ini:).
[server:main]
use = egg:gunicorn
host = 0.0.0.0
port = 5000
workers = 1
timeout = 30
[app:main]
use = egg:syncserver
[syncserver]
# This must be edited to point to the public URL of your server,
# i.e. the URL as seen by Firefox.
public_url = http://localhost:5000/
# This defines the database in which to store all server data.
#sqluri = sqlite:////tmp/syncserver.db
# This is a secret key used for signing authentication tokens.
# It should be long and randomly-generated.
# The following command will give a suitable value on *nix systems:
#
# head -c 20 /dev/urandom | sha1sum
#
# If not specified then the server will generate a temporary one at startup.
#secret = INSERT_SECRET_KEY_HERE
# Set this to "false" to disable new-user signups on the server.
# Only request by existing accounts will be honoured.
# allow_new_users = false
# Set this to "true" to work around a mismatch between public_url and
# the application URL as seen by python, which can happen in certain reverse-
# proxy hosting setups. It will overwrite the WSGI environ dict with the
# details from public_url. This could have security implications if e.g.
# you tell the app that it's on HTTPS but it's really on HTTP, so it should
# only be used as a last resort and after careful checking of server config.
force_wsgi_environ = false
[browserid]
# Uncomment and edit the following to use a local BrowserID verifier
# rather than posting assertions to the mozilla-hosted verifier.
# Audiences should be set to your public_url without a trailing slash.
#backend = tokenserver.verifiers.LocalVerifier
#audiences = https://localhost:5000
# By default, syncserver will accept identity assertions issues by
# any server. You can restrict this by setting the below to a list
# of allowed issuer domains.
#allowed_issuers = www.mysite.com myfriendsdomain.org
서버의 주소는 다음 매개 변수를 통해 지정해야합니다 public_url.
public_url = http://fsync.example.com
참고 : 기본값 public_url"http : // localhost : 5000 /"은 로컬 컴퓨터에서 테스트 목적으로 작동합니다.
에서 sqluri옵션, 우리는 주석을 해제하고 위치를 넣거나 것 URI즉, 서버가 데이터베이스를 연결하고 정보를 저장 할 수 있습니다 :
sqluri = sqlite:////path/to/database/file.db
다른 유형의 DB를 사용하려는 경우 :
sqluri = pymysql://username:password@db.example.com/sync
" secret"매개 변수의 경우 인증 토큰에 대한 비밀 키를 생성해야합니다.
head -c 20 /dev/urandom | sha1sum
secret 매개 변수의 행을 주석 해제 한 다음 리턴 된 문자열을 secret 매개 변수에 복사 / 붙여 넣기하십시오.
secret = db8a203aed5fe3e4594d4b75990acb76242efd35
참고 : 이 매개 변수에 아무 것도 입력하지 않으면 서버가 서버를 생성하지만 서버를 다시 시작할 때마다 달라집니다.
" allow\_new\_users"매개 변수의 경우 주석을 해제 true하고 계정이 서버에 처음으로 연결될 수 있도록 설정하십시오 .
allow_new_users = true
그런 다음 " audiences"매개 변수 를 수정 public_uri하고 행의 주석을 해제하는 것을 잊지 않고 " "매개 변수와 동일한 것을 넣습니다 .
audiences = http://fsync.example.com
마지막으로 파일 끝에 다음 줄을 추가하십시오.
forwarded_allow_ips = *
이 줄은 오류 메시지 및 인증 문제를 방지하는 데 도움이됩니다.
동기화 서버를 시작하려면 다음 명령을 실행하십시오.
./path/to/syncserver/local/bin/gunicorn --threads 4 --paste /path/to/syncserver/syncserver.ini &
... 또는 이것 :
make serve &
첫 번째 옵션을 사용하면 구성 파일의 위치를 선택할 수 있습니다. 또한 인수를 넣어 --threads 4동기화 서버에 더 많은 전원을 할당 할 수 있습니다.
인스턴스가 부팅 될 때마다 서버를 시작하기 위해 crontab -e명령 을 입력하여 crontab에 다음 줄을 추가 할 수 있��니다 .
@reboot ./path/to/syncserver/local/bin/gunicorn --paste /path/to/syncserver/syncserver.ini &
WSGI프로토콜 과 호환되는 다른 웹 서버를 사용할 수 있습니다 . 예를 들면 다음과 같습니다.
Nginx uWSGI와 함께.Apache mod_wsgi와 결합되었습니다.Nginx의 경우 아래와 같이 Nginx의 내장 프록시를 사용해야합니다.
server {
listen 80;
server_name fsync.example.com;
location / {
proxy_set_header Host $http_host;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Real-IP $remote_addr;
proxy_redirect off;
proxy_read_timeout 120;
proxy_connect_timeout 10;
proxy_pass http://127.0.0.1:5000/;
}
}
Nginx 사용자는 WSGI 소켓 만 사용할 수 있습니다.
uWSGI핍을 통해 설치 :
pip install uwsgi
uWSGI소스 타르볼을 다운로드하여 설치하십시오 .
wget https://projects.unbit.it/downloads/uwsgi-latest.tar.gz
tar zxvf uwsgi-latest.tar.gz
cd <dir>
make
참고 : 빌드 후에 uwsgi는 현재 디렉토리에 바이너리 가 있습니다 .
설치되면 다음 옵션으로 시작하십시오.
uwsgi --plugins python27 --manage-script-name \
--mount /<location>=/path/to/syncserver/syncserver.wsgi \
--socket /path/to/uwsgi.sock
그런 다음 다음 Nginx 구성을 사용하십시오.
location /<location>/ {
include uwsgi_params;
uwsgi_pass unix:/path/to/uwsgi.sock;
}
설치 mod_wsgi:
apt-get install libapache2-mod-wsgi
그런 다음 다음 호스트를 사용하십시오.
<VirtualHost *:80>
ServerName sync.example.com
DocumentRoot /path/to/syncserver
WSGIProcessGroup sync
WSGIDaemonProcess sync user=sync group=sync processes=2 threads=25 python-path=/path/to/syncserver/local/lib/python2.7/site-packages/
WSGIPassAuthorization On
WSGIScriptAlias / /path/to/syncserver/syncserver.wsgi
CustomLog /var/log/apache2/sync.example.com-access.log combined
ErrorLog /var/log/apache2/sync.example.com-error.log
</VirtualHost>
서버가 설치 및 구성되면 새 동기화 서버와 통신하도록 데스크탑 Firefox 클라이언트를 구성해야합니다. 시작하기 전에 이미 Firefox Sync Server에 연결되어 있으면 로그 아웃해야합니다. 그렇지 않으면 새 서버에 대한 연결이 작동하지 않을 수 있습니다.
먼저 새 탭을 열고 다음 주소를 입력하십시오.
about:config
검색 창에 identity.sync.tokenserver.uri값을 입력 하고 경로를 token/1.0/sync/1.5다음 과 같이 서버의 URL로 변경 하십시오 .
http://sync.example.com/token/1.0/sync/1.5
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가지 상용 데이터 추출 도구