Added new scripts for auto-fix, added new desktop wallpaper, modified methodology a bit, and ended with a reboot and instructions to login with cinnamon upon restart instead of starting qortal core refresh. Refresh can be run AFTER reboot and desktop configuration changes. In the future, will add as many of the desktop configuration changes as possible as well, once I figure out how to do them with terminal. :)
74 lines
2.0 KiB
Bash
74 lines
2.0 KiB
Bash
#!/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 UBUNTU AND INSTALLING REQUIRED SOFTWARE PACKAGES ${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 htop
|
|
|
|
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
|
|
|
|
|
|
echo "${PURPLE} DOWNLOADING QORTAL UI AppImage AND RENAMING ${NC}"
|
|
|
|
cd
|
|
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 PICTURE FILES AND OTHER SCRIPTS ${NC}"
|
|
|
|
cd
|
|
|
|
curl -L -O https://cloud.qortal.org/s/t4Fy8Lp4kQYiYZN/download/Machine-files.zip
|
|
|
|
unzip Machine-files.zip
|
|
|
|
cd Machine-files
|
|
|
|
mv Pictures/*.* ~/Pictures/
|
|
mv start-qortal.sh ~/
|
|
|
|
curl -L -O https://cloud.qortal.org/s/8z4sRiwJCPqM4Fi/download/Qortal-TheFuture-Wallpaper.png
|
|
mv Qortal-The*.png ~/Pictures/
|
|
|
|
|
|
curl -L -O https://cloud.qortal.org/s/6d8qoEkQRDSCTqn/download/rebuilt-machine-setup.txt
|
|
mv rebuilt-machine-setup.txt ~/Desktop
|
|
|
|
curl -L -O https://raw.githubusercontent.com/crowetic/QORTector-scripts/main/refresh-qortal.sh
|
|
curl -L -O https://raw.githubusercontent.com/crowetic/QORTector-scripts/main/auto-fix-qortal.sh
|
|
|
|
|
|
echo "${YELLOW} FINISHING UP ${NC}"
|
|
|
|
chmod +x *.sh
|
|
|
|
rm -R Machine-files
|
|
|
|
echo "${CYAN} REBOOTING MACHINE - USE CINNAMON DESKTOP ENVIRONMENT UPON REBOOT BY CLICKING LOGIN NAME THEN SETTINGS ICON AT BOTTOM RIGHT, AND CHANGING TO CINNAMON ${NC}"
|
|
|
|
sudo reboot
|
|
|
|
|