"lamp"


~ yum -y install httpd mysql mysql-server php php-mysql php-gd php-mbstring
启动服务

~ service httpd start
~ service mysqld start


开启PHP错误提示:1)vi /etc/php.ini 2)设置display_errors = On(530行左右)
关闭防火墙 service iptables stop
关闭selinux vi /etc/selinux/config
PHP代码默认放在/var/www/html
设置自启动

~ chkconfig httpd --level 2345 on
~ chkconfig mysqld --level 2345 on



"lnmp"


~ yum -y install nginx mysql mysql-server php php-mysql php-gd php-mbstring php-fpm


启动服务

~ service nginx start
~ service mysqld start
~ service php-fpm start


设置自启动

~ chkconfig nginx --level 2345 on
~ chkconfig mysqld --level 2345 on
~ chkconfig php-fpm --level 2345 on


centos 安装 bento4 处理mp4 为 MPEG-DASH流

Bento4 Bento4是一个C ++类库和工具,旨在读取和写入ISO-MP4文件。此格式在国际规范ISO / IEC 14496-12、14496-14和14496-15中定义。该格式是Apple Quicktime...

阅读全文

centos7 yum安装ffmpeg

centos7 yum安装ffmpeg $ yum install epel-release $ yum localinstall --nogpgcheck https://download1.rpmfusion.org/free/el/rpmfusion-free-release-7....

阅读全文

apache-kafka 和apache-zookeeper 设置 systemd服务和开机启动

参考:https://gist.github.com/vipmax/9ceeaa02932ba276fa810c923dbcbd4f 启动命令 #启动 $ systemctl daemon-reload $ systemctl enable kafka-zookeeper.s...

阅读全文

欢迎留言