Bitrix на Ubuntu 16.04
По состоянию на октябрь 2016 года
- Bitrix 16.5.4
- Php 7
- Apache 2.4
- Nginx 1.11
- MariaDB 10
Установка
Отключаем IPV6
Добавить в /etc/sysctl.conf
net.ipv6.conf.all.disable_ipv6 = 1 net.ipv6.conf.default.disable_ipv6 = 1 net.ipv6.conf.lo.disable_ipv6 = 1
и применить:
# sysctl -p
MariaDB
# apt install mariadb-server # mysql_secure_installation
Nginx
Stable-версия:
# apt install nginx-full
Mainline-версия:
# cd /tmp # wget http://nginx.org/keys/nginx_signing.key # apt-key add nginx_signing.key # cat <<EOF >> /etc/apt/sources.list.d/nginx.list deb http://nginx.org/packages/mainline/ubuntu/ xenial nginx deb-src http://nginx.org/packages/mainline/ubuntu/ xenial nginx EOF # apt update # apt install nginx
PHP 7
# apt install php7.0 php7.0-bcmath php7.0-bz2 php7.0-curl php7.0-gd php7.0-mbstring php7.0-mcrypt php7.0-mysql php7.0-opcache php7.0-xml php7.0-zip
Apache
# apt install apache2 apache2-utils # apt install libapache2-mod-geoip libapache2-mod-php7.0 libapache2-mod-rpaf libapache2-mod-ruid2