-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'refs/remotes/origin/main'
- Loading branch information
Showing
1 changed file
with
23 additions
and
0 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,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> |