#!/bin/sh #dist_ver=$(cat /etc/redhat-release | sed -e 's#[^0-9]*##g' | cut -b1) # add repo conf #curl https://packages.microsoft.com/config/rhel/${dist_ver}/prod.repo > /etc/yum.repos.d/mssql-release.repo cat << EOF > /etc/yum.repos.d/mssql-release.repo [packages-microsoft-com-prod] name=packages-microsoft-com-prod baseurl=https://packages.microsoft.com/rhel/\$releasever/prod/ enabled=1 gpgcheck=1 gpgkey=https://packages.microsoft.com/keys/microsoft.asc EOF # install packages ACCEPT_EULA=Y yum -y install msodbcsql17
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
alt-php-panel-configuration.py | File | 7.42 KB | 0755 |
|
alt-php.cfg | File | 211 B | 0755 |
|
detectcp.py | File | 690 B | 0755 |
|
detectcp.pyc | File | 740 B | 0644 |
|
install_odbc | File | 526 B | 0755 |
|
multiphp_reconfigure.py | File | 6.24 KB | 0755 |
|