Webinoly 完整的 LEMP 安裝
Webinoly 是一組功能強大的命令,幾分鐘內即可輕鬆執行你的 PHP 網站、WordPress、反向代理或任何應用程式。
輕鬆在雲端部署你的 VPS 或專用伺服器 (裸機或傳統伺服器) 。
在 Amazon Web Services、 Digital Ocean 或你選擇的任何雲端服務提供者上設定你的執行個體。
一條命令,快速安裝你的伺服器:
wget -qO weby qrok.es/wy && sudo bash weby
範例 1:HTML 站
# Webinoly NGINX Installation
wget -qO weby qrok.es/wy && sudo bash weby -nginx
# Create your site
sudo site example.com -html
# Add an SSL Cert
sudo site example.com -ssl=on
# Enable www-data user to upload and modify files via SFTP.
sudo webinoly -sftp=on
範例 2:PHP 站點
# Webinoly NGINX and PHP Installation
wget -qO weby qrok.es/wy && sudo bash weby -php
# Create site
sudo site example.com -php
# SSL Certificate (HTTPS) for your site
sudo site example.com -ssl=on
# Enable www-data user to upload and modify files via SFTP.
sudo webinoly -sftp=on
範例 3:WordPress
# Webinoly LEMP Installation
wget -qO weby qrok.es/wy && sudo bash weby
# Create a WordPress site with FastCGI Cache
sudo site example.com -wp -cache=on
# SSL Certificate (HTTPS) for your site
sudo site example.com -ssl=on
# Visit https://example.com and finish WP setup
# Webinoly protects WP login pages (wp-admin / wp-login)
# We need to create a user for HTTP Authentication.
# Make sure to use strong credentials and keep them secure.
sudo httpauth -add
# Enable www-data user to upload and modify files via SFTP.
sudo webinoly -sftp=on
範例 4:反向代理
# Webinoly NGINX Installation
wget -qO weby qrok.es/wy && sudo bash weby -nginx
# Create a Reverse Proxy site (Point your domain to your app)
sudo site example.com -proxy=
# Add an SSL Cert
sudo site example.com -ssl=on -root-path=/opt/app/web
範例 5:自訂配置
# Webinoly Clean Installation
wget -qO weby qrok.es/wy && sudo bash weby -clean
# Change PHP version
sudo stack -php-ver=7.4
# Timezone
sudo webinoly -timezone
# Change any conf you want before building the stack
# Change Nginx branch to mainline
# Set MySQL as default instead of MariaDB.
# Change MariaDB version.
# Etc...
sudo nano /opt/webinoly/webinoly.conf
# Now build the stack using your Custom Configuration
# Here we're using the 'light' option to not install additional tools (only core packages)
# Let's Encrypt, Backups, Postfix, Redis, Memcached, phpMyAdmin, etc, will NOT be installed.
# Also, you can use the 'basic' option, or install individual tools according to your needs.
sudo stack -lemp -build=light
# Create a site
sudo site example.com -php
更詳細的安裝設置,請參考我的部落格:Webinoly 最新版快速安裝
Webinoly 官網:https://webinoly.com/
Webinoly 算是 EasyEngin 的分岔版本,但是比 EasyEngin 還好用。
EasyEngin 發展到有兩種版本,現在已經有面板版本了。
EasyEngin 官網:https://easyengine.io/
頁:
[1]
