Socialabel

Monday, October 21, 2019

Install Mod Evasive On Centos Web Panel



git clone https://github.com/shivaas/mod_evasive.git
cd mod_evasive
/usr/local/apache/bin/apxs -i -a -c mod_evasive24.c


apxs:Error: /usr/bin/apr-1-config not found!.
apxs:Error: /usr/bin/apu-1-config not found!.

yum group install "Development Tools"
yum install openssl-devel apr-devel
yum install apr-util-devel

Thursday, July 4, 2019

CWP form login blank No Loader is installed. Please contact support.


No Loader is installed, please try to run this command or contact support: sh /scripts/update_ioncube

1.  Alternatif 1
sh /scripts/update_ioncube
/usr/local/cwp/php71/bin/php -v
service cwpsrv reload

echo "zend_extension = /usr/local/ioncube/ioncube_loader_lin_7.0.so" >> /usr/local/cwp/php71/php.ini
service cwpsrv reload


2.  Alternatif 2
yum -y install wget
yum -y update
reboot

Sunday, April 21, 2019

Tuesday, April 2, 2019

SSH User gagal login

Error dan Gagal akses SSH Server


  1. PuTTY fatal error: Server refused to start a shell/command
  2. failed to execute /bin/bash: Resource temporarily unavailable
  3. -bash: fork: retry: Resource temporarily unavailable


Gagal login user ssh di server redhat dan centos

https://access.redhat.com/solutions/543503

Edit File
/etc/security/limits.d/90-nproc.conf
atau /etc/security/limits.d/<user>.conf

<user>       -          nproc     2048      <<<----[ Only for "<user>" user ]
*          -          nproc     2048      <<<----[ For all user's ]