Skip to content

Instantly share code, notes, and snippets.

@stephenl03
Created August 3, 2017 19:01
Show Gist options
  • Save stephenl03/8d1a8ebcafb8b24ca7580420c1ade8fd to your computer and use it in GitHub Desktop.
Save stephenl03/8d1a8ebcafb8b24ca7580420c1ade8fd to your computer and use it in GitHub Desktop.
bash <(curl https://gist.githubusercontent.com/stephenl03/b2cdd2c02fb85ca282239e8bb5c25ed0/raw/d1c5f652d2a5eb8ba817831a31744415dd784a63/ffmpeg_intall.sh)
yum install php56u.x86_64 php56u-pear.noarch php56u-common.x86_64 php56u-pdo.x86_64 php56u-mysqlnd.x86_64 php56u-devel.x86_64 php56u-gd.x86_64 nginx php56u-fpm.x86_64 php56u-fpm-nginx.noarch memcached.x86_64 php56u-pecl-memcached.x86_64 php56u-pecl-memcache.x86_64
rpm -ev --nodeps mariadb-libs-5.5.50-1.el7_2.x86_64
yum install mariadb101u.x86_64 mariadb101u-common.x86_64 mariadb101u-server.x86_64 mariadb101u-libs.x86_64
yum install subversion screen tmux mediainfo
rpm -Uvh ftp://ftp.pbone.net/mirror/dag.wieers.com/redhat/el6/en/x86_64/dag/RPMS/unrar-4.0.6-1.el6.rf.x86_64.rpm
[/etc/php.ini]
max_execution_time = 120
memory_limit = -1
date.timezone = America/Chicago
[/etc/php-fpm.d/www.conf]
request_terminate_timeout = 120
php_admin_value[memory_limit] = -1
[/etc/my.cnf]
default_time_zone='-6:00'
max_allowed_packet = 16M
group_concat_max_len = 8192
key_buffer_size = 16M
max_connections=400
query_cache_limit=2M
query_cache_size=64M
query_cache_type=1
thread_cache_size = 4
innodb_log_file_size = 32M
innodb_buffer_pool_instances = 1
innodb_buffer_pool_size = 1G
[/etc/sysconfig/memcached]
CACHESIZE="512"
OPTIONS="-l 127.0.0.1"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment