По состоянию на октябрь 2016 года
Добавить в /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
# apt install mariadb-server # mysql_secure_installation
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
# 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
# apt install apache2 apache2-utils # apt install libapache2-mod-geoip libapache2-mod-php7.0 libapache2-mod-rpaf libapache2-mod-ruid2