You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Instantly share code, notes, and snippets.
🎯
reinventing
Farhadur Rahim
webmechanicx
🎯
reinventing
Farhadur Rahim is a software engineer and technology enthusiast, open web advocate, bug dealer, and toolsmith with a strong background in Computer Science.
Follow these steps (can be helpful if you really forget your password and you can try it anytime, even if you're not in the situation at the moment 😉):
1. Stop mysql
sudo /etc/init.d/mysql stop
Or for other distribution versions:
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Host Multiple Sites on a Single Amazon EC2 Instance
Assign a Static IP Address
The first thing you should do, if you haven’t already, is assign a static IP address to your EC2 instance. You can do this in the Amazon EC2 control panel (go to Elastic IPs -> Allocate New Address). Assign the IP address to your instance, and write it down for later.
Point the URLs to Your EC2 IP Address
So, the next step is to go ahead and point your URL at your EC2 IP address. Log into your domain hosting account. In this case, I’ll describe how to do it for Go Daddy. Launch the Domains control panel and click the first domain that you want to point to your EC2 server.
Click the tab that says “DNS Zone File”. You will be editing the A record of the zone file to point to the EC2 IP address.
Click the Edit button
Click on the IP address in the “@” row at the top. Write it down, just in case you need to revert back to it.
Replace the IP address with the IP address of your EC2 instance.
How To Install LAMP On Ubuntu 16.04 or 18.04 – EC2 Instance
How To Install LAMP On Ubuntu 16.04 – EC2 Instance
Anyone who knows a little bit about the Linux and UNIX platforms, he/she must be heard about the LAMP Stack. LAMP Stack is the group of services that work together in order to serve the dynamic websites and web apps. The LAMP stack can be installed and configured on almost all Linux variants such as Amazon Linux, Ubuntu, Red Hat, and Fedora. In this tutorials, we will explain how to install LAMP on Ubuntu 16.04 EC2 instance. Generally, LAMP stack consists of the following components:
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Select an option by its text, If you need to check if a selectbox has an option whose TEXT is a specific value. Example JIT site
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters