18 lines
373 B
Bash
Executable file
18 lines
373 B
Bash
Executable file
#!/bin/bash
|
|
|
|
# Update package list
|
|
sudo apt update
|
|
|
|
# Install curl and git
|
|
sudo apt install -y curl git
|
|
|
|
# Clone the repository
|
|
git clone https://github.com/joby-lol/webserver-config.git
|
|
|
|
# Change to the repository directory
|
|
cd webserver-config
|
|
|
|
# Execute install-server.sh
|
|
sudo ./install-server.sh
|
|
|
|
echo "Server setup complete. Use 'sudo ./add_site.sh' to add new sites."
|