ALL THE PROCESS should be installed in the TERMINAL as Administrator (not Power Shell)
- Install scoop
iex (new-object net.webclient).downloadstring('https://get.scoop.sh')
- Install oh-my-posh using scoop
<?php | |
/** | |
* Usage: | |
* Download and unzip the file then RENAME it to index.php | |
* Into the code find "your site name goes here" and put your Board's/Site's name in there. | |
* SAVE this file. | |
* | |
* Rename your (i.e.: www.mydomain.com/phpBB3/index.php) to something else you like (as a backup) | |
* Upload THIS renamed file to your Board's root (i.e.: www.mydomain.com/phpBB3/) | |
* Point your browser to i.e.: www.mydomain.com/phpBB3/index.php), once finished delete this |
Include "/etc/nginx/modsec/main.conf" | |
# Allow jetpack (android blog post) and post view | |
SecRuleRemoveById 949110 959100; | |
# ------------------------------------------------------------------------ | |
# OWASP ModSecurity Core Rule Set ver.3.0.2 | |
# Copyright (c) 2006-2016 Trustwave and contributors. All rights reserved. | |
# | |
# The OWASP ModSecurity Core Rule Set is distributed under |
# Optimized my.cnf configuration for MySQL/MariaSQL | |
# | |
# by Fotis Evangelou, developer of Engintron (engintron.com) | |
# | |
# ~ Updated January 2020 ~ | |
# | |
# | |
# The settings provided below are a starting point for a 2GB - 4GB RAM server with 2-4 CPU cores. | |
# If you have different resources available you should adjust accordingly to save CPU, RAM & disk I/O usage. | |
# |
#!/bin/bash | |
# http://archives.postgresql.org/pgsql-admin/2010-05/msg00285.php | |
# Output lines suitable for sysctl configuration based | |
# on total amount of RAM on the system. The output | |
# will allow up to 50% of physical memory to be allocated | |
# into shared memory. | |
# On Linux, you can use it as follows (as root): | |
# | |
# ./shmsetup >> /etc/sysctl.conf |
# ------------------------------------------------------- | |
# Free IP2Location Firewall List by Country | |
# Source: https://www.ip2location.com/free/visitor-blocker | |
# Last Generated: 28 Jan 2019 11:37:05 GMT | |
# [Important] Please update this list every month | |
# ------------------------------------------------------- | |
<Limit GET HEAD POST> | |
order deny,allow | |
allow from 2.255.251.216/32 | |
allow from 14.102.152.0/22 |