Skip to content

Commit 1dd21a0

Browse files
authored
Merge pull request #150 from Ctrlpanel-gg/feat/delete-installer-step
Add instructions for deleting installer after setup
2 parents 5bbe794 + 23faa85 commit 1dd21a0

File tree

4 files changed

+19
-0
lines changed

4 files changed

+19
-0
lines changed

docs/getting-started/_parts/install/os/debian.mdx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ import ApacheNoSSL from '../steps/webserver/deb-apache-no-ssl.mdx';
1414

1515
import QueueListeners from '../steps/queue-listeners.mdx';
1616
import NavigateToWeb from '../steps/navigate-to-web.mdx';
17+
import DeleteInstaller from '../steps/delete-installer.mdx';
1718

1819
## Dependencies
1920

@@ -104,4 +105,6 @@ chmod -R 755 storage/* bootstrap/cache/
104105

105106
<NavigateToWeb />
106107

108+
<DeleteInstaller />
109+
107110
export const toc = []

docs/getting-started/_parts/install/os/ubuntu.mdx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ import ApacheNoSSL from '../steps/webserver/deb-apache-no-ssl.mdx';
1414

1515
import QueueListeners from '../steps/queue-listeners.mdx';
1616
import NavigateToWeb from '../steps/navigate-to-web.mdx';
17+
import DeleteInstaller from '../steps/delete-installer.mdx';
1718

1819
## Dependencies
1920

@@ -103,4 +104,6 @@ chmod -R 755 storage/* bootstrap/cache/
103104

104105
<NavigateToWeb />
105106

107+
<DeleteInstaller />
108+
106109
export const toc = []
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
## Deleting the installer
2+
3+
After successfully completing the installation, delete the installer directory for security reasons by running the following command:
4+
5+
```bash
6+
rm -rf /var/www/ctrlpanel/public/installer
7+
```
8+
9+
This is necessary because a vulnerability in the installer was recently reported. To prevent abuse, we strongly recommend removing it.

docs/getting-started/_parts/install/steps/navigate-to-web.mdx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
## Navigate to the installer
22

3+
:::danger
4+
Please read the documentation to the end before continuing! It contains a critical step to secure your infrastructure.
5+
:::
6+
37
To begin installation, go to `https://YOUR_DOMAIN_HERE.com/installer` and follow the installer instructions.
48

59
If you encounter problems with the email setup, you can skip it and set it up later.

0 commit comments

Comments
 (0)