ComputersComputer Forensics

1c 8.2 On Linux

I'll start from the fact that in the first place for installing 1C 8.2 you need to download the 1C distributions. If you have a license, then there will be no problems, if you are not a happy owner of it, then look for the 1C technology platform on the Internet, with the version of the server and the client 1C should be the same. Description and configuration will describe the example of * .deb packages.

And so we proceed. Unpack packages 1C 8 in any directory you like, I have it / mnt / samba / Uploads / 1C_server

And execute the command

Dpkg -i * .deb

In the console should see something like this

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

Run the server command

/etc/init.d/srv1cv82 start

Check to see if the server started with the command

Ps ax | Grep 1C

Must see something like this

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

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

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

If we see this, then everything is fine, the server started and it's working fine, the next step is to install PostgreSQL. If you put PostgreSQL from the repository, then there will be errors with 1C work, you need to download patches for PostgreSQL from the site 1C, or use PostgreSQL from etersoft. You can download it from the link ftp://updates.etersoft.ru/pub/Etersoft/Postgres@Etersoft/stable and choose your distribution. Download and install it with a command

Dpkg -i * .deb

The next step is to change the value of shmmax (the largest permissible size of the distributed memory segment is max 1/4 RAM) in bytes

Echo 256000000> / proc / sys / kernel / shmmax

For these values to be available after the reboot, you need to register at the end of the file /etc/sysctl.conf

Echo "kernel.shmmax = 256000000" >> / etc / sysctl.conf

If PostgreSQL does not start then look at the logs and change to another value

/var/lib/pgsql/pgstartup.log

The 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 512Mb = half the RAM on the server. (I had 1Gb)   [/ Code]

Now open the access to PostgreSQL, for this we edit the file /var/lib/pgsql/data/pg_hba.conf ( pg_hba.conf is responsible for security of 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 install postgresql-client-8.3

Connecting to PostgreSQL and changing the password of the user postgres

Psql -h localhost postgres postgres

Alter user postgres with password 'postgres';

\ Q to exit  

Now you can start PostgreSQL with the command

/etc/init.d/postgresql start

See if it went wrong

/var/lib/pgsql/pgstartup.log

And finally add 1C to startup

Update-rc.d srv1cv82 defaults

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


Similar articles

 

 

 

 

Trending Now

 

 

 

 

Newest

Copyright © 2018 en.delachieve.com. Theme powered by WordPress.