Laravel Installation Script

Note If You Are Using A TurnKey Core

nano /etc/ssh/sshd_config.d/turnkey.conf

Change The AllowTcpForwarding to “Yes”


Update First Then Run the Script

apt-get update && apt-get upgrade && apt-get install sudo -y

Install And Enable SSH

apt install openssh-server -y
systemctl enable ssh
systemctl start ssh

Use The Link Below In An Empty LXC To Create A Laravel Project

wget https://git.innovator.bh/ghassan/laravel-project/raw/branch/main/install-laravel.sh
chmod +x install-laravel.sh
./install-laravel.sh

Use The Link Below In An Empty LXC To Create A Laravel Project - Advanced Mode

wget https://git.innovator.bh/ghassan/laravel-project/raw/branch/main/install-laravel-ad.sh
chmod +x install-laravel-ad.sh
./install-laravel-ad.sh

Install VSCODE Server On The LXC

curl -fsSL https://code-server.dev/install.sh | sh

Then to start editing your web app via ssh on vscode is by the following

code-server /var/www/<YourWebAppFolder>
Description
This is a curl installation file to get every thing up an running in an LXC
Readme 174 KiB
Languages
HTML 97.1%
Shell 2.9%