Site.pro
  • 網站建立者
    • 網站建立者
    • 價格
    • 網站導入
    • 網上商店
    • 插件
    • 合作
    • 範本
    • 語言
    • 聯盟計劃
    • 示例
    • 人工智能網站建立器
    • 對於設計工作室
    • 我們為您打造
  • 網域
  • 電子郵件
  • 學
    • 教程
    • 博客
    • 常見問題
    • 成長駭客
    • 對於託管
    • 領域性
    • 用於培訓
  • 針對經銷商
    • 價格
    • 白色標籤
    • 收入份額
    • 面板
    • 如何參與
    • 批量導入
    • 我們的合作夥伴
    • 再售例子
    • 行銷資料
    • 文檔
    • 免費網站
  • 網站建立者
    • 網站建立者每個人都可以輕鬆地製作網站、登陸頁面或電子商務。
    • 價格Site.pro 價格: 範本 200+, 網站, 基礎建站功能, 網上商店.
    • 網站導入將您現有的網站從任何地方轉移到 Site.pro 網站建設者.
    • 網上商店在網站的任何地方出售您的商品或服務.
    • 插件許多功能和插件取決於地理偏好.
    • 合作協作網站建置者, 與隊友在一個空間即時創建網站.
    • 範本
    • 語言
    • 聯盟計劃
    • 示例
    • 人工智能網站建立器
    • 對於設計工作室
    • 我們為您打造
  • 網域
  • 電子郵件
  • 學
    • 教程初學者影片. 免費下載影片教學 新視頻教程.
    • 博客網站製作技巧: 託管市場領導者的共享託管技巧.
    • 常見問題幫助中心. 付款問題. 基礎教程. 快速搜尋. 有疑問? 在此輸入您的問題.
    • 成長駭客促進您的銷售. 戰略
    • 對於託管教育. 產生更多網站建立器銷售額
    • 領域性領域性: 每 1000 人的網域數量
    • 用於培訓適用於線上和離線課堂的免費網站產生器.
  • 針對經銷商白色標籤
    • 價格開始轉售. 為 個即時網站 付費. 免費網站.
    • 白色標籤最流行的白標工具非常適合轉售
    • 收入份額網站建立者: 提供免費網站架設工具並賺取50%佣金.
    • 面板一款產品適用於所有平台. 為您的面板下載插件.
    • 如何參與雲端或本地. 企業證書伺服器推薦.
    • 行銷資料視頻. 模型. 網站封鎖. 行銷資料.
    • 批量導入
    • 我們的合作夥伴
    • 再售例子
    • 文檔
    • 免費網站
  • 申請

    申請

    (購買網域, 建立電子郵件)
    (主機商)
    註冊即表示您接受我們的服務條款
    顧客數量: 1-100
    顧客數量: 1-100
  • 登入

    登入

    新用戶? 創建帳號
    忘記密碼?
  • $
  • 繁體
此頁面僅提供英文版本
伺服器要求
  • 發布的網站
  • Site.pro 單一 IP
生成器安裝/更新
本地部署
  • 伺服器要求
  • 安裝
  • CRON
  • 更新
  • 遷移到版本 v4
  • 協作服務
  • 額外配置
  • 手動更新
  • 更改 PHP 版本
  • 支持
插件安裝
  • 託管面板
    • cPanel
    • DirectAdmin
    • Plesk
    • Sentora/ZPanel
    • ISPmanager
    • InterWorx
    • Vesta
    • Hosting Controller
    • CentOS Web Panel
    • Hestia
    • LiveConfig
    • Webuzo
    • Custom hosting (API)
  • 計費面板
    • WHMCS
    • Blesta
    • Custom billing (API)
API文件
  • 網站建置者
    • Create session (SSO)
    • Remove existing session
    • Create website backup
    • Restore website backup
  • 範本
    • List template categories
    • List template category tags
    • List templates
    • Get page types available in templates
  • 進口
    • Import website
    • Get website import status
    • Import website block
    • Get website block import status
    • Check if imported website is owned by user
  • 網站
    • Create website
    • Modify website
    • Rename website
    • Publish website
    • Edit website pages
    • Edit website settings
    • Delete website
    • Get website template
    • Get website pages
    • Get website variables
    • Get template variables
    • Get website settings
    • Add pages to website
    • Duplicate pages in website
    • Remove pages from website
  • 網站封鎖
    • Create empty website
    • Modify website
    • Inspect website
    • Add empty page
    • Modify page
    • Remove page
    • Inspect page
    • Inspect composition
    • Modification descriptor structure by element type
    • Add blocks from compositions
    • Remove blocks
    • Move blocks
    • Modify blocks
    • Inspect block
  • 序號
    • Get list of published websites
    • Get statistics of publications/openings
    • Block/unblock published website
    • Controlling IP list
    • Read/add/delete hosting plans
  • Integration with your system
    • Allow/disallow domain in builder
    • Check if domains are allowed in builder
  • 常見問題
    • Get posts
    • Get categories
附加元件文檔
  • For Website
    • Public demo URL
    • Editing plans
    • User registration from public demo
    • Website import
  • For Builder
    • Adding custom templates
    • Adding custom builder plugins
    • Scripts
對於開發商
  • Programming reference
  • Directory structure
  • Meta information (main.json)
  • Frontend logic (main.js)
  • Element template (main.html)
  • Backend logic (main.php)
  • Plugin testing
  • Custom element plugin
  • E-commerce plugin
  • Overriding UI
  • Other examples
