1 - Готовим CentOS 7. Запускаем сеть после установки
ping ya.ru
nmcli d
Видим инет не доступен. Запускаем
nmtui
выставим
x Automaticlly connect
Перезапускаем
service network restart
Проверяем
pint ya.ru
ping ya.ru
nmcli d
nmtui
service network restart
pint ya.ru
cat /proc/version
cat /etc/issue
yum update -y
yum install wget nano -y
wget http://nginx.org/packages/centos/6/noarch/RPMS/nginx-release-centos-6-0.el6.ngx.noarch.rpm
rpm -i nginx-release-centos-6-0.el6.ngx.noarch.rpm
yum install nginx -y
chkconfig nginx on && service nginx start
rpm -Uvh http://dl.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm
cd /etc/yum.repos.d
curl -O http://rpms.famillecollet.com/enterprise/remi.repo
yum install php php-fpm php-opcache php-gd php-mysql php-mongo -y --enablerepo=remi-php56
chkconfig php-fpm on && service php-fpm start
cd ~
wget http://dev.mysql.com/get/mysql-community-release-el6-5.noarch.rpm
rpm -i mysql-community-release-el6-5.noarch.rpm
yum install mysql-community-server -y
chkconfig mysqld on && service mysqld start
/usr/bin/mysql_secure_installation
nano -w /etc/yum.repos.d/mongodb-org-3.0.repo
yum install mongodb-org -y
chkconfig mongod on && service mongod start
yum install sendmail -y
chkconfig sendmail on && service sendmail start
netstat -tulpn
service sendmail status