Blog
Install Python 2.7 on CentOS 6
CentOS 6 comes with python 2.6, to install python 2.7, first install gcc and dependencies yum yum -y install gcc yum -y…
Using Host Header in curl
When you have multiple websites hosted on a server, if you want to access one of the site using curl to IP…
Magento 2 CLI
Create Magento project To install Magento 2 To create an Admin user, run Maintenance mode Check Maintenance mode status To allow IP…
Check rootkit with rkhunter
rkhunter is a software used to check your server for rootkits. The official site is http://rkhunter.sourceforge.net/ On Ubuntu, install with Before you…
Apache AH00144: couldn’t grab the accept mutex
On Ubuntu 18.04 server, apache crashed. On checking apache error log, found following [Mon Aug 13 23:19:24.625927 2018] [mpm_prefork:emerg] [pid 2378] (43)Identifier…
Install PHPShield in Cpanel Server
phpSHIELD is an encoder that encode PHP scripts so no one can read your source code. https://www.phpshield.com/ They actually resell SourceGuardian Encoder,…
Install SourceGuardian in Cpanel Server
To install sourceguardian PHP loaders in Cpanel server, run yum install -y ea-php56-php-sourceguardian.x86_64 ea-php70-php-sourceguardian.x86_64 ea-php71-php-sourceguardian.x86_64 ea-php72-php-sourceguardian.x86_64
How to Block a Country in CSF firewall
To block all traffic from a country in CSF Firewall edit file /etc/csf/csf.conf vi /etc/csf/csf.conf Find the line CC_DENY = “” In…
error: ‘x264_bit_depth’ undeclared (first use in this function)
When installing ffmpeg, i get error CC libavcodec/libvorbisenc.o CC libavcodec/libx264.o libavcodec/libx264.c: In function ‘X264_frame’: libavcodec/libx264.c:282:9: error: ‘x264_bit_depth’ undeclared (first use in this…