📜 ⬆️ ⬇️

Installing 1C 7.7 network version on Linux

There was a need to transfer accounting at the enterprise to the license bed. And since only 1C turned out to be licensed, and the management refused to allocate money, it was decided to smoothly switch to Linux.
Having dug up a bunch of manuals, I decided to create my own, which seems to me more convenient ...)))
Installation 1C was made on the distribution Ubuntu 8.10.

So, let's begin!
Install the smbfs and msttcorefonts packages.

We mount a network directory.
Fstab string:
// server / directory / mnt / 1C smbfs user, noauto, username =, password = ''
Where:
// server / directory - the name or IP of the server where the database with 1C is located with the directory specified.
username =, password = '' - name and password to access the ball. (if the ball is freely available, these parameters can be omitted)
')
mount the network directory in / mnt / 1C using smbmount

Install Wine.
Downloading from Etersoft with wine for your ftp.etersoft.ru/pub/Etersoft/WINE@Etersoft/current/WINE distribution.
(The question arises how to be? Because the version from Etersoft is paid, but this is not quite true. Of course they are trying to sell it, but the GPL license obliges them to upload the product for free download.)
and install it.
download dcom98.exe www.microsoft.com/downloads/details.aspx?familyid=08b1ac1b-7a11-43e8-b59d-0867f9bdda66&displaylang=en .
unpack DCOM98.EXE / C / T: c: \\ temp / Q
Copy the resulting * .dll's into wine with: / windows / system

Installation 1C.
Install with the help of wine 1C from disk or copy the bin folder from ../program files / 1Cv77 / on the Windows machine in the wine program file.

Customize Wine.
Go System -> Options -> Wine Settings
In the Applications tab, add DCOM98.EXE and select it -> go to the Libraries tab -> add the ole32 library -> click edit, indicate that it is a third-party Windows.
Returning to the Applications tab, add 1cv7.exe and select it -> go to the Libraries tab -> add the ole32, rpcrt4, olepro32, oleaut32 libraries -> click edit, indicate that they are third-party Windows.
Apply close.
For those who are more comfortable to edit configs in ./wine/config, we prescribe:
[AppDefaults \\ dcom98.exe \\ DllOverrides]
"Ole32" = "native"
[AppDefaults \\ 1cv7.exe \\ DllOverrides]
; "Rpcrt4" = "native"
"Ole32" = "native"
"Olepro32" = "native"
"Oleaut32" = "native"

We start 1SKU, we add bases, we start in the "Configurator" mode
in "Administration" -> "Code page of information security tables" change to "+ Current system installation"
Exit, run, work!

Faced a problem:
When changing the “Code page of IB tables”, clients working from under windows do not work, without changing the “Code page of IB tables” clients from under Linux do not work.
It is not yet possible to transfer all clients under Linux ... (((
I am working on solving problems ...

Source: https://habr.com/ru/post/51153/


All Articles