What are LAMP, WAMP, MAMP and WISA stacks?

by XDK 20. August 2019 22:59

Explanation:

The LAMP stack is the foundation for Linux hosted websites is the Linux, Apache, MySQL and PHP (LAMP) software stack.
The WAMP stack is the foundation for Windows hosted websites is the Windows, Apache, MySQL and PHP (WAMP) software stack.
The MAMP stack is the foundation for MacOS hosted websites is the MacOS, Apache, MySQL and PHP (MAMP) software stack.
The WISA stack is the foundation for Windows hosted websites is the Windows, IIS, MySQL and ASP.net (WISA) software stack.

The Layers of a Stack:
OS based web servers consist of four software components. These components, arranged in layers supporting one another, make up the software stack. Websites and Web Applications run on top of this underlying stack. The common software components that make up a traditional LAMP, WAMP, MAMP and WISA stack are:

OS (Linux\Windows\MacOS): The operating system (OS) makes up our first layer. OS sets the foundation for the stack model. All other layers run on top of this layer.

Apache: The second layer consists of web server software, which is Apache Web Server. This layer resides on top of the Linux layer. Web servers are responsible for translating from web browsers to their correct website.

Internet Information Service (IIS): The second layer consists of web server software, which is IIS. IIS is a manageable, secure and flexible service that is crucial for web hosting anything on the web. One can enable IIS on the computer operating on Windows 10.

MySQL: Our third layer is where databases live. MySQL stores details that can be queried by scripting to construct a website. MySQL usually sits on top of the Linux layer alongside Apache/layer 2. In high end configurations, MySQL can be off loaded to a separate host server.

PHP: Sitting on top of them all is our fourth and final layer. The scripting layer consists of PHP and/or other similar web programming languages. Websites and Web Applications run within this layer.

Tags:

Amazon Web Service | Azure Native DevOps | General | Microsoft Azure Services

Formating in Notepad ++

by XDK 9. August 2019 16:22

Requirement:
To format the below numbers
From
1
2
3
...
To
1,2,3,...

Solution:

  • Press Ctrl+H
  • Select Search mode Extended(\n, \r, \t, \o, \x...)
  • Enter Find what: \r\n
  • Enter Replace with: ,
  • Replace_All

output:

Tags:

General

Essential Installs to setup python development environment

by XDK 9. August 2019 15:09

Install commands:

Generic update:
sudo apt update

mySQL client install:
sudo apt install mysql-client

** mySQL login command **
mysql -h <RDS endpoint> -u <user name> -p <password>

apache server install:
sudo apt install apache2

python essentials install:
sudo apt install python3

** Refer here for pip install **

sudo apt-get purge python-pip
wget https://bootstrap.pypa.io/get-pip.py
sudo python get-pip.py

sudo apt install python-pip
sudo pip install mysql-connector-python
sudo pip install pymysql

sudo pip install boto3

** Boto3 is the Amazon Web Services (AWS) Software Development Kit (SDK) for Python, which allows Python developers to write software that makes use of services like Amazon S3 and Amazon EC2. You can find the latest, most up to date, documentation at our doc site, including a list of services that are supported. **

Tags:

Amazon Web Service | General | Python

What is Blue-Green Deployment?

by XDK 4. August 2019 16:20

Explanation:

Blue-green deployment is a technique that reduces downtime and risk by running two identical production environments called Blue and Green.

At any time, only one of the environments is live, with the live environment serving all production traffic. For this example, Blue is currently live and Green is idle.

As you prepare a new version of your software, deployment and the final stage of testing takes place in the environment that is not live: in this example, Green. Once you have deployed and fully tested the software in Green, you switch the router so all incoming requests now go to Green instead of Blue. Green is now live, and Blue is idle.

This technique can eliminate downtime due to app deployment. In addition, blue-green deployment reduces risk: if something unexpected happens with your new version on Green, you can immediately roll back to the last version by switching back to Blue.

Tags:

Amazon Web Service | Azure Native DevOps | General

How to test whether a computer is setup to receive remote commands via the WinRM service

by XDK 5. January 2017 22:52

Solution:

1. Open PowerShell console window

2. Execute test-wsman -ComputerName <Remote Computer Name>

Tags:

General

About the author

My name is Xavier Dilip Kumar Jayaraj having 16+ years of IT experience which includes solid experience and depth Knowledge in Application Life Cycle Management, Configuration Management, Implementation and Support using TFS on-premises and Azure DevOps. I have invested in gaining DevOps knowledege to expertise with Cloud Computing providers namely Microsoft Azure and Amazon Web Services in recent years. I am very positive to learn and adapt emerging technologies to client’s environment.

Microsoft Certified: Azure Administrator Associate

Microsoft Certified: Azure DevOps Engineer Expert

DevOps Engineer Certificate Program | Transcript 

OTP-AWSD5: AWS IoT: Developing and Deploying an Internet of Things

[PCEP-30-01] PCEP – Certified Entry-Level Python Programmer

Quotes I Like

"Failure will never overtake me if my determination to succeed is strong enough."  - Dr. APJ. Abdul Kalam

"Always be yourself, express yourself, have faith in yourself, do not go out and look for a successful personality and duplicate it." - Bruce Lee

"Technology is just a tool. In terms of getting the kids working together and motivating them, the teacher is the most important." - Bill Gates

"Innovation distinguishes between a leader and a follower." - Steve Jobs

CategoryList

Disclaimer

The information provided here is based on my expreriences, troubleshooting and online/offline findings. It can be used as is on your own risk without any warranties and I impose no rights.