How do deal with an Apache / NGINX server that’s under attack
There are no hard and fast rules on how to deal with a server that’s under attack, but this article should give you some tips
There are no hard and fast rules on how to deal with a server that’s under attack, but this article should give you some tips
User Account Control might be a hindrance when installing XAMPP. To effectively disable it, edit this registry key: HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System Set EnableLUA to 0x00000000 Reference: https://stackoverflow.com/questions/45941819/uac-missing-write-permissions-error-while-installing-xampp-on-windows-server-2
TL;DR # cat /etc/apt/sources.list Change occurrences of deb http://ftp.us.debian.org/debian/ wheezy main contrib non-free deb http://ftp.us.debian.org/debian wheezy main contrib non-free to deb http://archive.debian.org/debian/ wheezy main non-free
Background You’ve just deployed a new Ubuntu server, but Virtualmin Quotas are reported as not active. On some hosted Ubuntu servers you have to install
TL;DR sudo dpkg-reconfigure keyboard-configuration Reference: https://askubuntu.com/questions/434849/change-keyboard-layout-english-uk-on-command-line-to-english-us
This article explains how to install ZSH if you have an Ubuntu or Linux Mint system: sudo apt install zsh References: https://www.computersnyou.com/3145/setup-zsh-oh-zsh-linux-mint-quick-guide/ https://www.howtoforge.com/tutorial/how-to-setup-zsh-and-oh-my-zsh-on-linux/
TL;DR mc -e /etc/nginx/nginx.conf location / { auth_basic “Restricted”; auth_basic_user_file /home/domain//public_html/.htpasswd; } htpasswd -c /home/domain/public_html/.htpasswd username Now restart NGINX: # service nginx restart The /
In the following workflow: git remote add origin https://[email protected]/repo/app.git You might encounter this error: fatal: remote origin already exists. Do this: git remote set-url origin
To get the fuser command working on a minimal CentOS install, do the following: yum install psmisc Reference: https://www.itechlounge.net/2016/11/linux-fuser-command-not-found-on-centos-rhel-7/
Use the following command the find all occurrences of a specified word in a text file: home# grep -r –include=”php.ini” -e “memory_limit” . Please note