
1C server on Linux, step 2: installing the 1C server, systemd, and RAS service
🌐 Machine-translated from Russian. Show original
In this part:
Distribution#
On releases.1c.ru, in the platform section of the required version, download "1C:Enterprise (64-bit) Technology Platform for Linux" — an archive with the setup-full-8.3.xx.xxxx-x86_64.runinstaller. Transfer it to the server (for example, via SCP) and unpack it.
Installation without graphics#
chmod +x setup-full-8.3.xx.xxxx-x86_64.run
sudo ./setup-full-8.3.xx.xxxx-x86_64.run --mode unattended \
--enable-components server,server_admin,ws,ru
| Component | What is |
|---|---|
server | 1C:Enterprise |
server_admin | administration utilities: RAS, RAC, |
ws | web server extension module (for publishing to Apache, step 5 |
ru | Russian interface |
The platform is set to /opt/1cv8/x86_64/8.3.xx.xxxx/. The installer creates the user usr1cv8 and the grp1cv8 group, from which the server operates.
The full list of components shows ./setup-full-8.3.xx.xxxx-x86_64.run --help.
Server service via systemd#
The installation directory contains ready-made unit files. Check their exact names:
ls /opt/1cv8/x86_64/8.3.xx.xxxx/*.service
Connect and start the server service (insert the file name from the output above):
sudo systemctl link /opt/1cv8/x86_64/8.3.xx.xxxx/srv1cv8-8.3.xx.xxxx@.service
sudo systemctl enable --now srv1cv8-8.3.xx.xxxx@default
systemctl status srv1cv8-8.3.xx.xxxx@default
The service must be active (running). Default ports are 1540, 1541, and 1560–1591.
Checking that processes listen to ports:
sudo ss -tlnp | grep -E 'ragent|rmngr'
RAS Administration Service#
RAS is needed to manage the cluster, the rac utility, and the console from the Windows machine. It also comes as a unit file (see output ls above):
sudo systemctl link /opt/1cv8/x86_64/8.3.xx.xxxx/ras-8.3.xx.xxxx.service
sudo systemctl enable --now ras-8.3.xx.xxxx
RAS listens to port 1545. Open it only for administrator computers.
Protection key driver#
If you are using a USB dongle — install the driver (a package from the 1C distribution or releases.1c.ru) and check that its service is running. No driver is needed for software licenses — see the section about licenses.
Comments · 0
No comments yet.Sign in to comment, rate and see all comments.