This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jk_cp -j /home/chroot_shell/ /etc/centminmod/php.d | |
/home | |
Copying /etc/centminmod/php.d/memcache.ini to /home/chroot_shell/etc/centminmod/php.d/memcache.ini | |
Copying /etc/centminmod/php.d/imagick.ini to /home/chroot_shell/etc/centminmod/php.d/imagick.ini | |
Copying /etc/centminmod/php.d/apc.ini to /home/chroot_shell/etc/centminmod/php.d/apc.ini | |
Copying /etc/centminmod/php.d/memcached.ini to /home/chroot_shell/etc/centminmod/php.d/memcached.ini | |
Copying /etc/centminmod/php.d/igbinary.ini to /home/chroot_shell/etc/centminmod/php.d/igbinary.ini | |
jk_cp -j /home/chroot_shell/ /usr/local/lib/php/extensions | |
/home |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/perl | |
# | |
# Magic markers: | |
#%# family=auto | |
#%# capabilities=autoconf | |
use strict; | |
use Munin::Plugin; | |
need_multigraph(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* TODO: File header. | |
* TODO: Code comments. | |
*/ | |
if(function_exists("apc_cache_info") && function_exists("apc_sma_info")) { | |
$time = time(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Just deactivate WP-FFPC like any WP plugin and delete it. Then need to adjust your Nginx domain's Nginx vhost domain.conf file to format for WP Super Cache. Quick manual method for WP Super Cache install are the following commands via WP-CLI tool. | |
Assuming /home/nginx/domains/domainname.com/public/wp is your Wordpress install directory. If you haven't installed Wordpress yet follow only step #2 outlined at http://centminmod.com/nginx_configure_wordpress_ffpc_plugin.html | |
then type following commands in SSH window editing just your WPDIR variabvle to point to your domainname.com path where wordpress is installed. | |
WPDIR='/home/nginx/domains/domainname.com/public/wp' | |
CHOWNDFT='nginx:nginx' | |
cd $WPDIR |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/sh | |
########################################## | |
# /etc/init.d/btsync | |
# btsync init.d for CentminMod.com installs | |
########################################## | |
DEBUG='n' | |
########################################## | |
SERVICE=btsync | |
BITDIR='/usr/bin' | |
########################################## |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
nginxpgspeedtarball() { | |
if [[ "$NGINX_PAGESPEED" = [yY] ]]; then | |
cd $DIR_TMP | |
# official github master zip renamed | |
if [[ "$NGINX_PAGESPEEDGITMASTER" = [yY] ]]; then | |
cecho "Download release-${NGXPGSPEED_VER}.tar.gz ..." $boldyellow |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
quick fix would be to edit linfo.sh and replace this line | |
tar -xzf linfo-${LINFO_VER}.tar.gz | |
with these 2 lines | |
mkdir -p linfo-${LINFO_VER} | |
tar -xzf linfo-${LINFO_VER}.tar.gz -C linfo-${LINFO_VER} | |
edit and change version number to 1.10 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Download links pertaining to inc/downloads.inc file | |
# some download links have an alternate local mirror link for emergencies | |
# when the primary download link is down | |
CENTOSFIVEEPELFILE="epel-release-5-4.noarch.rpm" | |
CENTOSFIVEEPEL="http://mirror.us.leaseweb.net/epel/5/${ARCH}/${CENTOSFIVEEPELFILE}" | |
CENTOSFIVERPMFORGEFILE="rpmforge-release-0.5.3-1.el5.rf.${ARCH}.rpm" | |
CENTOSFIVERPMFORGE="http://pkgs.repoforge.org/rpmforge-release/${CENTOSFIVERPMFORGEFILE}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
v1.2.3-eva2000.07 change log | |
- Moved all downloads links themselves out of the download functions at inc/downloads.inc to their own file at inc/downloadlinks.inc for easier management | |
- Changed PHP's default config scan directory variable path (CONFIGSCANDIR) from /root/centminmod/php.d to /etc/centmimod/php.d. centmin.sh will auto detect this and create the necessary directory and copy over any existing PHP extension .ini files from the old path. This is preparation for when chrooted user SSH/SFTP/SCP user account support comes https://blog.centminmod.com/194 to allow chrooted users PHP binary access to PHP extensions. | |
- Updated PHP upgrade routine to auto reinstall previously installed PHP extensions such as APC Cache, Xcache, Memcache/Memcached, igbinary and ImagicK. No longer will users need to manually reinstall these PHP extensions after each PHP upgrade. The script will detect what .ini files are in /root/centminmod/php.d (.07 release will be /etc/centminmod/php.d) when PHP upgrade is ran. Then at en |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/perl -w | |
# mysqltuner.pl - Version 1.3.0 | |
# High Performance MySQL Tuning Script | |
# Copyright (C) 2006-2011 Major Hayden - major@mhtx.net | |
# | |
# For the latest updates, please visit http://mysqltuner.com/ | |
# Git repository available at http://github.com/major/MySQLTuner-perl | |
# Aria engine patch https://github.com/major/MySQLTuner-perl/pull/41 | |
# | |
# This program is free software: you can redistribute it and/or modify |
OlderNewer