nmap -T4 -A -F <ip>
nmap -T4 -A -r <ip>
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<meta name="description" content=""> | |
<meta name="author" content=""> | |
<link rel="icon" href="favicon.ico" type="image/x-icon"> | |
<title>Memori - Connect with ease</title> |
# ================Install Leptonca library================ | |
# step 01 | |
yum install -y zlib-devel libpng-devel openjpeg-devel libtiff-devel libwebp-devel libtool automake | |
#step 02 | |
git clone https://github.com/DanBloomberg/leptonica | |
#step 03 | |
cd leptonica | |
export CC=${CC:-gcc} | |
sh ./autogen.sh |
startA endA
|------- DateRange A --------| _
_ |-----Date Range B ----|
startB endB
Idea: DateRangesOverlap = max(startA, startB) < min(endA, endB) Code:
# Basic CodeIgniter 3.x project | |
stages: | |
- deploy | |
deploy: | |
stage: deploy | |
script: | |
- echo "Deploying . . ." | |
- whoami | |
- mkdir -p /var/www/homie/phuongduong/phuongmai-wedding |
yum -y install epel-release yum -y install yum-utils yum -y install certbot-apache
certbot --apache -d domain.com
or certbot --apache
- Let’s start by making a new user within the MySQL shell:
mysql> CREATE USER 'newuser'@'localhost' IDENTIFIED BY 'password';
Note: When adding users within the MySQL shell in this tutorial, we will specify the user’s host as localhost
and not the server’s IP address. localhost
is a hostname which means “this computer,” and MySQL treats this particular hostname specially: when a user with that host logs into MySQL it will attempt to connect to the local server by using a Unix socket file. Thus, localhost
is typically used when you plan to connect by SSHing into your server or when you’re running the local mysql client to connect to the local MySQL server.
- GRANT PERMISSION
mysql> GRANT ALL PRIVILEGES ON * . * TO 'newuser'@'localhost';
The following tools would help you for measuring the performance of your server and test the MPM Settings values of your Apache.
Apache2Buddy is a great tool that checks your server setup and performance and makes a report and suggestions based on the information it collects. It calculates the MaxRequestWorkers on remaining RAM, not total installed RAM.
You can run Apache2Buddy by using the following command:
curl -sL https://raw.githubusercontent.com/richardforth/apache2buddy/master/apache2buddy.pl | perl