Votre Nom 1 year ago
parent
commit
0f9488c474
2 changed files with 7 additions and 7 deletions
  1. 1 1
      options/chia.sh
  2. 6 6
      other_arch/alma.sh

+ 1 - 1
options/chia.sh

@@ -182,7 +182,7 @@ if [ ! -d build ];then mkdir build;fi
 cd build
 sed -i "s/FatalIf( cfg.compressionLevel >/\/\/FatalIf( cfg.compressionLevel/g" /home/wareck/chia/bladebit/src/main.cpp
 cmake ..
-make -j6
+make -j 6
 if [ -f cuda.sh ]; then rm cuda.sh ;fi
 cat <<'EOF'>> cuda.sh
 #!/bin/bash

+ 6 - 6
other_arch/alma.sh

@@ -1,6 +1,6 @@
 #!/bin/bash
 set -e
-Version=2.8
+Version=2.9
 
 #if (( $EUID != 0 )); then
 #   echo -e "$(tput setaf 11)This must be run as root. Try 'sudo $0'.$(tput sgr0)"
@@ -59,6 +59,7 @@ sudo dnf group install -y "Development Tools"
 sudo dnf install -y cmake gmp-devel numactl-devel perl lynx perl-Encode-Detect perl-Time-Piece perl-open perl-encoding perl-Filter
 sudo dnf install -y perl-Digest-SHA git htop python-devel gparted
 sudo dnf install -y cmake3 libsodium libsodium-static git make cmake gcc gcc-c++ hwloc-devel openssl-devel automake libtool autoconf
+sudo dnf install -y msr-tools-1.3-17.el9.x86_64
 sudo dnf --enablerepo=crb install -y libstdc++-static
 echo -e "\nDone"
 }
@@ -106,6 +107,7 @@ sed -i "s/Miner=Yes/Miner=No/g" chia.sh
 sed -i "s/ChiaProxy=Yes/ChiaProxy=No/g" chia.sh
 sed -i "s/Toolkit for Chia v$Version/Toolkit for Chia AlmaLinux /g" chia.sh
 sed -i "s/sudo apt-get install/#sudo apt-get install/g" chia.sh
+sed -i "s/-j 6/-j 32/g" chia.sh
 sh chia.sh
 rm chia.sh
 #cp /home/wareck/Build_Cube/options/flexfarmer.sh .
@@ -150,7 +152,7 @@ tar xvfJ miners_alma.tar.xz
 sudo rm -r -f miners_alma.tar.xz
 sudo rm -r -f xmr-stak-rx
 sudo rm -r -f xmrig-upx
-sudo dnf install -y msr-tools-1.3-17.el9.x86_64
+#sudo dnf install -y msr-tools-1.3-17.el9.x86_64
 echo -e "\nDone."
 }
 
@@ -283,7 +285,6 @@ git config --global core.editor "nano"
 
 function bash_ {
 echo -e "$(tput setaf 10)\nInstall script plotter:$(tput sgr0)"
-
 cat <<'EOF'>> /home/wareck/chia/bladebit/build/h9.sh
 #!/bin/bash
 POOL=a99e72c49c5ed39bf793caab9e074a80dd61011a859e975842874aab47b783f9ce84282febe2ca275c0930149b67990a
@@ -315,13 +316,11 @@ chmod +x /home/wareck/chia/chia-gigahorse/cpu-plotter/linux/x86_64/go.sh
 echo "Done."
 }
 
-
 intro_
 update_
 lvm2_
 drive_
 wol_
-tigervnc_
 chia_
 miner_
 crontab_
@@ -330,6 +329,7 @@ config_
 webmin_
 
 echo -e "\n"
-echo -e "$(tput setaf 10)VNC password:$(tput sgr0)"
+echo -e "$(tput setaf 10)VNC install:$(tput sgr0)"
+tigervnc_
 vncpasswd
 echo -e "\nProcess finished !! \nhappy plotting."