-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
111 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,39 @@ | ||
# vm-setup.sh | ||
My handy bash script to quickly set up debian linux VM's how I like em :) | ||
|
||
### Install | ||
Run the following: | ||
```bash | ||
git clone https://github.com/intrudir/vm-setup.sh.git | ||
cd vm-setup.sh | ||
chmod +x vm-setup.sh | ||
``` | ||
|
||
## Usage | ||
Havent tested on Mac yet btw :) | ||
Haven't tested on Mac yet :) | ||
|
||
No need to `git clone`. From your linux machine simply... | ||
For every script, depending on if you want the full VM install or just minimal CTF things, run with `-t full` or `-t ctf` like so: | ||
|
||
Run the following and follow the prompts. | ||
### Everything in one shot | ||
```bash | ||
wget https://raw.githubusercontent.com/intrudir/vm-setup.sh/main/1.vm-setup.sh | ||
|
||
chmod +x 1.vm-setup.sh | ||
|
||
./1.vm-setup.sh | ||
./vm-setup.sh -t ctf | ||
``` | ||
|
||
<br> | ||
|
||
Install my favorite tools: | ||
|
||
### Install just the configs | ||
```bash | ||
wget https://raw.githubusercontent.com/intrudir/vm-setup.sh/main/2.install-tools.sh | ||
chmod +x install-configs.sh | ||
./install-configs.sh -t ctf | ||
``` | ||
|
||
chmod +x 2.install-tools.sh | ||
### Install just the tools | ||
Requires golang to be installed already | ||
```bash | ||
chmod +x install-tools.sh | ||
./install-tools.sh -t ctf | ||
``` | ||
|
||
./2.install-tools.sh | ||
### Just install latest Golang for your architecture | ||
```bash | ||
chmod +x install-golang.sh | ||
./install-golang.sh | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters