Skip to content

Instantly share code, notes, and snippets.

View alokraj68's full-sized avatar
🏠
Working from home

Alok Rajasukumaran alokraj68

🏠
Working from home
View GitHub Profile
@alokraj68
alokraj68 / Jquery-UI-DatePicker-Dark-Style.markdown
Created March 6, 2015 12:14
Jquery UI DatePicker Dark Style
@alokraj68
alokraj68 / Iron-Man-Login-Form.markdown
Created March 12, 2015 06:51
Iron Man Login Form
@alokraj68
alokraj68 / create_ftp_user.sh
Created May 30, 2020 12:28 — forked from bbrothers/create_ftp_user.sh
Bash for creating vsftp users
#!/bin/bash
# Create ftp user, create folders and set permissions
# Shamelessly coppied from http://dev.n0ise.net/2012/09/vsftpd-add-user-automation-bash-script/
# Usage: ./create_ftp_user.sh [username] "[password]"
#
NAME=$1
PASS=$2
@alokraj68
alokraj68 / lamp.sh
Created May 30, 2020 18:17 — forked from aamnah/lamp.sh
Bash script to install Apache, MySQL and PHP as well as PHPMyAdmin and some tweaks. For Debian and Ubuntu. To run, copy the script to the server and run ``bash lamp.sh``
#!/bin/sh
#######################################
# Bash script to install an AMP stack and PHPMyAdmin plus tweaks. For Debian based systems.
# Written by @AamnahAkram from http://aamnah.com
# In case of any errors (e.g. MySQL) just re-run the script. Nothing will be re-installed except for the packages with errors.
#######################################
#COLORS
@alokraj68
alokraj68 / lamp.sh
Created May 30, 2020 18:43
LAMP Stack Setup
# Install Apache to check from web browser using 0.0.0.0 or localhost, check version, start,stop & restart Apache into Ubuntu
sudo apt update
sudo apt upgrade
sudo apt install apache2
apache2 -v
sudo service apache2 start
sudo systemctl enable apache2
sudo service apache2 stop
sudo service apache2 start
sudo service apache2 restart
@alokraj68
alokraj68 / LEMP.sh
Created May 30, 2020 18:43
LEMP Install Ubuntu
#!/bin/sh
sudo apt-get update
sudo apt-get upgrade
lsb_release -a
#Install NGINX
sudo apt-get install nginx