You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+35-20Lines changed: 35 additions & 20 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,11 +1,11 @@
1
1
# Automated Linux Server Setup
2
2
3
-
This project provides a fully automated Bash script to set up a production-ready Linux server or Docker stack on **Debian**, **Ubuntu**, **CentOS**, or **RHEL**. The script installsand configures all essential components for web hosting and applications.
3
+
This project provides a fully automated Bash script to set up an enterprise-ready Linux server or Docker stack on **Debian**, **Ubuntu**, **CentOS**, or **RHEL**. The script installs, configures, and hardens all essential components for web hosting and applications while maintaining detailed audit logs.
Multiple domain groups are separated by semicolons (`;`). Domains within a group share the same virtual host and should be comma-separated (`example.com,www.example.com`).
After execution, the Docker Compose stack is located under `/opt/<domain>`.
65
72
73
+
Logs for every run are appended to `/var/log/enterprise-server-setup.log`. A lightweight state file is written to `/var/local/enterprise-server-setup/last-run` to help with auditing.
74
+
66
75
## Configuration
67
76
68
77
-**Web root**: `/var/www/<domain_group>/html` (native) or `/opt/<domain>/www` (docker)
69
-
-**MariaDB**: Root password is set automatically, default user `root`
70
-
-**phpMyAdmin**: Access via `/phpmyadmin` or port 8080 for Docker
71
-
-**Nginx vhosts**: automatically generated for each domain group
78
+
-**MariaDB**: Root password is stored in `/root/.my.cnf` for safe automation access
79
+
-**phpMyAdmin**: Access via `/phpmyadmin`(native) or port 8080 for Docker
80
+
-**Nginx vhosts**: automatically generated for each domain group with HTTPS enforcement
0 commit comments