rebuilt-machine script for Ubuntu
This script is meant to be run on a BRAND NEW Ubuntu installation, and it will download the necessary files and images used to customize the OS in accordance to CHD's 'Qortal-OS' Ubuntu Customizations. Downloads and sets up the Qortal Core, Qortal UI, and grabs a few custom images from the Qortal Cloud, puts them all in the correct locations, then starts the Qortal refresh script.
This commit is contained in:
parent
65849a55fc
commit
79ff872312
63
rebuilt-machine.sh
Normal file
63
rebuilt-machine.sh
Normal file
@ -0,0 +1,63 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Regular Colors
|
||||
BLACK='\033[0;30m' # Black
|
||||
RED='\033[0;31m' # Red
|
||||
GREEN='\033[0;32m' # Green
|
||||
YELLOW='\033[0;33m' # Yellow
|
||||
BLUE='\033[0;34m' # Blue
|
||||
PURPLE='\033[0;35m' # Purple
|
||||
CYAN='\033[0;36m' # Cyan
|
||||
WHITE='\033[0;37m' # White
|
||||
NC='\033[0m' # No Color
|
||||
|
||||
echo "${PURPLE} UPDATING AND INSTALLING SOFTWARE ${NC}\n"
|
||||
|
||||
sudo apt update
|
||||
sudo apt -y upgrade
|
||||
sudo apt -y install unzip vim curl default-jre cinnamon-desktop-environment vlc chromium-browser p7zip-full libfuse2
|
||||
|
||||
echo "${BLUE} DOWNLOADING QORTAL CORE AND QORT SCRIPT ${NC}"
|
||||
|
||||
curl -L -O https://github.com/Qortal/qortal/releases/latest/download/qortal.zip
|
||||
unzip qortal*.zip
|
||||
rm qortal*.zip
|
||||
cd qortal
|
||||
chmod +x *.sh
|
||||
curl -L -O https://raw.githubusercontent.com/Qortal/qortal/master/tools/qort
|
||||
chmod +x qort
|
||||
cd
|
||||
|
||||
echo "${PURPLE} DOWNLOADING QORTAL UI AppImage AND RENAMING ${NC}"
|
||||
|
||||
cd Desktop
|
||||
curl -L -O https://github.com/Qortal/qortal-ui/releases/download/v1.9.2/Qortal-Setup-amd64.AppImage
|
||||
mv Qortal-Setup*.AppImage Qortal-UI
|
||||
chmod +x Qortal-UI
|
||||
|
||||
echo "${CYAN} DOWNLOADING IMAGES AND OTHER SCRIPTS ${NC}"
|
||||
|
||||
curl -L -O https://cloud.qortal.org/s/t4Fy8Lp4kQYiYZN/download/Machine-files.zip
|
||||
|
||||
unzip Machine-files.zip
|
||||
|
||||
cd Machine-files
|
||||
|
||||
mv Pictures/*.* ~/Pictures/
|
||||
mv *.sh ~/
|
||||
|
||||
cd
|
||||
|
||||
|
||||
|
||||
echo "${YELLOW} FINISHING UP ${NC}"
|
||||
|
||||
chmod +x *.sh
|
||||
|
||||
rm -R Machine-files
|
||||
|
||||
echo "${CYAN} STARTING QORTAL REFRESH ${NC}"
|
||||
|
||||
./refresh-qortal.sh
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user