Guest User

postinstall-15.6

a guest
Dec 22nd, 2025
31
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.96 KB | None | 0 0
  1. #!/bin/bash
  2.  
  3. ##dépôts
  4.  
  5. ##OFF
  6. sudo zypper ar -f https://download.opensuse.org/repositories/Apache/openSUSE_Leap_15.6/Apache.repo
  7. sudo zypper ar -f https://download.opensuse.org/repositories/Archiving/15.6/Archiving.repo
  8. sudo zypper ar -f https://download.opensuse.org/repositories/editors/15.6/editors.repo
  9. sudo zypper ar -f https://download.opensuse.org/repositories/Emulators/15.6/Emulators.repo
  10. sudo zypper ar -f https://download.opensuse.org/repositories/filesharing/15.6/filesharing.repo
  11. sudo zypper ar -f https://download.opensuse.org/repositories/filesystems/15.6/filesystems.repo
  12. sudo zypper ar -f https://download.opensuse.org/repositories/hardware/15.6/hardware.repo
  13. sudo zypper ar -f https://download.opensuse.org/repositories/multimedia:/proaudio/15.6/multimedia:proaudio.repo
  14. sudo zypper ar -f https://download.opensuse.org/repositories/KDE:/Applications/KDE_Frameworks5_openSUSE_Leap_15.6/KDE:Applications.repo
  15. sudo zypper ar -f https://download.opensuse.org/repositories/network/15.6/network.repo
  16. sudo zypper ar -f https://download.opensuse.org/repositories/Office/openSUSE_Leap_15.6/
  17. sudo zypper ar -f https://download.opensuse.org/repositories/system:/snappy/openSUSE_Leap_15.6/system:snappy.repo
  18. sudo zypper ar -f https://download.opensuse.org/repositories/Publishing/15.6/Publishing.repo
  19.  
  20.  
  21. ##paquets
  22. sudo zypper in virtualbox android-tools
  23.  
  24. ##groups
  25. sudo groupadd unixman
  26. sudo groupadd pipewire
  27. sudo usermod -a -G unixman unixman
  28. sudo usermod -a -G pipewire unixman
  29. sudo usermod -a -G vboxusers unixman
  30. sudo usermod -a -G adbusers unixman
  31. sudo usermod -a -G audio unixman
  32. sudo usermod -a -G root unixman
  33. sudo usermod -a -G users unixman
  34. sudo usermod -a -G video unixman
  35. sudo usermod -a -G tape unixman
  36. sudo usermod -a -G apulse unixman
  37.  
  38. ##gitclone
  39. sudo mkdir -p /home/unixman/Git
  40. cd /home/unixman/Git
  41. sudo chown -R unixman:unixman /home/unixman/Git
  42. git clone https://github.com/sgan81/apfs-fuse.git
  43. git clone https://github.com/KDE/plasma-nm.git
  44. git clone https://github.com/coreos/go-systemd.git
  45. git clone https://github.com/systemd/systemd.git
  46. git clone https://github.com/stratis-storage/stratisd.git
  47. git clone https://github.com/stratis-storage/stratisd-client-dbus.git
  48. git clone https://github.com/stratis-storage/stratis-cli.git
  49. git clone https://github.com/stratis-storage/devicemapper-rs.git
  50. git clone https://github.com/stratis-storage/libcryptsetup-rs.git
  51. git clone https://github.com/stratis-storage/dbus-python-client-gen.git
  52. git clone https://github.com/stratis-storage/into-dbus-python.git
  53. git clone https://github.com/ryncsn/memstrack.git
  54. git clone https://github.com/geobarrod/KDE-Services.git
  55. git clone https://github.com/plougher/squashfs-tools.git
  56. git clone https://github.com/google/fonts.git
  57. git clone https://github.com/chipsec/chipsec.git
  58. git clone https://github.com/matthewbauer/undmg.git
  59. git clone https://github.com/darlinghq/darling-dmg.git
  60. git clone https://github/com/darlinghq/darling
  61. git clone https://github/com/sickcodes/docker-osx
  62. git clone https://github.com/Cleafy/sxkdvm.git
  63. git clone https://github.com/corpnewt/gibMacOS
  64. git clone https://github.com/angela-d/autohosts
  65. git clone https://github.com/angela-d/devdom
  66. git clone https://github.com/nonkronk/tripleboot-clover.git
  67. git clone https://github.com/create-dmg/create-dmg.git
  68. git clone https://github.com/MagerValp/AutoDMG.git
  69. git clone https://github.com/notpeter/apple-installer-checksums.git
  70. git clone https://github.com/rtrouton/create_macos_vm_install_dmg.git
  71. git clone https://github.com/chilcote/vfuse.git
  72. git clone https://github.com/jhernberg/udev-rtirq.git
  73. git clone https://github.com/rncbc/rtirq.git
  74. git clone https://github.com/PowerShell/PowerShell.git
  75. git clone https://github.com/linux-apfs/apfsprogs.git
  76. git clone https://github.com/yanjiyi/CloverISO.git
  77.  
  78.  
  79. ##packages
  80. sudo zypper install ntp dpkg dkms qtcurve-qt5 android-file-transfer-linux mtp-tools i2c-tools read-edid phpMyAdmin wordpress libcryptsetup-devel openconnect-devel libqca-qt5-devel python-dbus-python-common-devel python3-python-dbusmock i2pd ovmf dracut-tools msitools sensors evmctl systemd-devel simple-mtpfs gtkam gphotofs dmg2img efivar efivar-devel rapid-photo-downloader profile-sync-daemon openresolv udns pdnsd powertop qt-fsarchiver backintime kbackup kfind cronopete git-cola virtualbox telegram-desktop fuse3-devel fuse-devel dbus-broker rng-tools connman systemd-network systemd-experimental systemd-coredump systemd-portable virtualbox nvme-cli git-daemon pdnsd coredns dkms simple-mtpfs latte-dock git-cola gh hfsprogs airwindowsmanager usermodaudio limitsconf pasystray paprefs dnsmasq wine q4wine PlayOnLinux cobbler acetoneiso2 libhandy-devel clang net-tools-deprecated pv WoeUSB liveusb-gui imagewriter console-setup bash-loadables hw-probe acpid xorg-x11 openresolve su_wrapper uid_wrapper resolv_wrapper socket_wrapper squashfuse timeshift qt-fsarchiver kbackup backintime borgbackup borgmatic spamass-milter rspamd dovecot fuse-devel fuse3-devel freeipmi ipmitool icu hardinfo meson firewall-config hddtemp lsb audacity bugzilla neofetch Font-Downloader hfsprogs linuxsampler lscp-devel liblinuxsampler-devel appimaged zsync brotli zpaq peazip peazip-kf5 qtractor apulse dkms dbus-broker fancontrol soundkonverter powertop coredns tpm2.0-tools nvme-cli dnsmasq-utils libvirt rspam
  81.  
  82. ##OBS
  83. sudo opi dotnet && sudo opi codecs && sudo opi chrome && sudo opi brave
  84.  
  85. ##installation PowerShell
  86. cd /home/unixman/Git/PowerShell/tools
  87. sudo sh installpsh-suse.sh
  88. cd
  89.  
  90. ##SENSORS
  91. #sudo sensors-detect
  92.  
  93. ##SYSTEMD
  94. sudo systemctl enable --now dbus-broker && sudo systemctl start dbus-broker
  95. sudo systemctl enable --now systemd-resolved && sudo systemctl start systemd-resolved
  96. sudo systemctl enable --now pdnsd && sudo systemctl start pdnsd
  97. sudo systemctl enable --now powertop && sudo systemctl start powertop
  98. sudo systemctl enable --now ntpd && sudo systemctl start ntpd
  99. sudo systemctl enable --now dkms && sudo systemctl start dkms
  100. sudo systemctl enable --now named && sudo systemctl start named
  101. sudo systemctl enable --now fancontrol && sudo systemctl start fancontrol
  102. sudo systemctl enable --now i2pd && sudo systemctl start i2pd
  103. sudo systemctl enable --now coredns && sudo systemctl start coredns
  104. sudo systemctl enable --now dnsmasq && sudo systemctl start dnsmasq
  105. sudo systemctl enable --now cobblerd && sudo systemctl start cobblerd
  106. sudo systemctl enable --now git-daemon && sudo systemctl start git-daemon
  107. sudo systemctl enable --now dovecot && sudo systemctl start dovecot
  108. sudo systemctl enable --now rspamd && sudo systemctl start rspamd
  109. sudo systemctl enable --now libvirtd && sudo systemctl start libvirtd
  110.  
  111. ##CREATION DOSSIERS TELECHARGEMENTS
  112. cd /home/unixman/Téléchargements
  113. sudo chown -R unixman:unixman /home/unixman/Téléchargements
  114. sudo mkdir tars && sudo mkdir zips && sudo mkdir rpms && sudo mkdir debs && sudo mkdir isos && sudo mkdir appimages
  115. cd
  116.  
  117. ##APPIMAGE-LAUNCHER
  118. cd /home/unixman/Téléchargements/rpms
  119. wget -4 https://github.com/TheAssassin/AppImageLauncher/releases/download/v2.2.0/appimagelauncher-2.2.0-travis995.0f91801.x86_64.rpm
  120. sudo rpm -Uvh appimagelauncher-2.2.0-travis995.0f91801.rpm
  121. cd
  122.  
  123. ##MYSQL SECURITY
  124. sudo rcmysql start
  125. sudo mysql_secure_installation
  126. sudo zypper in php8-cli && sudo systemctl start apache2
  127.  
  128. ##FONTS GOOGLE
  129. cd /home/unixman/Git/fonts
  130. sudo cp -r ofl ufl /usr/share/fonts
  131. cd
  132.  
  133. ##KDE SERVICES
  134. cd /home/unixman/Git/KDE-Services
  135. sudo make && sudo make install
  136. cd
  137.  
  138. ##memstrack
  139. cd /home/unixman/Git/memstrack
  140. sudo make && sudo make install
  141. cd
  142.  
  143. ##SWAPPINESS
  144. cd /home/unixman/MEGA/MegaSyncFiles/scripts
  145. sudo bash swappiness
  146. cd
  147.  
  148. ##EDK
  149.  
  150. ##FLATPAKS
  151. sudo flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo
  152.  
  153. ##APFS-FUSE INSTALL
  154.  
  155. ##DARLING INSTALL
  156. cd /home/unixman/Git/
  157. git clone --recursive https://github.com/darlinghq/darling.git
  158. sudo zypper install bison flex python2 glibc-devel.i686 systemd-devel kernel-devel elfutils-libelf-devel cairo-devel freetype-devel.{x86_64,i686} libjpeg-turbo-devel.{x86_64,i686} libtiff-devel.{x86_64,i686} fontconfig-devel.{x86_64,i686} libglvnd-devel.{x86_64,i686} mesa-libGL-devel.{x86_64,i686} mesa-libEGL-devel.{x86_64,i686} libxml2-devel libbsd-deve git-lfs python-base libsystemd0 libelf1 libfreetype6 libjpeg-turbo libfontconfig1 libglvnd Mesa-libGL-devel Mesa-libEGL-devel libGLU1 libxml2-tools libbsd-devel git-lfs libXcursor-devel giflib-devel ffmpeg-6 ffmpeg-6-libavcodec-devel libpulse-devel pulseaudio-utils libxkbfile-devel openssl llvm libcap-progs libtiff-devel libjpeg8-devel libXrandr-devel dbus-1-devel glu-devel ffmpeg-6-libswresample-devel
  159. git lfs install
  160. git pull
  161. git submodule update --init --recursive
  162. mkdir build && cd build
  163. cmake ..
  164. make && sudo make install
  165.  
  166.  
  167. ##TRIPLE-BOOT-CLOVER
  168. cd /home/unixman/Git/tripleboot-clover
  169. sudo cp -r APPLE/ Microsoft/ /boot/efi/EFI
  170. cd
  171.  
  172. ##DARLING-DMG INSTALL
  173. cd /home/unixman/Git/darling-dmg
  174. git submodule init
  175. git submodule update
  176. sudo zypper install lzfse-devel lzfse
  177. mkdir build && cd build
  178. cmake ..
  179. sudo make && sudo make install
  180. sudo cp darling-dmg /usr/bin
  181. cd
  182.  
  183. ##SYSTEMD-BOOT
  184. #sudo bootctl --all-architecures install --esp-path=/boot/efi
  185. #sudo bootctl random-seed
  186. #sudo update-bootloader
  187. #sudo grub2-mkconfig -o /boot/grub2/grub.cfg
  188.  
  189. ##APFSPROGS INSTALL
  190. cd /home/unixman/Git/apfsprogs/mkapfs
  191. sudo make && sudo make install
  192. sudo cp mkapfs /usr/bin
  193. cd .. && cd apfsck
  194. sudo make && sudo make install
  195. sudo cp apfsck /usr/bin
  196. cd .. && cd apfs-snap
  197. sudo make && sudo make install
  198. sudo cp apfs-snap /usr/bin
  199.  
  200.  
  201. ##UNDMG
  202. cd /home/unixman/Git/undmg
  203. sudo bash undmg
  204. sudo cp undmg /usr/bin
  205.  
  206.  
  207. ##EXTRACTION CLOVER ISO/iNSTALLATION SUR CLÉ USB
  208. #cd /home/unixman/Git/CloverISO
  209. #sudo mkdir -p /tmp/iso
  210. #sudo mount -o loop -t iso660 Clover-v2.5k-5070-X64.iso /tmp/iso
  211. #sudo mkfs.hfsplus /dev/sdc1
  212. #sudo parted /dev/sdc mklabel gpt
  213. #sudo parted /dev/sdc set 1 esp on
  214. #sudo rsync -p /tmp/iso /dev/sdc1
  215. #udsiksctl mount -b /dev/sdc1
  216.  
  217.  
  218. ##GIB-MAC-OSX
  219. cd /home/unixman/Git/gibMacOS
  220. python3 gibMacOS.py
  221.  
  222.  
  223.  
  224.  
  225.  
  226.  
Advertisement
Add Comment
Please, Sign In to add comment