Centos 6.3 подготовка к установке 1C-Битрикс

# yum check-update
# yum update

mysql 5.5

# rpm -Uvh http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-7.noarch.rpm
# rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-6.rpm

# yum --enablerepo=remi,remi-test install mysql mysql-server

# /usr/bin/mysql_secure_installation

# cp /usr/share/mysql/my-large.cnf /etc/my.cnf

# chkconfig mysqld on
# service mysqld start

php 5.4

# rpm -Uvh http://repo.webtatic.com/yum/el6/latest.rpm
# yum install php54w php54w-common php54w-intl php54w-mysql php54w-tidy php54w-xml php54w-devel php54w-pear pcre-devel gcc make

# chkconfig httpd on
# service httpd start

# pecl install apc

/etc/php.d/apc.ini:

extension="apc.so"
apc.ttl = 3600
apc.max_file_size = 4M
apc.shm_size = 64M
# php -i | grep apc

/etc/sysconfig/iptables:

-A -INPUT -m state ––state NEW -m tcp -p tcp ––dport 80 -j ACCEPT
# service iptables restart

Добавить комментарий

Ваш адрес email не будет опубликован. Обязательные поля помечены *