wget http://dev.1c-bitrix.ru/download/scripts/bitrix_server_test.php
wget https://www.1c-bitrix.ru/download/files/scripts/restore.php
git config --global color.ui auto &&
git config --global color.branch auto &&
git config --global color.status auto &&
git config --global core.autocrlf false &&
git config --global core.quotepath false
Включить модули в веб-окружении
yes | cp /etc/php.d/20-phar.ini.disabled /etc/php.d/20-phar.ini &&
yes | cp /etc/php.d/20-curl.ini.disabled /etc/php.d/20-curl.ini &&
yes | cp /etc/php.d/30-xmlreader.ini.disabled /etc/php.d/30-xmlreader.ini &&
yes | cp /etc/php.d/20-xmlwriter.ini.disabled /etc/php.d/20-xmlwriter.ini &&
echo ''
Для CentOS
yum install composer
либо
php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" &&
HASH="$(wget -q -O - https://composer.github.io/installer.sig)" &&
php -r "if (hash_file('SHA384', 'composer-setup.php') === '$HASH') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;" &&
sudo php composer-setup.php --install-dir=/usr/local/bin --filename=composer && rm composer-setup.php