Votre Nom il y a 8 mois
Parent
commit
5594bb2758
2 fichiers modifiés avec 24 ajouts et 19 suppressions
  1. 22 17
      jupiter.sh
  2. 2 2
      options/chia.sh

+ 22 - 17
edge.sh → jupiter.sh

@@ -76,13 +76,13 @@ sudo reboot
 
 function intro_ {
 print_centered "$(tput setaf 1)"
-print_centered "███████╗██████╗  ██████╗ ███████╗"
-print_centered "██╔════╝██╔══██╗██╔════╝ ██╔════╝"
-print_centered "█████╗  ██║  ██║██║  ███╗█████╗  "
-print_centered "██╔══╝  ██║  ██║██║   ██║██╔══╝  "
-print_centered "███████╗██████╔╝╚██████╔╝███████╗"
-print_centered "╚══════╝╚═════╝  ╚═════╝ ╚══════╝"
-print_centered "                                 "
+print_centered "     ██╗██╗   ██╗██████╗ ██╗████████╗███████╗██████╗ "
+print_centered "     ██║██║   ██║██╔══██╗██║╚══██╔══╝██╔════╝██╔══██╗"
+print_centered "     ██║██║   ██║██████╔╝██║   ██║   █████╗  ██████╔╝"
+print_centered "██   ██║██║   ██║██╔═══╝ ██║   ██║   ██╔══╝  ██╔══██╗"
+print_centered "╚█████╔╝╚██████╔╝██║     ██║   ██║   ███████╗██║  ██║"
+print_centered " ╚════╝  ╚═════╝ ╚═╝     ╚═╝   ╚═╝   ╚══════╝╚═╝  ╚═╝"
+print_centered "                                                     "
 echo -n "$(tput sgr0)"
 print_centered "Edge Server installation script v$Version"
 print_centered "Ubuntu version 20.04.6"
@@ -102,12 +102,12 @@ case $passe in
    sudo apt-get install lxde lxde-icon-theme -y
    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 openssh-server xfsprogs -y
+   tasksel lzma-dev lzma cmake libuv1-dev libssl-dev msr-tools tightvncserver lm-sensors openssh-server xfsprogs -y
    echo -e ""
    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 htop vlc locate cmake -y
+   sudo apt-get install libglib2.0-dev libgtk2.0-dev libsensors4-dev htop vlc locate cmake -y
    echo -e "Done."
    ;;
 2)
@@ -123,13 +123,13 @@ esac
 
 function kernel_check_ {
 unamestr=$(uname -r)
-if ! [[ "$unamestr" == "5.15.152-custom" ]]
+if ! [[ "$unamestr" == "5.15.152-jupiter" ]]
 then
 echo -e "\n$(tput setaf 10)Custom kernel install $(tput setaf 9)5.15.152-custom(tput setaf 10) (fix DKMS/WOL) :$(tput sgr0)"
 cd /tmp/
-#wget -c -q --show-progress http://folivier.homelinux.org/cube/pack/custom_kernel/kernel_5.15.152-custom-edge.run
-#chmod +x kernel_5.15.152-custom-edge.run
-#sudo ./kernel_5.15.152-custom-edge.run
+wget -c -q --show-progress http://folivier.homelinux.org/cube/pack/custom_kernel/kernel_5.15.152-jupiter.run
+chmod +x kernel_5.15.152-jupiter.run
+sudo ./kernel_5.15.152-jupiter.run
 if ! [ -f /etc/modprobe.d/blacklist-nvidia-nouveau.conf ]
 then
 echo "Blacklist nvidia-nouveau driver..."
@@ -315,8 +315,8 @@ then
 cp /etc/fstab /tmp/fstab
 cat <<"EOF">> /tmp/fstab
 #ext4
-#UUID=1df72b63-fca0-45c6-992c-3e2532d5591a /media/Store ext4 auto,nofail,noatime,rw,user    0   0
-#btrfs temporary drives
+UUID=e5089cbd-e278-4d87-a8b8-7555cc291ea4 /store ext4 auto,nofail,noatime,rw,user    0   0
+#raid temporary drives
 #/dev/md0 /raid btrfs ssd,nodatasum,nobarrier,nodatacow,discard=async,noatime 0 0
 #Chia drive
 EOF
@@ -343,6 +343,11 @@ ff02::2 ip6-allrouters
 EOF
 echo "Done."
 
+echo -e "$(tput setaf 10)\nSensors drivers:$(tput sgr0)"
+sensors
+echo "Done."
+
+echo -e "$(tput setaf 10)\nW.O.L drivers:$(tput sgr0)"
 sudo apt install ethtool -y
 iface=$(ip link | awk -F: '$0 !~ "lo|vir|^[^0-9]"{printf $2a}' | cut -d ' ' -f2)
 sudo ethtool --change $iface wol g
@@ -395,8 +400,8 @@ then
 if ! grep "#mod for cuda" /home/wareck/.bashrc >/dev/null
 then
 echo '#mod for cuda' >>/home/wareck/.bashrc
-echo 'export PATH=/usr/local/cuda-12.3/bin/:$PATH'>>/home/wareck/.bashrc
-echo 'export LD_LIBRARY_PATH=/usr/local/cuda-12.3/lib64:$LD_LIBRARY_PATH'>>/home/wareck/.bashrc
+echo 'export PATH=/usr/local/cuda-12.4/bin/:$PATH'>>/home/wareck/.bashrc
+echo 'export LD_LIBRARY_PATH=/usr/local/cuda-12.4/lib64:$LD_LIBRARY_PATH'>>/home/wareck/.bashrc
 echo '' >>/home/wareck/.bashrc
 fi
 fi

+ 2 - 2
options/chia.sh

@@ -2,10 +2,10 @@
 set -e
 Version=6.1.2
 
-Gui=Yes #can be Yes No or Only
+Gui=No #can be Yes No or Only
 GigaHorse_farmer=Yes
 
-MadMax=Yes
+MadMax=No
 GigaHorse=Yes
 BladeBit=No
 ChiaPos=no