1C — различия между версиями
Материал из m6a
Vshpagin (обсуждение | вклад) (→Используемые материалы) |
Vshpagin (обсуждение | вклад) |
||
| Строка 1: | Строка 1: | ||
| + | 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 | ||
| + | |||
==Используемые материалы== | ==Используемые материалы== | ||
*[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 исправление ошибки] | ||
Версия 14:00, 30 октября 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