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