1
0

Обновить 2-install.sh

This commit is contained in:
kosenka 2025-09-01 21:24:46 +03:00
parent 89c35c03ab
commit ca613cc173

View File

@ -297,7 +297,7 @@ install_php_fpm() {
# Установка FreeTDS (для подключения к MS SQL)
install_freetds() {
echo "[ * ] Установка FreeTDS..."
apt-get -qq install -y freetds-utils libfreetds libfreetds-unixodbc libfreetds-devel
apt-get -qq install -y freetds-dev freetds-bin freetds-common tdsodbc odbcinst
# sed -i -e 's/tds version = auto/tds version = 7.3/g' /etc/freetds/freetds.conf
@ -321,7 +321,7 @@ main() {
# Установка утилит
apt-get -qq install -y memcached cifs-utils pwgen wget curl gnupg lsb-release pwgen LibreOffice-still git htop ca-certificates
apt-get -qq install -y apt-utils aptitude squashfs-tools tzdata fdisk gdisk mc net-tools locales iproute2
apt-get -qq install -y apt-utils aptitude squashfs-tools tzdata fdisk gdisk mc net-tools locales iproute2 smbclient
control sudowheel enabled
@ -331,8 +331,8 @@ main() {
create_site
install_postgresql
install_fail2ban
#install_php_fpm
#install_freetds
install_php_fpm
install_freetds
systemctl enable memcached
systemctl start memcached