Skip to content

Instantly share code, notes, and snippets.

@flamingice
flamingice / vhost.sh
Created March 22, 2019 00:13 — forked from mattmezza/vhost.sh
bash script to create virtual host vhost with apache httpd and CentOs 7
#!/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.

Keybase proof

I hereby claim:

  • I am flamingice on github.
  • I am noashh (https://keybase.io/noashh) on keybase.
  • I have a public key whose fingerprint is EC1A 27DA D72B 424A EE09 FBB6 720D 3616 AAE1 26E9

To claim this, I am signing this object:

# https://github.com/SachaG/Telescope
########################
# it should be
sudo apt-get install nodejs git
curl https://install.meteor.com | /bin/sh
sudo npm install -g meteorite