變更日誌
生成器安裝/更新

協作服務 available since version 4.2.17 On-Premises

Reference:

  • Install instructions
  • Usage after installation

Install instructions

To enable collaborative editing in your on-premises builder installation you need to install collaboration service (more information).

Requirements

  • Linux OS with x86_64 CPU architecture
  • Must be installed to the same server as builder installation
  • root access to servers SSH

Collect information

Login to server where builder is installed through SSH as root.
Choose directory to install to (make sure this directory is not exposed to the internet), (for this example we will use /var/www/builder-collab).
Choose port for collaboration service (make sure it's not used for something else) (for this example we will use 8033).
Note builder installation user and group (for this example we will use www-data for both user and group).
Note builder installation host name (for this example we will use my-builder.com).
Note builder installation path (for this example we will use /var/www/builder).
Note builder installation database configuration (for this example we will use host: localhost, user: builder, password: secret-db-password, database: builder).

Prepare files

  • Create that directory;
  • download service executable;
  • make sure it's named builder-collab-linux and has owner execute permission;
  • create configuration file config.json;
  • set user and group for all the files in this directory and directory it self (use the same user and group that builder installation is using);

These steps can be done by running these commands:
bashmkdir /var/www/builder-collab cd /var/www/builder-collab wget https://update.site.pro/assets/installer/builder-collab/builder-collab-linux -O /var/www/builder-collab/builder-collab-linux chmod u+x /var/www/builder-collab/builder-collab-linux echo '{}' > /var/www/builder-collab/config.json chown -R www-data:www-data /var/www/builder-collab

Configure

Edit config.json file and set configuration in JSON format.
If your builder uses HTTPS then you will also need to configure certificate/private key pair otherwise you can skip those properties.
In this example we will assume that builder uses HTTPS, since service uses the same host name as builder we will use the same certificate/private key as builder installation. Certificate bundle and private key files must be in PEM format, certificate bundle file must be a concatenation of certificate and other intermediate certificates (if there are any) (in this example certificate bundle is saved to file /var/www/builder-collab/cert-bundle.pem and private key to file /var/www/builder-collab/private-key.pem). In configuration paths to certificate bundle and private key must be absolute. Also make sure that those files are readable by builder user and group configuration.

In our example configuration will look like this:
json{ "host": "my-builder.com", "port": 8033, "user": "www-data", "group": "www-data", "certBundlePath": "/var/www/builder-collab/cert-bundle.pem", "privateKeyPath": "/var/www/builder-collab/private-key.pem", "builderPath": "/var/www/builder", "db": [ { "id": "local", "driver": "mysql", "host": "localhost", "user": "builder", "password": "secret-db-password", "database": "builder" } ] }
Note: service will need to be able to access builder installations MySQL database and data files, so make sure that user/group and permissions are setup correctly.
Note: if your server uses some kind of firewall you will need to make sure that there is a rule that allows traffic through your configured port.

Setup system service

While you can just run service executable /var/www/builder-collab/builder-collab-linux run (and stop it by clicking Ctrl+c), it's inconvenient, since if you restart a server you will also need to remember to go and run this executable. It would be more convenient if this happened automatically and for this we will need to setup it to run as system service.

Using systemd

If your server uses systemd, rsyslog and logrotate then system service can be setup in automatically by running command:
bash/var/www/builder-collab/builder-collab-linux register this command will set it up as systemd service (service name will be sitepro-builder-collab), enable that service and start it. It will also setup logging through syslog and log rotation through logrotate.
To later stop/start/restart or get status of this service you can use standard systemd commands:
bash# to stop service run systemctl stop sitepro-builder-collab # to start service run systemctl start sitepro-builder-collab # to restart service run systemctl restart sitepro-builder-collab # to get status of the service run systemctl status sitepro-builder-collab

Using something else

If your server don't use systemd then you will have to figure out how to configure your specific system on your own.

Configure builder

For your builder installation to know where to find this collaboration service, you will need to change your builder configuration file.
In this example builder configuration file is located in /var/www/builder/config.json.
For this you will have to set option collaboration in builder configuration.
In this example this option will look like this:
json"collaboration": { "ws": "wss://my-builder.com:8033" } the ws field of the option collaboration must have a string value that starts with ws:// (or wss:// if builder installation uses HTTPS) followed by host name (in this example my-builder.com) colon : and port (in this example 8033).

Setup automated update

Service has automated update function, this function can be run by this command:

bash/var/www/builder-collab/builder-collab-linux update this command will check for updates and if there is new version it will try to download it and restart the service.
If you don't want for service to be automatically restarted (for example when you are not using systemd) then you can alternatively run command:

bash/var/www/builder-collab/builder-collab-linux update-no-restart You can (and should) also setup CRON job to run this command regularly (ex. once a day), so that it could update it self whenever new version becomes available.
Note: update command needs to be run as root for service restart to work.

Usage after installation

If the installation of the collaboration service went successfully, then it can be checked like this:

  • Open the builder for any website from the hosting panel (note: it is not going to work from public demo builder mode);
  • Locate the new button "Share access" in the builder top toolbar and click it;
  • Activate option "Enable link to share access for everyone" to let other clients join that builder project by the appeared link below;
  • Copy the appeared link below and open it in a new tab (it can be the same browser);
  • Now the collaboration mode is established between these two sessions, and you can see reflections of all changes in both places, which are being made in all opened sessions for that project.
© Site.pro 2011. 網站建立者. 美国.
聯繫銷售人員服務條款