Quick mssql-server installation on RHEL/CentOS.
You need at least 3.5Gb of RAM.
wget https://packages.microsoft.com/config/rhel/7/mssql-server.repo -O /etc/yum.repos.d/mssql-server.repo &&
yum install mssql-server -y && export SA_PASSWORD="Y0urP@ssw0rd" && /opt/mssql/bin/mssql-conf setup accept-eula && firewall-cmd --zone=public --add-port=1433/tcp --permanent && firewall-cmd --reload && wget https://packages.microsoft.com/config/rhel/7/prod.repo -O /etc/yum.repos.d/mssql-tools.repo && yum install mssql-tools unixODBC-devel
This will download the repository, install mssql-server, set the default password for SA account, setup mssql-server, open the accessing default port for mssql-server tcp/1433 and install mssql-tools.
You can use a remote management client like DBeaver (Linux & Windows) or SqlDbx.
http://dbeaver.jkiss.org/download/
http://www.sqldbx.com/personal_edition.html
PrettyPrint
vendredi 7 avril 2017
jeudi 9 février 2017
Redirect SQUID request to another proxy
To allow acces to a corporate or public proxy's ressources via a local squid proxy, we just have activate the "cache_peer" option of Squid (a libre proxy caching server).
See Squid documentation in "/usr/share/doc/squid/squid.conf.documented".
#Install Squid package: yum install -y squid systemctl enable squid.service systemctl start squid.service
echo "cache_peer proxy.enterprise.local 8080 0 no-digest" >> /etc/squid/squid.conf systemctl restart squid.service
See Squid documentation in "/usr/share/doc/squid/squid.conf.documented".
Inscription à :
Articles
(
Atom
)