You must make sure all parts of zone are included like:
IN SOA
$TTL 600; 10 minutes
$ORIGIN domain-name.com.
rndc freeze domain-name.com
rndc thaw domain-name.com
You must make sure all parts of zone are included like:
IN SOA
$TTL 600; 10 minutes
$ORIGIN domain-name.com.
rndc freeze domain-name.com
rndc thaw domain-name.com
vi etc/httpd/conf.d/fcgid.conf
FcgidIOTimeout 600
FcgidBusyTimeout 3600
/etc/init.d/httpd restart
yum install postfix
service postfix start
Module ‘Magento_ConfigurableSampleData’: Installing data.taking too long.
vi etc/httpd/conf.d/fcgid.conf
FcgidIOTimeout 600
Also increase PHP memory limit 256M abd max_execution_time 600
vi /etc/postfix/main.cf
virtual_alias_maps = hash:/etc/postfix/virtual
for f in $(find . -type f -name "*.png"); do echo "Processing $f ..."; convert $f -strip $f ; done
If you have many SIGTERM and other services like exim, ftp also reboots without any logical reason, you can try disable cPanel or just cPanel TaskQueue Processing Daemon:
/usr/local/cpanel/etc/init/stopqueueprocd
then some magic:
mv /usr/local/cpanel/libexec/queueprocd /usr/local/cpanel/libexec/queueprocd___
mv /usr/local/cpanel/bin/servers_queue /usr/local/cpanel/bin/servers_queue___
mv /usr/local/cpanel/etc/init /usr/local/cpanel/etc/init___
mv /usr/local/cpanel/src/chkservd/chkserv.d/queueprocd /usr/local/cpanel/src/chkservd/chkserv.d/queueprocd___
then check:
cat /usr/local/apache/logs/error_log | grep shut
yum install epel*
yum update / yum upgrade
CentOS and Red Hat Enterprise Linux 6.x
wget http://rpms.famillecollet.com/enterprise/remi-release-6.rpm
sudo rpm -Uvh remi-release-6*.rpm
CentOS and Red Hat Enterprise Linux 7.x
wget http://rpms.famillecollet.com/enterprise/remi-release-7.rpm
rpm -Uvh remi-release-7*.rpm
yum update / yum upgrade
yum --enablerepo=remi,remi-php56 update
yum --enablerepo=remi,remi-php56 upgrade
php -v
mod_php CGI suPHP FastCGI Memory usage Low Low Low High CPU Usage Low High High Low Security Low Low High High Run as file owner No No Yes Yes Overall Performance Fast Slow Slow Fast
mkdir /usr/java
cd /usr/java
tar -xzf jdk-7u5-linux-i586.tar.gz
vi ‘~/.bash_profile’
export JAVA_HOME=/usr/java/jdk1.7.0_05
export PATH=$JAVA_HOME/bin:$PATH
.bash_profile
echo $JAVA_HOME
cd /opt
wget http://download.java.net/glassfish/3.1.2/release/glassfish-3.1.2.zip
unzip glassfish-3.1.2.zip
groupadd glassfish
useradd -s /bin/bash -g glassfish glassfish
chown -R glassfish: /opt/glassfish3/
passwd glassfish
Create a start/stop/restart script:
vi /etc/init.d/glassfish
#!/usr/bin/env bash
# description: Glassfish start/stop/restart
# processname: glassfish
# chkconfig: 2445 20 80
JAVA_HOME=/usr/java/jdk1.7.0_05
export JAVA_HOME
PATH=$JAVA_HOME/bin:$PATH
export PATH
GLASSFISH_HOME=/opt/glassfish3/glassfish/
GLASSFISH_USER=glassfish
case $1 in
start)
su $GLASSFISH_USER -c "$GLASSFISH_HOME/bin/asadmin start-domain domain1"
;;
stop)
su $GLASSFISH_USER -c "$GLASSFISH_HOME/bin/asadmin stop-domain domain1"
;;
restart)
su $GLASSFISH_USER -c "$GLASSFISH_HOME/bin/asadmin stop-domain domain1"
su $GLASSFISH_USER -c "$GLASSFISH_HOME/bin/asadmin start-domain domain1"
;;
esac
exit 0
chmod +x /etc/init.d/glassfish
:
chkconfig --add glassfish
chkconfig glassfish on
/etc/init.d/glassfish start/stop/restart
Try PHP 5.3 version
cd /usr/local/directadmin/custombuild
vi options.conf
php1_release=5.6
php1_mode=suphp
php2_release=5.5
php2_mode=mod_php
./build php d
vi .htaccess
AddHandler application/x-httpd-php .php
apt-get install mysql-server-5.6
dpkg –print-avail PACKAGE_NAME
apt-cache show PACKAGE_NAME
hddtemp /dev/sda
smartctl -d ata -A /dev/sda | grep -i temperature