mirror of
https://github.com/myvesta/vesta
synced 2025-08-20 13:24:25 -07:00
convert-vesta-to-myvesta.sh
This commit is contained in:
parent
d1cba4e5cc
commit
50cc5d5b35
1 changed files with 12 additions and 0 deletions
12
src/deb/for-download/tools/convert-vesta-to-myvesta.sh
Normal file
12
src/deb/for-download/tools/convert-vesta-to-myvesta.sh
Normal file
|
@ -0,0 +1,12 @@
|
|||
#!/bin/bash
|
||||
|
||||
# *** Debian only ***
|
||||
|
||||
wget -O - http://apt.myvestacp.com/deb_signing.key | sudo apt-key add -
|
||||
codename="$(cat /etc/os-release |grep VERSION= |cut -f 2 -d \(|cut -f 1 -d \))"
|
||||
echo "deb http://apt.myvestacp.com/$codename/ $codename vesta" > /etc/apt/sources.list.d/vesta.list
|
||||
apt update
|
||||
apt install -y vesta vesta-php vesta-nginx
|
||||
|
||||
service vesta stop
|
||||
service vesta start
|
Loading…
Add table
Add a link
Reference in a new issue