1c 8.2 On Linux

begin with that in the first to install 1C 8.2 need to download the distributions 1C.If you have a license that problems will not arise if you are not a happy owner of her look for the technological platform 1C on the Internet, and the version of the server and client must be the same 1C. and configurations will describe the example of * .deb package.

And so proceed.Extract the package 1C 8 in any directory you like for me it / mnt / samba / Uploads / 1C_server

and execute commands

dpkg -i * .deb

in the console should see something like this

custom package 1c-enterprise82-server-nls (8.2.14-537) ... custom package 1c-enterprise82-ws (8.2.14-537) ... custom package 1c-enterprise82-ws-nls (8.2.14-537) ... custom package 1c-enterprise82-crs (8.2.14-537) ... custom package 1c-enterprise82-crs-nls (8.2.14-537) ...

Runserver command

/etc/init.d/srv1cv82 start

Check whether the server has started a team

ps ax | grep 1C

should see something like

27026?Ssl 0:21 /opt/1C/v8.2/i386/ragent -daemon

27035?Sl 1:02 /opt/1C/v8.2/i386/rmngr -port -range 1560 1541 1591

27047?Sl 0:27 /opt/1C/v8.2/i386/rphost -range 1560 1591 1541 -reghost gate -regport -pid b0d94e8c-09

If you see it all perfectly server is up and running normally, our next stepwill install PostgreSQL.If you put PostgreSQL repository of the errors occur with operating 1C, need to be downloaded from the site 1C patches PostgreSQL , or use PostgreSQL from etersoft.You can download it via the link ftp://updates.etersoft.ru/pub/Etersoft/[email protected]/stable and choose your distribution.Download and install his team

dpkg -i * .deb

next step is to change the values ​​ shmmax (the largest allowable size of the shared memory segment max 1/4 RAM) in bytes

echo 256,000,000 & gt; /proc / sys / kernel / shmmax

To these values ​​are available after a reboot is necessary to register at the end of the file /etc/sysctl.conf

echo "kernel.shmmax = 256,000,000" & gt; & gt; / etc / sysctl.conf

if PostgreSQL not start looking at the logs and change to another value

/var/lib/pgsql/pgstartup.log

next step is to change the settings in / var / lib / pgsql / data /postgresql.conf

default_with_oids = on
stats_row_level = off
effective_cache_size = 512MB
where half = 512MB of RAM on the server.(I had 1Gb) [/ code]

Now open access to PostgreSQL, to edit this file /var/lib/pgsql/data/pg_hba.conf ( pg_hba.conf responsible for Security connections)

local all postgres trust
host all postgres 127.0.0.1/32 trust
host all postgres 192.168.1.0/24 trust

install the client to connect to PostgreSQL

apt-get installpostgresql-client-8.3

Connect to PostgreSQL and change the user's password postgres

psql -h localhost postgres postgres

alter user postgres with password 'postgres';

\ q to exit

can now run PostgreSQL team

/etc/init.d/postgresql start

look loig if something went wrong

/ var / lib/pgsql/pgstartup.log

1C and finally add in startup

update-rc.d srv1cv82 defaults

material and original articles taken from the site of IT-Device http://it.scrame.ru