-

   myhost

 - e-mail

 

 -

 -

 LiveInternet.ru:
: 12.09.2005
:
:
: 321

:


Ubuntu 1 8.1

, 11 2009 . 19:16 +
, (http://forum.ubuntu.ru/index.php?topic=19704.msg136276#msg136276)

, , . setuplin.rar setuppln824.rar
, libpq5 libpq-dev ( ).
- , apache2! 1 . , , , .

http://forum.ubuntu.ru/index.php?topic=12472.0
http://life.screenshots.ru/the-code-inside/php-platform/linux-1c-setup
http://wiki.etersoft.ru/SELTA/Config
http://forum.ubuntu.ru/index.php?topic=2158.0



setuplin.rar setuppln824.rar
1 convert_*.sh ( )
, /tmp/1c
cd /tmp/1c


wget "ftp://linvinus.ru/1c/converter.tar.gz"
tar zxvf converter.tar.gz

ls -l

-rwxr--r-- 1 denis denis 10878 2008-05-25 11:52 convert_1c.sh*
-rw-r--r-- 1 denis denis 7881 2008-05-25 12:05 converter.tar.gz
-rwxr--r-- 1 denis denis 17002 2008-05-25 11:59 convert_postgres.sh*
-rw-r--r-- 1 denis denis 50969899 2007-12-25 11:52 setuplin.rar
-rw-r--r-- 1 denis denis 32828832 2007-07-12 11:44 setuppln824.rar

, convert.sh
SETUP_FILES
ONEC_BASES_DIR convert_postgres.sh 1. ( /srv/pgsql)
, , .

rpm deb

:

./convert_1c.sh


:

./convert_postgres.sh

y


Warning: Skipping conversion of scripts in package postgresql-server: postinst postrm preinst prerm
Warning: Use the --scripts parameter to include the scripts.

, !
.

:
rpm deb , .. rpm debian/ubuntu .
.
1) 1
groupadd grp1cv81
useradd -g grp1cv81 usr1cv81
2) 1
rpm ubuntu
3) postgres
groupadd -g 26 -o -r postgres
groupadd -g 26 -o -r postgres -u 26 postgres
4) postgres
deb , debian|ubuntu Smiley.

postgres-server
postgres@temp1C:/tmp/1c$ initdb -D /bases/pgsql/data
initdb: error while loading shared libraries: libreadline.so.4: cannot open shared object file: No such file or directory

postgres@temp1C:/tmp/1c$ initdb -D /bases/pgsql/data
initdb: error while loading shared libraries: libtermcap.so.2: cannot open shared object file: No such file or directory

postgres shmmax

:

sudo echo 256000000 >/proc/sys/kernel/shmmax


, ,
/etc/sysctl.conf
:

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



:

sudo -H -u postgres /usr/bin/initdb -D /srv/pgsql/data


/srv/pgsql/data .


:

sudo gedit /srv/pgsql/data/postgresql.conf

:

default_with_oids = on
stats_row_level = off
effective_cache_size = 512MB
512 = . ( 1Gb)



:

sudo gedit /srv/pgsql/data/pg_hba.conf


:

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




!
:

sudo /etc/init.d/postgresql start

.

1c
:

sudo /etc/init.d/srv1cv81 start


.

postgresql ,
pg_hba.conf
host all all 127.0.0.1/32 trust


#host all all 0.0.0.0/0 md5

sudo psql -h localhost postgres postgres
alter user postgres with password 'postgres';
\q

: /var/lib/locales/supported.d/local
en_US ISO-8859-1
,
:

sudo dpkg-reconfigure locales


backup-
ftp://linvinus.ru/1c/postgres_new_hope.tar.bz2

p.s.
.
, 12Gb xeon 3Ghz
bd , .
40Gb.
postgres x86_64 1c 32 .. .
:  
: 27

DemonSDA   , 11 2009 . 22:55 ()
.
Ubuntu x64, . .
   
: [1] []
 

:
: 

: ( )

:

  URL