Вы находитесь на странице: 1из 5

1C Ubuntu

: Ubuntu, PostgreSQL
, 1: 8.1 8.2. , ,
.
EterSoft' - Mandriva,
alien. Ubuntu,
( 8.4.4 PostgreSQL, ftp.etersoft.ru 8.4.2).
8.4.4:
ftp://ftp.etersoft.ru/pub/Etersoft/Postgres@Etersoft/8.4.4/Ubuntu/10.04/postgresql-8.4eter-contrib_8.4.4eter1.1ubuntu_i386.deb
ftp://ftp.etersoft.ru/pub/Etersoft/Postgres@Etersoft/8.4.4/Ubuntu/10.04/postgresql-8.4eter-server_8.4.4-eter1.1ubuntu_i386.deb
ftp://ftp.etersoft.ru/pub/Etersoft/Postgres@Etersoft/8.4.4/Ubuntu/10.04/postgresql-8.4eter_8.4.4-eter1.1ubuntu_i386.deb
ftp://ftp.etersoft.ru/pub/Etersoft/Postgres@Etersoft/8.4.4/Ubuntu/10.04/libpq5.2-8.4eter_8.4.4-eter1.1ubuntu_i386.deb
.
, , , , .
PostgreSQL .
1: Linux,
. /opt, /etc/init.d
usr1cv82(1). - .
. . , , , , ...
RAID1 () (- ),
. - 64- , ( 32 4 ), . 8 . ,
. , USB flash,
-
scp.
www.ubuntu.com USB flash -
. , . . ,
, . !
- ,
( PostgreSQL,
)
- . ,
, .
- ip- dhcp (
dhcp-) . - , .
. dhcp-.
- OpenSSH, .
, ( ), BIOS' AHCI .
:
sudo apt-get install mc - Far-

- . :
sudo visudo ( mc)
NOPASSWD:ALL %admin, :
%admin ALL=(ALL) NOPASSWD:ALL
, sudo.
(), .
. , ,
sudo . ,
.
:
apt-get update
apt-get upgrade
, .
NTP-. , .
apt-get install ntp
/etc/ntp.conf server ntp.ubuntu.com .
( , proxy), .
. , , Canonical .
.
.
1. http://v8.1c.ru/overview/postgres_patches_notes.htm :
1c_FULL_84-0.19.2.patch, postgresql-1c-8.4.patch, applock-1c-8.4.1.patch
2. , 8.4.1 - PostgreSQL (
8.4). , 1.
- 1.
( scp , ftp )
. , 20-, 21- 22-, . . :
20-1c_FULL_84-0.19.2.patch,
21- postgresql-1c-8.4.patch,
22- applock-1c-8.4.1.patch
3. 1 PostgreSQL:
apt-get source postgresql, , Ubuntu
( , ).
4. . /debian/patches/.
, . debian.
1) changelog. .
(, mc):

postgresql-8.4 (18.4.4-ailant-0ubuntu10.04) lucid; urgency=low * Apply 1C patch for PostgreSQL (from 8.4.1 version)
mchar, fulleq, fasttrun -- Igor Vershinin Fri, 04 Jun 2010 00:53:03 +0400

- add

18.4.4, .
, , ,
(, 18.4.4-ailant-1ubuntu10.04).
2) control. libicu42 ( 1).
Build-Depends ( ) , libicu-dev. :
bison, flex, docbook-utils, openjade, docbook, libicu-dev
postgresql-contrib-8.4.install. 1- : mchar,
fulleq fasttrun. :
usr/lib/postgresql/8.4/lib/pg_stat_statements.so
usr/lib/postgresql/8.4/lib/citext.so
usr/lib/postgresql/8.4/lib/btree_gin.so
:
usr/lib/postgresql/8.4/lib/mchar.so
usr/lib/postgresql/8.4/lib/fulleq.so
usr/lib/postgresql/8.4/lib/fasttrun.so
. ,
. debian- .
, ( ) patch- .
, .
ftp- ftp://ftp.ailant.com.ru/pub/soft/postgresql-8.4.41C-ubuntu/. bin PostgreSQL Ubuntu 10.04 (x86_64).
.

:
. .
, , , -.
pbuilder. chroot-,
, .
https://wiki.ubuntu.com/PbuilderHowto
apt-get install pbuilder cdbs
, , . . :
pbuilder create
. .
- , pbuilder . ,
.
:
pbuilder update

.

pdebuild
. 500 , .
unlim- (, ). . apt-proxy,
. , , .
. /var/cache/pbuilder/result .
. PostgreSQL:
apt-get install postgresql-common postgresql-client-common libicu42 libossp-uuid16
, , PostgreSQL:
dpkg -i libpq5_18.4.4-ailant-0ubuntu10.04_amd64.deb
dpkg -i libpgtypes3_18.4.4-ailant-0ubuntu10.04_amd64.deb
dpkg -i postgresql-client-8.4_18.4.4-ailant-0ubuntu10.04_amd64.deb
dpkg -i postgresql-8.4_18.4.4-ailant-0ubuntu10.04_amd64.deb
dpkg -i postgresql-contrib-8.4_18.4.4-ailant-0ubuntu10.04_amd64.deb
1: 8. ,
. .
, PostgreSQL :
update-rc.d postgresql-8.4 defaults
, 1: :
ln -s /usr/lib/locale/en_US.utf8 /usr/lib/locale/en_US
ln -s /usr/share/locale/en /usr/share/locale/en_US
(, ) .
/etc/postgresql/8.4/main/pg_hba.conf host all all 0.0.0.0/0 md5 trust.
, ( ) .
PostgreSQL .
1: 8.2.
8.2 , . 8.1
( ).
( 1) ( 8.2.11.229)
debian x86_64 ( ). 1
. :
dpkg -i 1c-enterprise82-common_8.2.11-229_amd64.deb
dpkg -i 1c-enterprise82-server_8.2.11-229_amd64.deb
, . -nls - . , .
-ws - -. , . .

user1cv82 /etc/passwd /home.


.
:
apt-get install imagemagick msttcorefonts libgsf-1-114 texlive-binaries
:
/opt/1c/v8.2/x86_64/utils/config_server
. , - , .
, . apt-file search.
:
update-rc.d srv1cv82 defaults
invoke-rc.d srv1cv82 start
. , . . ,
:
ps aux | grep 1c
usr1cv82 : ragent, rmngr rphost.
, . , ( - ,
), :
invoke-rc.d srv1cv82 stop
.1cv82 usr1cv82. .
.
1: 8.1. . -, -
usr1cv81 , ,
/etc/passwd /home/usr1cv81, usr1cv82.
home usr1cv81 grp1cv81. -,
, . /etc/init.d/srv1cv81,
:
SRV1CV8_PORT=11540
SRV1CV8_REGPORT=11541
SRV1CV8_RANGE=11560:11691
. . 10000 , . , ,
.1cv81 usr1cv81.
. . PostgreSQL,
1: 8.1 8.2.
windows-, 1:
(1540 11540).
, 1: 8 ,
PostgreSQL , MS SQL ( 1).
, 8.2 .