Skip to content

Instantly share code, notes, and snippets.

View nickchauhan's full-sized avatar

Nikhil Chauhan nickchauhan

View GitHub Profile
@atikju
atikju / step-1.txt
Last active February 27, 2025 10:18
NGINX, PHP, MYSQL installation with Amazon Linux 2023
Step 1: Let's start with NGINX installation
sudo dnf update //To Install Latest Update
sudo dnf install -y nginx // Install Nginx
sudo systemctl start nginx.service //Start Nginx Server
sudo systemctl status nginx.service // Check Server Status
sudo systemctl enable nginx.service // Enable Auto Server Start on Reboot
Now you should be able to see the server running by hitting your public ip.
@dreamsparkx
dreamsparkx / More-links.txt
Last active April 4, 2025 09:15
Install Apache, PHP, MySQL and phpMyAdmin on Mac OS X
@sshadmand
sshadmand / build.sh
Created December 25, 2014 20:44
Check git diff before deploying
commit(){
echo "Please enter a commit message..."
read msg
git add . --all
git commit -am $msg
}
check_commit(){
echo ========== CHECKING FOR CHANGES ========
changes=$(git diff)