Installing PHP7.2 on Ubuntu 18.04
sudo add-apt-repository ppa:ondrej/php
sudo apt-get update
sudo apt-get install php7.2 libapache2-mod-php php7.2-curl php7.2-gd php7.2-mbstring php7.2-mcrypt php7.2-xml php7.2-xmlrpc php7.2-mysql
In case, php7.2-xmlrpc gives not found error use:
sudo apt-get install php7.2 libapache2-mod-php php7.2-curl php7.2-gd php7.2-mbstring php7.2-mcrypt php7.2-xml php7.2-mysql
It will install PHP5.6 on your server
sudo...
Installing PHP7 on Ubuntu 16.04
Installing PHP7 on Ubuntu 16.04
sudo apt-get update
sudo apt-get install php libapache2-mod-php php-curl php-gd php-mbstring php-mcrypt php-xml php-mysql php-xmlrpc
In case, php-xmlrpc gives not found error use:
sudo apt-get install libapache2-mod-php php-curl php-gd php-mbstring php-mcrypt php-mysql php-xml
It will install PHP7.0 on your server
sudo systemctl restart apach...
How To Find your Server's Public IP Address
If you do not know what your server's public IP address is, there are a number of ways you can find it. Usually, this is the address you use to connect to your server through SSH.From the command line, you can find this a few ways. ip addr show eth0 | grep inet | awk '{ print $2; }' | sed 's/\/.*$//'This will give you two or three lines back. They are all correct addresses, but your computer may only be able to use one of the...
Install Apache in Ubuntu 16.04
We can get started by typing these commands:
sudo apt-get update
sudo apt-get install apache2
Since we are using a sudo command, these operations get executed with root privileges.
Open up the main configuration file with your text edit:
sudo nano /etc/apache2/apache2.conf
Edit the following line replace server_domain_or_Ip with your server domain or IP:
ServerName...
Hide Apache ServerSignature / ServerTokens / PHP X-Powered-By
Hiding and modifying Apache server information
Fortunately, such data can easily hide and modify by changing the ServerSignature and ServerTokens directives.
ServerSignature
ServerSignature configures the footer on server-generated documents.
Just like example 404 error page. Normal use it’s better hide whole
signature and add or modify httpd.conf file or apache.conf file following row:
ServerSignature Off
ServerTokens
Configures...
What is Jenkins?

What is Jenkins?
Jenkins is an cross-platform, continuous integration and continuous delivery application.
Used to :
build and test your software projects continuously
continuously deliver your software
Advantages :
free source that can handle any kind of build or continuous integration
can integrate Jenkins with a number of testing and deployment technologies
cross-platform
Features:
Easy...
Vulnerabilities in Web Applications

Vulnerabilities in web application
A vulnerability is a system flaw or weakness in an application that could be exploited to compromise the security of the application. These crimes target the confidentiality, integrity, or availability (known as the “CIA triad”) of resources possessed by an application, its creators, and its users.
It’s not until after a breach has occurred...
Infrastructure as Code
"Infrastructure as Code (IaC) is the process of managing and provisioning computing infrastructure and their configuration through machine-processable definition files,
rather than physical hardware configuration or the use of interactive
configuration tools. The definition files may be in a version control system.
This has been achieved previously through either scripts or declarative
definitions, rather than manual processes, but developments...
Continous Delivery

"Continuous delivery is a DevOps
software development practice where code changes are automatically
built, tested, and prepared for a release to production. It expands upon
continuous integration
by deploying all code changes to a testing environment and/or a
production environment after the build stage. When continuous delivery
is implemented properly, developers will...
Continuous Integration

Continuous Integration (CI) is a development practice that requires developers to integrate code into a
shared repository several times a day. Each check-in is then verified by an automated build,
allowing teams to detect problems early.
Teams practicing continuous integration seek two objectives:
minimize the duration and effort required by each integration episode
be...
What is DevOps?
DevOps is the combination of cultural philosophies, practices, and tools
that increases an organization’s ability to deliver applications and
services at high velocity: evolving and improving products at a faster
pace than organizations using traditional software development and
infrastructure management processes. This speed enables organizations to
better serve their customers and compete more effectively in the
market.
Devops Engineer...
What is JMeter ?
By Shobhit Garg 11:58 PM
Devops, Distributed Testing, Jmeter, Load Testing, Testing Automation No comments

What is Jmeter ? And Why to use it?
An open source tool used for knowing how efficiently a web server works or how many concurrent requests can a web server handle.
Apache JMeter may be used to test functional and performance both on
static and dynamic resources (files, Servlets, Perl scripts, Java
Objects, Data Bases and Queries, FTP Servers and more). It can be used...
SSH SECURITY (enable CTR or GCM cipher mode encryption)
The SSH server is configured to allow either MD5 or 96-bit MAC algorithms, both of which are considered weak.
disable MD5 and 96bit MAC algorithms
The
SSH server is configured to support Cipher Block Chaining (CBC)
encryption. This may allow an attacker to recover the plaintext message
from the ciphertext.
disable CBC mode cipher encryption, and enable CTR or GCM cipher mode encryption
This
means that if two machines are connecting to each...
What are second-level domains (SLD) and country code second level domains (ccSLD)?
A second-level domain (SLD) is the portion of the domain name that is
located immediately to the left of the dot and domain name extension.
Example 1: The SLD in coolexample.com is coolexample. Example 2: The SLD in coolexample.co.uk is still coolexample. You define the SLD when you register a domain name.
A country code second-level domain (ccSLD) is a domain name class
that many country code top-level domain (ccTLD) registries implement.
The...
What are top-level domains (TLD) and country code top-level domains (ccTLD)?
A top-level domain (TLD) is the part of the domain name located to
the right of the dot (" . "). The most common TLDs are .com, .net, and
.org. Some others are .biz, .info, and .ws. These common TLDs all have
certain guidelines, but are generally available to any registrant,
anywhere in the world.
There are also restricted top-level domains (rTLDs), like .aero,
.biz, .edu, .mil, .museum, .name, and .pro, that require the registrant
to represent...
What is a Domain Name?
What is a Domain Name?
New computer users often confuse domain names with universal resource
locators, or URLs, and Internet Protocol, or IP, addresses. This
confusion is understandable. It is worth learning the differences
between them because these terms are ubiquitous. It is also helpful to
be able to use terms correctly when communicating to technicians or
other people within a professional organization.
This naming convention is...
Factors that affect DNS propagation time
What factors affect DNS propagation time?
When you update the DNS (Domain Name System) records in your domain
name's zone file, it can take up to 48 hours for those updates to
propagate throughout the Internet. While we strive to make updates as
quickly as possible, the DNS propagation time for your domain name
depends on several factors that we cannot control.
Many of the updates you can make in the Domain Manager affect the DNS
records...
Jmeter Client Server Configuration Settings
By Shobhit Garg 3:13 AM
Devops, Distributed Testing, Jmeter, Load Testing, Testing Automation No comments
p { margin-bottom: 0.25cm; line-height: 120%; }a:link { }
Client Url : 192.168.0.193
Server Url : 192.168.0.53
Configuring Server: 192.168.0.53
ssh -L
7000:192.168.0.53:7000 -L 7002:192.168.0.53:7002 -R
7003:192.168.0.53:7003 shobhit@192.168.0.53
Get to /opt
Download Apache
folder
Edit jmeter.properties file
#remote_hosts=127.0.0.1
server_port=7000
server.rmi.localport=7002
Get to bin folder
and...