/server-setup

server setup shell script for ubuntu22

Primary LanguageShell

An script for ubuntu 22 server setup.

make a ssh session an run:
first just update the core manually to prevent interactive:

sudo apt update -y && sudo apt upgrade -y

then reboot.

curl -o script.sh https://raw.githubusercontent.com/codetrend104/server-setup/main/script.sh
chmod +x script.sh
./script.sh -php 7.4,8.1,8.2 -u username-you-need -p 'password-you-want' -mysql 'mysql-password' -sp the-ssh-port -sk 'the-user-sshkey'