Skip to content

Commit

Permalink
Merge remote-tracking branch 'refs/remotes/origin/main'
Browse files Browse the repository at this point in the history
  • Loading branch information
LiamPerson committed Jun 26, 2021
2 parents b668583 + f10fbaf commit 8490c3e
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,25 @@
# Apache2Domains
Bash scripts to quickly add and remove domains in an apache2 environment on Debian.

# Usage
<ol>
<li>Drag and drop files anywhere onto target machine.</li>
<li>Navigate to the location you placed the files using <code>cd</code></li>
<li>Run files using <code>sudo ./file.sh</code> e.g: <code>sudo ./newdomain.sh</code></li>
<li>Follow in-console prompts</li>
</ol>

# Requirements
These scripts rely on apache2 to work and must be executed using the super user (sudo).
```sh
sudo apt install apache2
```

# Notes
<ul>
<li>You may notice you can't immediately run the file when you place it. This is because you don't have the adequate permissions. To fix this, use: <code>chmod +x file.sh</code></li>
</ul>

<hr>

<i>Use with caution! <br>I am not responsible if you accidentally register the wrong domain or remove something important!</i>

0 comments on commit 8490c3e

Please sign in to comment.