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
Multiple Domain Bulk Add auto_prepend_file wordfence-waf.php rules in phpIniOverride section for Wordfence Plugin Running with OpenLiteSpeed webserver on RunCloud Web Panel. | |
1. Navigate to: /etc/lsws-rc/conf.d/ | |
2. Create/Upload: bulkaddwf.php | |
3. Run Php CLI command from your ssh: php bulkaddwf.php | |
4. Reload OLS: /usr/local/lsws/bin/lswsctrl reload | |
5. Enjoy ^^v | |
# Do not edit this file | |
# Editing this file manually might break RunCloud System |
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
[Unit] | |
Description=Elasticsearch | |
Documentation=http://www.elastic.co | |
Wants=network-online.target | |
After=network-online.target | |
[Service] | |
RuntimeDirectory=elasticsearch | |
Environment=ES_HOME=/usr/share/elasticsearch | |
Environment=ES_PATH_CONF=/etc/elasticsearch |
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
#x86_64 processor march=native m64 | |
cd /root; | |
sudo yum groupinstall -y "Development Tools" | |
sudo yum install -y git wget zlib zlib-devel pcre-devel google-perftools google-perftools-devel lua-devel GeoIP-devel | |
sudo yum install -y make gcc gcc-c++ wget git openssl-devel pcre-devel zlib-devel python python-devel gcc zlib perl libxml2 libxslt | |
sudo yum install -y autoconf automake libtool make cmake openssl openssl-devel pcre-devel build-essential libpcre3 libpcre3-dev zlib1g-dev unzip git patch | |
sudo yum install -y cmake gc libxml2-devel libxslt-devel gd-devel perl-ExtUtils-Embed GeoIP-devel gperftools gperftools-devel libatomic_ops-devel perl-ExtUtils-Embed | |
sudo yum install -y gcc-c clang libatomic_ops-devel pcre-devel openssl-devel libxml2-devel libxslt-devel gd-devel GeoIP-devel gperftools-devel perl-devel | |
sudo yum install -y build-essential libpcre3 libpcre3-dev zlib1g zlib1g-dev | |
yum install -y build-essential cmake clang |
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 | |
/* | |
Blocking Website Access from GDPR Countries | |
Author: M.Februriyanto (fb.me/ebo78) | |
Version: 1.0.0 May 25, 2018 | |
Requires: Cloudflare IP Geolocation - HTTP_CF_IPCOUNTRY - ISO 3166-1 Alpha 2 format | |
GDPR Country List by: https://gist.github.com/henrik/1688572 | |
Function derivered from: https://etzelstorfer.com/en/check-country-eu-php/ | |
*/ |