Votre Nom il y a 6 mois
Parent
commit
ab72258b44
2 fichiers modifiés avec 5 ajouts et 26 suppressions
  1. 5 26
      jupiter.sh
  2. BIN
      pack/pack1.tar.xz

+ 5 - 26
jupiter.sh

@@ -83,7 +83,7 @@ print_centered "╚█████╔╝╚██████╔╝██║
 print_centered " ╚════╝  ╚═════╝ ╚═╝     ╚═╝   ╚═╝   ╚══════╝╚═╝  ╚═╝"
 print_centered "                                                     "
 echo -n "$(tput sgr0)"
-print_centered "Edge Server script v$Version"
+print_centered "Jupiter Server script v$Version"
 print_centered "Ubuntu version 20.04.6"
 if [ $Cuda = "YES" ]
 then
@@ -99,7 +99,7 @@ case $passe in
    sudo apt-get update
    echo -e ""
    sudo apt-get install cifs-utils mdadm git build-essential libtool pkg-config automake autoconf ethtool net-tools \
-   tasksel lzma-dev lzma cmake libuv1-dev libssl-dev openssh-server xfsprogs -y
+   tasksel lzma-dev lzma cmake libuv1-dev libssl-dev openssh-server xfsprogs htop -y
    echo -e ""
    sudo apt-get install zstd pixz pbzip2 pigz btrfs-progs gparted gpart gnome-remote-desktop libcanberra-gtk-module \
    bison byacc screen curl nvme-cli -y
@@ -122,7 +122,7 @@ function kernel_check_ {
 unamestr=$(uname -r)
 if ! [[ "$unamestr" == "5.15.159-jupiter" ]]
 then
-echo -e "\n$(tput setaf 10)Custom kernel install $(tput setaf 9)5.15.159-custom(tput setaf 10) (fix DKMS/WOL) :$(tput sgr0)"
+echo -e "\n$(tput setaf 10)Custom kernel install 5.15.159-jupiter:$(tput sgr0)"
 cd /tmp/
 wget -c -q --show-progress http://folivier.homelinux.org/cube/pack/custom_kernel/kernel_5.15.159-jupiter.run
 chmod +x kernel_5.15.159-jupiter.run
@@ -187,7 +187,7 @@ fi
 function download_packs_ {
 echo -e "$(tput setaf 10)\nDownload complement packs:$(tput sgr0)"
 wget -c -q --show-progress http://folivier.homelinux.org/cube/pack/chia-miner.tar.xz -O /home/wareck/Build_Cube/pack/chia-miner.tar.xz
-wget -c -q --show-progress http://folivier.homelinux.org/cube/pack/$Webmin.tar.xz -O /home/wareck/Build_Cube/pack/$Webmin.tar.xz
+#wget -c -q --show-progress http://folivier.homelinux.org/cube/pack/$Webmin.tar.xz -O /home/wareck/Build_Cube/pack/$Webmin.tar.xz
 wget -c -q --show-progress http://folivier.homelinux.org/cube/pack/xmrig.tar.xz -O /home/wareck/Build_Cube/pack/xmrig.tar.xz
 wget -c -q --show-progress http://folivier.homelinux.org/cube/pack/gpu-miners.tar.xz -O /home/wareck/Build_Cube/pack/gpu-miners.tar.xz
 
@@ -198,15 +198,6 @@ cp /home/wareck/Build_Cube/pack/pack3.tar.xz /home/wareck
 cp /home/wareck/Build_Cube/pack/xmrig.tar.xz /home/wareck
 echo -e "Done."
 
-if  [ ! -d /home/wareck/$Webmin ]
-then
-cp /home/wareck/Build_Cube/pack/$Webmin.tar.xz /home/wareck/
-cd /home/wareck/
-echo -e "$(tput setaf 10)\nWebmin uncompress:$(tput sgr0)"
-tar xfJ $Webmin.tar.xz
-rm $Webmin.tar.xz
-echo -e "Done"
-fi
 
 echo -e "$(tput setaf 10)\nDownloading miners:$(tput sgr0)"
 cd /home/wareck
@@ -257,7 +248,7 @@ sudo chmod -R 775 /home/wareck/miners
 function configure_ {
 echo -e "$(tput setaf 10)\nConfig files:$(tput sgr0)"
 cd /home/wareck/
-zip="['firefox.desktop', 'thunderbird.desktop', 'org.remmina.Remmina.desktop', 'filezilla.desktop', 'org.gnome.Nautilus.desktop', 'org.gnome.Terminal.desktop']"
+zip="['firefox.desktop', 'org.gnome.Nautilus.desktop', 'org.gnome.Terminal.desktop']"
 cat <<'EOF'>> zap
 #!/bin/bash
 gsettings set org.gnome.shell.extensions.dash-to-dock dash-max-icon-size 32
@@ -404,14 +395,6 @@ sudo update-grub2
 fi
 sudo chown -R wareck:wareck /home/wareck/miners/xmr*
 sudo apt-get remove light-locker* -y
-if [ ! -d /home/wareck/.config/lxpanel/LXDE/panels ]
-then
-mkdir /home/wareck/.config/lxpanel
-mkdir /home/wareck/.config/lxpanel/LXDE
-mkdir /home/wareck/.config/lxpanel/LXDE/panels
-fi
-sudo cp /home/wareck/Build_Cube/pack/panel /home/wareck/.config/lxpanel/LXDE/panels/panel
-sudo chmod 777 /home/wareck/.config/lxpanel/LXDE/panels/panel
 if [ ! -d  /home/wareck/.config/lxterminal ]
 then
 mkdir /home/wareck/.config/lxterminal
@@ -555,8 +538,6 @@ cat <<EOF>> autostart
 @pcmanfm --desktop --profile LXDE
 EOF
 sudo chmod 744 autostart
-sudo cp autostart /etc/xdg/lxsession/LXDE/
-sudo cp autostart /home/wareck/.config/lxsession/LXDE/
 sudo rm autostart
 sudo apt-get remove xscreensaver xscreensaver-data -y
 }
@@ -644,7 +625,5 @@ case $passe in
 esac
 
 echo -e "$(tput setaf 10)\nEnd of script:$(tput sgr0) \n"
-echo -e "$(tput setaf 7)Need to install webmin manually (reboot required)$(tput sgr0)"
-echo -e "$(tput setaf 7)after install webmin, reboot is required $(tput sgr0)"
 echo -e ""
 

BIN
pack/pack1.tar.xz