Skip to content

Instantly share code, notes, and snippets.

ramanadan36

Block or report user

Report or block ramanadan36

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@ramanadan36
ramanadan36 / ftpbackup.sh
Created Sep 28, 2018 — forked from mattmezza/ftpbackup.sh
Super Simple Backup System, a very simple system to automatically backup mysql and ftp.
View ftpbackup.sh
#!/bin/bash
OUTDIR=$1
BACKUP=$OUTDIR/tmp
NOW=$(date +"%d-%m-%Y")
# clean up tmp dir
rm -f -r $BACKUP/*
# backup a folder of a website
FILE=fs-rootfolder-full.$NOW
@ramanadan36
ramanadan36 / vhost.sh
Created Sep 28, 2018 — forked from mattmezza/vhost.sh
bash script to create virtual host vhost with apache httpd and CentOs 7
View vhost.sh
#!/bin/bash
# This script is used for create virtual hosts on CentOs.
# Created by alexnogard from http://alexnogard.com
# Improved by mattmezza from http://you.canmakethat.com
# Feel free to modify it
# PARAMETERS
#
# $usr - User
# $dir - directory of web files
# $servn - webserver address without www.
You can’t perform that action at this time.