https://github.com/matthisk/hosting-scripts
Bash scripts for automating sys admin tasks
https://github.com/matthisk/hosting-scripts
Last synced: 2 months ago
JSON representation
Bash scripts for automating sys admin tasks
- Host: GitHub
- URL: https://github.com/matthisk/hosting-scripts
- Owner: matthisk
- Created: 2013-07-03T21:27:08.000Z (about 13 years ago)
- Default Branch: master
- Last Pushed: 2013-09-10T21:51:41.000Z (almost 13 years ago)
- Last Synced: 2025-03-20T10:34:05.546Z (over 1 year ago)
- Language: Shell
- Size: 129 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
hosting-scripts
===============
Bash scripts for automating sys admin tasks
mkvhost
---
This script makes a virtual host and creates a directory for it.
Optionally it can clone a git reposistory to this directory
Usage: mkvhost ()
Example: mkvhost example.com www
will create the virtual host for www.example.com
mkdb
---
This script can import a sql file into a new database
Create a new database and import a sql file
Mandatory arguments to long options are mandatory for short options too.
-f, --file=FILE the sql file to import into the database
-u, --user=USER the username to give the sql database
-p, --pass=PASS the password to give the database
-h, --help display this help and exit
--version output version information and exit