|
@@ -1,6 +1,6 @@
|
|
|
#!/bin/bash
|
|
|
set -e
|
|
|
-Version=18.3.2
|
|
|
+Version=18.3.3
|
|
|
Cuda=YES
|
|
|
kernel_custom=YES
|
|
|
Miners=Yes
|
|
@@ -13,6 +13,7 @@ if (( $EUID != 0 )); then
|
|
|
exit 1
|
|
|
fi
|
|
|
clear
|
|
|
+export TERM=xterm-256color
|
|
|
Cuda=${Cuda^^}
|
|
|
kernel_custom=${kernel_custom^^}
|
|
|
driver=${driver^^}
|
|
@@ -75,8 +76,7 @@ print_centered "╚██████╗╚██████╔╝████
|
|
|
print_centered " ╚═════╝ ╚═════╝ ╚═════╝ ╚══════╝"
|
|
|
echo -n "$(tput sgr0)"
|
|
|
print_centered "Cube Server installation script v$Version"
|
|
|
-print_centered "Ubuntu version 20.04"
|
|
|
-print_centered "GA990xa-ud3"
|
|
|
+print_centered "Ubuntu version 20.04.6"
|
|
|
if [ $Cuda = "YES" ]
|
|
|
then
|
|
|
print_centered "CUDA"
|
|
@@ -95,7 +95,7 @@ echo -e ""
|
|
|
sudo apt-get install samba cifs-utils mdadm git build-essential libtool pkg-config automake autoconf ethtool net-tools openvpn filezilla \
|
|
|
tasksel lzma-dev lzma cmake libuv1-dev libssl-dev msr-tools tightvncserver lm-sensors openssh-server xfsprogs -y
|
|
|
echo -e ""
|
|
|
-sudo apt-get install pixz pbzip2 pigz btrfs-progs gparted gpart gnome-remote-desktop libcanberra-gtk-module \
|
|
|
+sudo apt-get install zstd pixz pbzip2 pigz btrfs-progs gparted gpart gnome-remote-desktop libcanberra-gtk-module \
|
|
|
ctorrent libcurl4-openssl-dev bison byacc screen libudev-dev libjansson-dev libncurses5-dev libmicrohttpd-dev curl nvme-cli -y
|
|
|
echo -e ""
|
|
|
sudo apt-get install libglib2.0-dev libgtk2.0-dev libsensors4-dev htop vlc locate cmake -y
|
|
@@ -832,6 +832,11 @@ sleep 1
|
|
|
}
|
|
|
|
|
|
function autoroot_ {
|
|
|
+if ! grep "#color putty" ~/.bashrc >/dev/null
|
|
|
+then
|
|
|
+echo "#color putty" >> ~/.bashrc
|
|
|
+echo "export TERM=xterm-256color" >> ~/.bashrc
|
|
|
+fi
|
|
|
if [ ! -d /home/wareck/.config/autostart ]
|
|
|
then
|
|
|
echo -e "$(tput setaf 10)\nInit install & autostart:$(tput sgr0)"
|