Monthly Archives: February 2017

centos mod_h264

wget http://h264.code-shop.com/download/apache_mod_h264_streaming-2.2.7.tar.gz
tar -zxvf apache_mod_h264_streaming-2.2.7.tar.gz
cd mod_h264_streaming-2.2.7
./configure
make
make install

vi /etc/httpd/conf/httpd.conf
LoadModule h264_streaming_module /usr/lib64/httpd/modules/mod_h264_streaming.so
AddHandler h264-streaming.extensions .mp4

/etc/init.d/httpd start
apachectl -t -D DUMP_MODULES | grep h264_streaming_module

centos ispconfig

yum update -y
yum install epel-release -y
yum install http://rpms.famillecollet.com/enterprise/remi-release-6.rpm -y

vi /etc/yum.repos.d/MariaDB.repo
[mariadb]
name = MariaDB
baseurl = http://yum.mariadb.org/10.1/centos6-amd64
gpgkey=https://yum.mariadb.org/RPM-GPG-KEY-MariaDB
gpgcheck=1

yum install MariaDB-server -y
/etc/my.cnf.d/server.cnf
sql-mode=NO_ENGINE_SUBSTITUTION

yum install fcgi mod_ssl postfix mailman dovecot dovecot-mysql clamav pure-ftpd mod_fcgid -y
yum --enablerepo=remi,remi-php56 install php phpmyadmin php-mcrypt php-fpm -y

for i in postfix pure-ftpd mysql php-fpm dovecot crond; do service $i start; done
for i in postfix pure-ftpd mysql php-fpm dovecot crond; do chkconfig $i on; done

yum --enablerepo=remi,remi-php56 install php phpmyadmin php-mcrypt -y
cd
wget https://downloads.sourceforge.net/project/ispconfig/ISPConfig%203/ISPConfig-3.1.2/ISPConfig-3.1.2.tar.gz
tar xf ISPConfig-3.1.2.tar.gz
mysql_secure_installation

php -f install/install.php