Make Unity Accelerator a service on Linux

A memorandum when Unity Accelerator is set up on the server

UnityAccelerator: v1.0.90+gd82184f OS: AmazonLinux2

Installation

Drop the officially prepared installation script and execute it


curl https://unity-accelerator-prd.storage.googleapis.com/unity-accelerator-linux-installer.run --output unity-accelerator-linux-installer.run

sudo ./unity-accelerator-linux-installer.run --mode unattended

※ 「--If you add the "mode unattended" option, the installation will be done with the default settings.
If you do not give it, it will be an interactive custom installation, but since there are quite a lot of input items, default is recommended unless otherwise specified

Automatic service startup when the server is restarted

The service is registered when the installation script is executed, so enable it.


/sbin/chkconfig unity-accelerator on

Change target port

The configuration file is expanded to /root/.config/unity-accelerator/

vi /root/.config/unity-accelerator/unity-accelerator.cfg
→ Change ProtobufPort and LastUsedProtobufPort to any port

service unity-accelerator restart

Reference site

https://docs.unity3d.com/2019.3/Documentation/Manual/UnityAccelerator.html https://forum.unity.com/threads/accelerator-options.784514/

Recommended Posts

Make Unity Accelerator a service on Linux
Make Jupyter Notebook a service on CentOS
Specify the volume on linux and make a sound
Make your cursor a photo of your choice on Linux
Make Responder a daemon (service)
Install Arch Linux on DeskMini A300
Let's make a spot sale service 1
Run a Linux server on GCP
Create a SlackBot service on Pepper
Create a Linux environment on Windows 10
Make Live USB on Alpine Linux
Let's make a spot sale service 3
Host the network library Mirror for Unity on a Linux server
Build a simple WebDAV server on Linux
Build a Samba server on Arch Linux
Create a Linux virtual machine on Windows
Make a bot for Skype on EC2 (CentOS)
Open a ZIP created on Windows in Linux
LINUX: How to make arrow keys correspond to 2,4,6,8 on a notebook without a numeric keypad
Start a process with a scheduling policy on Linux
Try to create a new command on linux
Let's make a spot sale service 9 (Task Queue edition)
Looking back on creating a web service with Django 1
Create a QR code for the URL on Linux
How to install Linux on a 32bit UEFI PC
Make a parrot return LINE Bot on AWS Cloud9
Make a breakpoint on the c layer with python
[Part 2] Let's build a web server on EC2 Linux
Looking back on creating a web service with Django 2
SoC FPGA: A small story when using on Linux
Make the model a string on a Django HTML template
[Part 1] Let's set up a Minecraft server on Linux
Let's make a spot sale service 8 (image uploader edition)
Unzip a ZIP file larger than 4GB on Linux.
A story about a Linux beginner putting Linux on a Windows tablet
How to build a Python environment on amazon linux 2
Make a squash game
Daemonizing processes on Linux
jblas on Arch Linux
Linux (WSL) on Windows
Make a function decorator
Make a distance matrix
Develop .NET on Linux
Wake on lan on Linux
I'll make a password!
Monitor traffic on Linux
Update vscode on linux
Try NeosVR on Linux
Check capacity on Linux
Make a Nyan button
Make a Tetris-style game!
Make a Base64 decoder
LiveUSB creation on Linux
Linux operation on Win10
Make a Linux version of OpenSiv3D with find_package a little easier
Install LAMP on Amazon Linux 2 and build a WordPress environment.
A memo on how to easily prepare a Linux exercise environment
Yes, let's make a Minecraft server (Oracle Linux + Spigot + Geyser)
How to make a multiplayer online action game on Slack
Create a VS Code + Docker development environment on a Linux VM
How to make a hacking lab-Kali Linux (2020.1) VirtualBox 64-bit Part 2-