Update install.sh
(Minor correction)
This commit is contained in:
parent
0ca8e7f7a5
commit
7280fd06b3
|
@ -32,6 +32,7 @@ step_1_upgrade() {
|
|||
apt install -y curl
|
||||
apt install -y npm
|
||||
echo "${Green}Step 1 completed${NORMAL}"
|
||||
echo ""
|
||||
}
|
||||
|
||||
step_2_node_install() {
|
||||
|
@ -41,6 +42,7 @@ step_2_node_install() {
|
|||
curl -fsSL https://deb.nodesource.com/setup_14.x | bash -
|
||||
apt install -y nodejs
|
||||
echo "${Green}Step 2 completed${NORMAL}"
|
||||
echo ""
|
||||
}
|
||||
|
||||
step_3_yarn_install() {
|
||||
|
@ -49,6 +51,7 @@ step_3_yarn_install() {
|
|||
echo ""
|
||||
npm install --global yarn
|
||||
echo "${Green}Step 3 completed${NORMAL}"
|
||||
echo ""
|
||||
}
|
||||
|
||||
step_4_packages_install() {
|
||||
|
@ -64,6 +67,7 @@ step_4_packages_install() {
|
|||
apt install -y lvm2
|
||||
apt install -y cifs-utils
|
||||
echo "${Green}Step 4 completed${NORMAL}"
|
||||
echo ""
|
||||
}
|
||||
|
||||
step_5_fetching_xo_code() {
|
||||
|
@ -72,6 +76,7 @@ step_5_fetching_xo_code() {
|
|||
echo ""
|
||||
git clone -b master https://github.com/vatesfr/xen-orchestra
|
||||
echo "${Green}Step 5 completed${NORMAL}"
|
||||
echo ""
|
||||
}
|
||||
|
||||
step_6_dependencies_install() {
|
||||
|
@ -85,6 +90,7 @@ step_6_dependencies_install() {
|
|||
mkdir -p ~/.config/xo-server
|
||||
cp sample.config.toml ~/.config/xo-server/config.toml
|
||||
echo "${VERT}Step 6 completed${NORMAL}"
|
||||
echo ""
|
||||
}
|
||||
|
||||
step_7_xo_running() {
|
||||
|
@ -93,6 +99,7 @@ step_7_xo_running() {
|
|||
echo ""
|
||||
yarn start
|
||||
echo "${Green}Step 7 completed${NORMAL}"
|
||||
echo ""
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user