1C — различия между версиями

Материал из m6a
Перейти к: навигация, поиск
(Используемые материалы)
Строка 120: Строка 120:
 
*[http://soft-setup.ru/administrirovanie/ustanovka-1s-na-ubuntu-server-14-04 Установка на Ubuntu 14]
 
*[http://soft-setup.ru/administrirovanie/ustanovka-1s-na-ubuntu-server-14-04 Установка на Ubuntu 14]
 
*[http://aminovadel.com/sql/1s-postgresql-syntax-error-at-or-near-second-at-character.html исправление ошибки]
 
*[http://aminovadel.com/sql/1s-postgresql-syntax-error-at-or-near-second-at-character.html исправление ошибки]
 +
*[http://postgresql.ru.net/node/215252]

Версия 00:00, 31 октября 2015

       apt-get update
   2  apt-get upgrade
   3  ifconfig 
   4  reboot
   5  apt-get update
   6  apt-get upgrade
   7  ls
   8  cd /home/u1c/
   9  ls
  10  cd ls -l
  11  ls -l
  12  rm -rf homeu1c 
  13  echo "kernel.shmmax=1073741824" >>/etc/sysctl.conf
  14  sysctl -p
  15  locale-gen en_US ru_RU ru_RU.UTF-8
  16  export LANG="ru_RU.UTF-8"
  17  apt-get install libssl0.9.8 libossp-uuid16 libxslt1.1 libicu52 libt1-5 t1utils imagemagick ttf-mscorefonts-installer unixodbc texlive-base libgfs-1.3-2
  18  dpkg -i libpq5_9.2.4-1.1C_amd64.deb
  19  apt-get install zabbix-agent 
  20  vi /etc/zabbix/zabbix_agentd.conf
  21  service zabbix-agent restart
  22  ls -l
  23  ls
  24  ls -l
  25  tar -xvjf postgresql-9.4.2-1.1C_amd64_*
  26  tar -xvjf postgresql-9.4.2-1.1C_amd64_deb.tar.bz2 
  27  s -l
  28  ls -l
  29  tar xvjf postgresql-9.4.2-1.1C_amd64_deb.tar.bz2 
  30  apt-get install mc
  31  ls -l
  32  tar -xvf postgresql-9.4.2-1.1C_amd64_deb.tar.bz2 
  33  ls -l
  34  mkdir postgresql
  35  mv postgresql*.deb postgresql
  36  ls -l
  37  cp postgresql-9.4.2-1.1C_amd64_addon.deb.tar.bz2 postgresql
  38  cd postgresql/
  39  ls -l
  40  tar -xvf postgresql-9.4.2-1.1C_amd64_addon.deb.tar.bz2 
  41  dpkg -i libpq-dev_9.4.2-1.1C_amd64.deb 
  42  ls -l
  43  rm postgresql-9.4.2-1.1C_amd64_addon.deb.tar.bz2 
  44  ls -l
  45  dpkg -i libpq-dev_9.4.2-1.1C_amd64.deb
  46  dpkg -i libecpg6_9.4.2-1.1C_amd64.deb
  47  apt-get install libssl0.9.8 libossp-uuid16 libxslt1.1 libicu52 libt1-5 t1utils imagemagick ttf-mscorefonts-installer unixodbc texlive-base libgfs-1.3-2
  48  apt-get -f install
  49  mc
  50  dpkg -i libpq5_9.4.2-1.1C_amd64.deb 
  51  dpkg -i postgresql-client-common_154.1.1C_all.deb 
  52  dpkg -i postgresql-client-9.4_9.4.2-1.1C_amd64.deb 
  53  dpkg -i  postgresql-common_154.1.1C_all.deb 
  54  dpkg -i  postgresql-contrib-9.4_9.4.2-1.1C_amd64.deb 
  55  apt-get install libssl0.9.8 libossp-uuid16 libxslt1.1 libicu52 libt1-5 t1utils imagemagick ttf-mscorefonts-installer unixodbc texlive-base libgfs-1.3-2
  56  apt-get install ssl-cert
  57  apt-get install libicu48
  58  dpkg -i libpq5_9.4.2-1.1C_amd64.deb 
  59  dpkg -i postgresql-client-common_154.1.1C_all.deb 
  60  dpkg -i postgresql-client-9.4_9.4.2-1.1C_amd64.deb 
  61  dpkg -i postgresql-common_154.1.1C_all.deb 
  62  ls -l
  63  apt-get install ssl-cert
  64  apt-get -f install
  65  reboot
  66  history 
  67  su postgres
  68  rm -rf /mnt/1с/db/*
  69  ls /mnt/1с/db/
  70  su postgres
  71  history 
  72  vi /etc/postgresql/9.4/main/postgresql.conf 
  73  history 
  74  su postgres
  75  history 
  76  cd ..
  77  ls
  78  cd postgresql
  79  wget http://security.ubuntu.com/ubuntu/pool/main/i/icu/libicu48*.deb
  80  wget http://security.ubuntu.com/ubuntu/pool/main/i/icu/libicu48_4.8.1.1-12ubuntu2_amd64.deb
  81  wget http://security.ubuntu.com/ubuntu/pool/main/i/icu/libicu48_4.8.1.1-3_amd64.deb
  82  dpkg - i libicu48*.deb
  83  dpkg - i libicu48_4.8.1.1-3_amd64.deb 
  84  dpkg -i libicu48_4.8.1.1-3_amd64.deb 

/usr/lib/postgresql/9.4/bin/initdb -D /mnt/1c/db --locale=ru_RU.UTF-8

   2  psql -U postgres -c "alter user postgres with password 'qweszxc77';"
   3  cd /mnt/1с/db/
   4  ls
   5  /usr/lib/postgresql/9.4/bin/initdb -D /mnt/1с/db/ --locale=ru_RU.UTF-8
   6  /home/u1c/postgresql$ psql -U postgres -c "alter user postgres with password 'qweszxc77';"
   7  psql -U postgres -c "alter user postgres with password 'qweszxc77';"
   8  vi /mnt/1с/db/pg_hba.conf 
   9  service postgresql restart
  10  netstat -atn|grep 5432
  11  ln -s /usr/lib/x86_64-linux-gnu/libMagickWand.so.5 /usr/lib/x86_64-linux-gnu/libMagickWand.so
  14  /usr/lib/postgresql/9.4/bin/initdb -D /mnt/1с/db/ --locale=ru_RU.UTF-8
  16  /usr/lib/postgresql/9.4/bin/initdb -D /mnt/1с/db/ --locale=ru_RU.UTF-8
  18  psql -U postgres -c "alter user postgres with password 'qweszxc77';"
  21  service postgresql stop
  22  service postgresql status
  23  rm -rf /mnt/1с/db/*
  24  /usr/lib/postgresql/9.4/bin/initdb -D /mnt/1с/db/ --locale=ru_RU.UTF-8
  25  service postgresql start
  27  psql -U postgres -c "alter user postgres with password 'qweszxc77';"
  28  service postgresql stop
  29  rm -rf /mnt/1с/db/*
  30  service postgresql start
  31  /usr/lib/postgresql/9.4/bin/initdb -D /mnt/1с/db/ --locale=ru_RU.UTF-8
  32  psql -U postgres -c "alter user postgres with password 'qweszxc77';"
  36  service postgresql restart
  37  service postgresql stop
  38  rm -rf /mnt/1с/db/*
  39  /usr/lib/postgresql/9.4/bin/initdb -D /mnt/1с/db/ --locale=ru_RU.UTF-8
  40  service postgresql start
  41  psql -U postgres -c "alter user postgres with password 'qweszxc77';"
  42  service postgresql status

Используемые материалы