Votre Nom 1 year ago
parent
commit
3b794cb899
3 changed files with 16 additions and 12 deletions
  1. 9 7
      build_cube.sh
  2. 1 1
      options/chia.sh
  3. 6 4
      options/wireguard.sh

+ 9 - 7
build_cube.sh

@@ -1,6 +1,6 @@
 #!/bin/bash
 set -e
-Version=17.3
+Version=17.5
 Cuda=YES
 kernel_custom=YES
 Webmin="webmin-2.103"
@@ -199,10 +199,12 @@ YES)
 	#sudo ./cuda_11.8.0_520.61.05_linux.run
 	#sudo rm cuda_11.8.0_520.61.05_linux.run
 	#wget -c https://developer.download.nvidia.com/compute/cuda/12.2.2/local_installers/cuda_12.2.2_535.104.05_linux.run
-	megadown https://mega.nz/file/u9h1wbYL#QuHtEpCErWXDFjjMVFTK9QzcAI5SrsgTMbx6DfFJT2k
-	chmod +x cuda_12.2.2_535.104.05_linux.run
-	sudo ./cuda_12.2.2_535.104.05_linux.run --silent --driver --toolkit
-	sudo rm cuda_12.2.2_535.104.05_linux.run
+
+	#megadown https://mega.nz/file/u9h1wbYL#QuHtEpCErWXDFjjMVFTK9QzcAI5SrsgTMbx6DfFJT2k
+	wget https://developer.download.nvidia.com/compute/cuda/12.3.0/local_installers/cuda_12.3.0_545.23.06_linux.run
+	chmod +x cuda_12.3.0_545.23.06_linux.run
+	sudo ./cuda_12.3.0_545.23.06_linux.run --silent --driver --toolkit
+	sudo rm cuda_12.3.0_545.23.06_linux.run
 	touch /home/wareck/.pass2
 	decompte_
 	;;
@@ -701,8 +703,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.2/bin/:$PATH'>>/home/wareck/.bashrc
-echo 'export LD_LIBRARY_PATH=/usr/local/cuda-12.2/lib64:$LD_LIBRARY_PATH'>>/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 '' >>/home/wareck/.bashrc
 fi
 fi

+ 1 - 1
options/chia.sh

@@ -429,7 +429,7 @@ if [ $ChiaPos = "YES" ];then chiapos;fi
 if [ $Miner = "YES" ];then miner_;fi
 if [ $ChiaService = "YES" ];then service_;fi
 if [ $ChiaProxy = "YES" ]; then chia_proxy;fi
-if [ $gui = "YES"]; then chia_blockchain;fi
+if [ $Gui = "YES" ]; then chia_blockchain;fi
 	 ;;
 esac
 

+ 6 - 4
options/wireguard.sh

@@ -29,6 +29,7 @@ print_centered "                |___|                "
 echo -n "$(tput sgr0)"
 print_centered "Wireguard VPN serveur v$version"
 print_centered ""
+sleep 5
 }
 
 function install_ {
@@ -42,16 +43,17 @@ sudo cp /tmp/sysctl.conf /etc/sysctl.conf
 print_centered "Install sysctl.conf : [ OK ]"
 fi
 sudo apt install wireguard -y
-clear
-intro_
+echo ""
 print_centered "Install soft   : [ OK ]"
 sudo cp /Cloud/wireguard.tar.xz /
-sudo tar xfJ /wireguard.tar.xz
-sudo rm /wireguard.tar.xz
+cd /
+sudo tar xfJ wireguard.tar.xz
+sudo rm wireguard.tar.xz
 print_centered "Install config : [ OK ]"
 sudo systemctl enable wg-quick@wg0.service
 sudo systemctl start wg-quick@wg0.service
 print_centered "Start software : [ OK ]"
 }
 
+intro_
 install_