Unity 2019.3.x Unity Accelerator 加速器安装配置

发布于 2020-05-11  1187 次阅读


1.实验环境

服务器版本 - centos7 mini
IP地址 172.18.116.66

2.更新、安装相关软件
yum update -y
yum install git vim wget -y
curl -sL https://rpm.nodesource.com/setup_12.x | bash -
yum install -y nodejs

3.下载Unity Accelerator安装包

https://blogs.unity3d.com/2019/09/11/speed-up-your-team-with-the-unity-accelerator/

chmod +x unity-accelerator-v1.0.301+g3f50506-linux-x64-installer.run
[root@unity-accelerator-server ~]# ./unity-accelerator-v1.0.301+g3f50506-linux-x64-installer.run
----------------------------------------------------------------------------
Welcome to the Unity Accelerator Setup Wizard.
This will setup the Unity Accelerator Agent to speed up work on your team's
projects.
----------------------------------------------------------------------------
Please read the following License Agreement. You must accept the terms of this
agreement before continuing with the installation.
Press [Enter] to continue:【直接回车】
Unity Accelerator copyright © 2019-2020 Unity Technologies ApS
Use of Unity Accelerator is subject to the Unity Terms of Service
(http://unity3d.com/legal/terms-of-service), which includes the Unity Teams
Additional Terms (https://unity3d.com/legal/terms-of-service/teams).
Unless expressly provided otherwise, the Software under this license is made
available strictly on an “AS IS” BASIS WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED. Please review the license for details on these and other terms and
conditions.
Press [Enter] to continue:【直接回车】
Do you accept this license? [y/n]: y
----------------------------------------------------------------------------
Please specify the directory where Unity Accelerator will be installed.
Installation Directory [/opt/Unity/accelerator]:
----------------------------------------------------------------------------
Enter the storage location the Accelerator should use for storing cached items.
Storage Location [/root/.config/unity-accelerator]: 【可以挂在一个固态硬盘做资源盘】
----------------------------------------------------------------------------
Protocol Configuration
Accelerate Asset Import Pipeline [Y/n]: y
----------------------------------------------------------------------------
Learn more about the Asset Pipeline [Y/n]: y
----------------------------------------------------------------------------
Version 2 (New in 2019.3) [Y/n]: y
Version 1 (Legacy) [y/N]: y
Accelerate Unity Collaborate [Y/n]: y
----------------------------------------------------------------------------
Learn more about Unity Collaborate [Y/n]: y
Registration Token []: 【直接回车】
----------------------------------------------------------------------------
Credentials Configuration
Provide a password to protect access to the builtin configuration dashboard:
Admin Password :【填写密码】
:【重复密码】
Help improve Unity Accelerator's features and performance:
Send usage statistics to Unity [Y/n]: y
----------------------------------------------------------------------------
Setup is now ready to begin installing Unity Accelerator on your computer.
*** ATTENTION ***
You may be prompted to allow incoming connections on the private network. This
is required for the Accelerator to be reachable by Unity Editors.
Do you want to continue? [Y/n]: y
----------------------------------------------------------------------------
Please wait while Setup installs Unity Accelerator on your computer.
Installing
0% ______________ 50% ______________ 100%
#########################################
----------------------------------------------------------------------------
Setup has finished installing Unity Accelerator on your computer.
In the Unity Editor preferences, use the following IP address and port number to
configure the Cache Server Asset Import Pipeline (v2):
172.18.116.66:10080
Open the Accelerator dashboard [Y/n]: y
[root@unity-accelerator-server ~]# firewall-cmd --zone=public --add-port=10080/tcp --permanent
success
[root@unity-accelerator-server ~]# firewall-cmd --reload
success
[root@unity-accelerator-server ~]# firewall-cmd --zone=public --add-port=80/tcp --permanent
success
[root@unity-accelerator-server ~]# firewall-cmd --reload
systemctl enable unity-accelerator
systemctl start unity-accelerator
systemctl status unity-accelerator
systemctl restart unity-accelerator
后台的设置与相关的路径
Unity 2019-3 Cache Server 的 Asset pipeline V2的配置
已经加载了缓存

一沙一世界,一花一天堂。君掌盛无边,刹那成永恒。