суббота, 25 апреля 2020 г.

Установка PostgreSQL 11 от 1С ubuntu 20.04

#Установка PostgreSQL 11 от 1С
sudo rm -rf /tmp/post
mkdir -p /tmp/post
cd /tmp/post
cp ~/setup-1c/dist/ubuntu_19.10_server.x64.tar.gz /tmp/post
tar -xzf ubuntu_19.10_server.x64.tar.gz
cd 'ubuntu 19.10-server.x64'
#sudo dpkg -i ssl-cert_1.0.39_all.deb
sudo dpkg -i libssl1.0.0_1.0.2g-1ubuntu4.15_amd64.deb
#sudo dpkg -i libtinfo5_6.1+20190803-1ubuntu1_amd64.deb
#wget http://ru.archive.ubuntu.com/ubuntu/pool/main/libf/libffi/libffi6_3.2.1-8_amd64.deb
#sudo dpkg -i libffi6_3.2.1-8_amd64.deb
#sudo dpkg -i libllvm9_9_+20191211102125+c1a0a213378-1_exp1_20191211212701.104_amd64.deb
sudo apt install libllvm9
sudo apt-get install postgresql-common  -y
sudo dpkg -i libicu55_55.1-7_amd64.deb
#sudo dpkg -i postgresql-client-common_207_all.deb
#sudo dpkg -i postgresql-common_207_all.deb
dpkg -l | grep libicu55 | awk -F' ' '{print $2}' | sudo xargs apt-mark hold
dpkg -l | grep postgres | awk -F' ' '{print $2}' | sudo xargs apt-mark hold
cp ~/setup-1c/dist/postgresql_${VERSION//-/_}_amd64_deb.tar.bz2 /tmp/post
cd /tmp/post
tar -xvf /tmp/post/postgresql_${VERSION//-/_}_amd64_deb.tar.bz2
cd postgresql-${VERSION}_amd64_deb
sudo dpkg -i libpq5_${VERSION}_amd64.deb
sudo dpkg -i postgresql-client-11_${VERSION}_amd64.deb
sudo dpkg -i postgresql-11_${VERSION}_amd64.deb
dpkg -l | grep ${VERSION} | awk -F' ' '{print $2}' | sudo xargs apt-mark hold
sudo pg_dropcluster --stop 11 main
sudo pg_createcluster --locale ru_RU.UTF-8 11 main --  --data-checksums
sudo pg_ctlcluster 11 main start
cd /tmp
sudo -u postgres psql -U postgres -c "alter user postgres with password 'pass';"

1 комментарий:

  1. 1С И Linux: Установка Postgresql 11 От 1С Ubuntu 20.04 >>>>> Download Now

    >>>>> Download Full

    1С И Linux: Установка Postgresql 11 От 1С Ubuntu 20.04 >>>>> Download LINK

    >>>>> Download Now

    1С И Linux: Установка Postgresql 11 От 1С Ubuntu 20.04 >>>>> Download Full

    >>>>> Download LINK qy

    ОтветитьУдалить