Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- ##dépôts
- ##OFF
- sudo zypper ar -f https://download.opensuse.org/repositories/Apache/openSUSE_Leap_15.6/Apache.repo
- sudo zypper ar -f https://download.opensuse.org/repositories/Archiving/15.6/Archiving.repo
- sudo zypper ar -f https://download.opensuse.org/repositories/editors/15.6/editors.repo
- sudo zypper ar -f https://download.opensuse.org/repositories/Emulators/15.6/Emulators.repo
- sudo zypper ar -f https://download.opensuse.org/repositories/filesharing/15.6/filesharing.repo
- sudo zypper ar -f https://download.opensuse.org/repositories/filesystems/15.6/filesystems.repo
- sudo zypper ar -f https://download.opensuse.org/repositories/hardware/15.6/hardware.repo
- sudo zypper ar -f https://download.opensuse.org/repositories/multimedia:/proaudio/15.6/multimedia:proaudio.repo
- sudo zypper ar -f https://download.opensuse.org/repositories/KDE:/Applications/KDE_Frameworks5_openSUSE_Leap_15.6/KDE:Applications.repo
- sudo zypper ar -f https://download.opensuse.org/repositories/network/15.6/network.repo
- sudo zypper ar -f https://download.opensuse.org/repositories/Office/openSUSE_Leap_15.6/
- sudo zypper ar -f https://download.opensuse.org/repositories/system:/snappy/openSUSE_Leap_15.6/system:snappy.repo
- sudo zypper ar -f https://download.opensuse.org/repositories/Publishing/15.6/Publishing.repo
- ##paquets
- sudo zypper in virtualbox android-tools
- ##groups
- sudo groupadd unixman
- sudo groupadd pipewire
- sudo usermod -a -G unixman unixman
- sudo usermod -a -G pipewire unixman
- sudo usermod -a -G vboxusers unixman
- sudo usermod -a -G adbusers unixman
- sudo usermod -a -G audio unixman
- sudo usermod -a -G root unixman
- sudo usermod -a -G users unixman
- sudo usermod -a -G video unixman
- sudo usermod -a -G tape unixman
- sudo usermod -a -G apulse unixman
- ##gitclone
- sudo mkdir -p /home/unixman/Git
- cd /home/unixman/Git
- sudo chown -R unixman:unixman /home/unixman/Git
- git clone https://github.com/sgan81/apfs-fuse.git
- git clone https://github.com/KDE/plasma-nm.git
- git clone https://github.com/coreos/go-systemd.git
- git clone https://github.com/systemd/systemd.git
- git clone https://github.com/stratis-storage/stratisd.git
- git clone https://github.com/stratis-storage/stratisd-client-dbus.git
- git clone https://github.com/stratis-storage/stratis-cli.git
- git clone https://github.com/stratis-storage/devicemapper-rs.git
- git clone https://github.com/stratis-storage/libcryptsetup-rs.git
- git clone https://github.com/stratis-storage/dbus-python-client-gen.git
- git clone https://github.com/stratis-storage/into-dbus-python.git
- git clone https://github.com/ryncsn/memstrack.git
- git clone https://github.com/geobarrod/KDE-Services.git
- git clone https://github.com/plougher/squashfs-tools.git
- git clone https://github.com/google/fonts.git
- git clone https://github.com/chipsec/chipsec.git
- git clone https://github.com/matthewbauer/undmg.git
- git clone https://github.com/darlinghq/darling-dmg.git
- git clone https://github/com/darlinghq/darling
- git clone https://github/com/sickcodes/docker-osx
- git clone https://github.com/Cleafy/sxkdvm.git
- git clone https://github.com/corpnewt/gibMacOS
- git clone https://github.com/angela-d/autohosts
- git clone https://github.com/angela-d/devdom
- git clone https://github.com/nonkronk/tripleboot-clover.git
- git clone https://github.com/create-dmg/create-dmg.git
- git clone https://github.com/MagerValp/AutoDMG.git
- git clone https://github.com/notpeter/apple-installer-checksums.git
- git clone https://github.com/rtrouton/create_macos_vm_install_dmg.git
- git clone https://github.com/chilcote/vfuse.git
- git clone https://github.com/jhernberg/udev-rtirq.git
- git clone https://github.com/rncbc/rtirq.git
- git clone https://github.com/PowerShell/PowerShell.git
- git clone https://github.com/linux-apfs/apfsprogs.git
- git clone https://github.com/yanjiyi/CloverISO.git
- ##packages
- 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
- ##OBS
- sudo opi dotnet && sudo opi codecs && sudo opi chrome && sudo opi brave
- ##installation PowerShell
- cd /home/unixman/Git/PowerShell/tools
- sudo sh installpsh-suse.sh
- cd
- ##SENSORS
- #sudo sensors-detect
- ##SYSTEMD
- sudo systemctl enable --now dbus-broker && sudo systemctl start dbus-broker
- sudo systemctl enable --now systemd-resolved && sudo systemctl start systemd-resolved
- sudo systemctl enable --now pdnsd && sudo systemctl start pdnsd
- sudo systemctl enable --now powertop && sudo systemctl start powertop
- sudo systemctl enable --now ntpd && sudo systemctl start ntpd
- sudo systemctl enable --now dkms && sudo systemctl start dkms
- sudo systemctl enable --now named && sudo systemctl start named
- sudo systemctl enable --now fancontrol && sudo systemctl start fancontrol
- sudo systemctl enable --now i2pd && sudo systemctl start i2pd
- sudo systemctl enable --now coredns && sudo systemctl start coredns
- sudo systemctl enable --now dnsmasq && sudo systemctl start dnsmasq
- sudo systemctl enable --now cobblerd && sudo systemctl start cobblerd
- sudo systemctl enable --now git-daemon && sudo systemctl start git-daemon
- sudo systemctl enable --now dovecot && sudo systemctl start dovecot
- sudo systemctl enable --now rspamd && sudo systemctl start rspamd
- sudo systemctl enable --now libvirtd && sudo systemctl start libvirtd
- ##CREATION DOSSIERS TELECHARGEMENTS
- cd /home/unixman/Téléchargements
- sudo chown -R unixman:unixman /home/unixman/Téléchargements
- sudo mkdir tars && sudo mkdir zips && sudo mkdir rpms && sudo mkdir debs && sudo mkdir isos && sudo mkdir appimages
- cd
- ##APPIMAGE-LAUNCHER
- cd /home/unixman/Téléchargements/rpms
- wget -4 https://github.com/TheAssassin/AppImageLauncher/releases/download/v2.2.0/appimagelauncher-2.2.0-travis995.0f91801.x86_64.rpm
- sudo rpm -Uvh appimagelauncher-2.2.0-travis995.0f91801.rpm
- cd
- ##MYSQL SECURITY
- sudo rcmysql start
- sudo mysql_secure_installation
- sudo zypper in php8-cli && sudo systemctl start apache2
- ##FONTS GOOGLE
- cd /home/unixman/Git/fonts
- sudo cp -r ofl ufl /usr/share/fonts
- cd
- ##KDE SERVICES
- cd /home/unixman/Git/KDE-Services
- sudo make && sudo make install
- cd
- ##memstrack
- cd /home/unixman/Git/memstrack
- sudo make && sudo make install
- cd
- ##SWAPPINESS
- cd /home/unixman/MEGA/MegaSyncFiles/scripts
- sudo bash swappiness
- cd
- ##EDK
- ##FLATPAKS
- sudo flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo
- ##APFS-FUSE INSTALL
- ##DARLING INSTALL
- cd /home/unixman/Git/
- git clone --recursive https://github.com/darlinghq/darling.git
- 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
- git lfs install
- git pull
- git submodule update --init --recursive
- mkdir build && cd build
- cmake ..
- make && sudo make install
- ##TRIPLE-BOOT-CLOVER
- cd /home/unixman/Git/tripleboot-clover
- sudo cp -r APPLE/ Microsoft/ /boot/efi/EFI
- cd
- ##DARLING-DMG INSTALL
- cd /home/unixman/Git/darling-dmg
- git submodule init
- git submodule update
- sudo zypper install lzfse-devel lzfse
- mkdir build && cd build
- cmake ..
- sudo make && sudo make install
- sudo cp darling-dmg /usr/bin
- cd
- ##SYSTEMD-BOOT
- #sudo bootctl --all-architecures install --esp-path=/boot/efi
- #sudo bootctl random-seed
- #sudo update-bootloader
- #sudo grub2-mkconfig -o /boot/grub2/grub.cfg
- ##APFSPROGS INSTALL
- cd /home/unixman/Git/apfsprogs/mkapfs
- sudo make && sudo make install
- sudo cp mkapfs /usr/bin
- cd .. && cd apfsck
- sudo make && sudo make install
- sudo cp apfsck /usr/bin
- cd .. && cd apfs-snap
- sudo make && sudo make install
- sudo cp apfs-snap /usr/bin
- ##UNDMG
- cd /home/unixman/Git/undmg
- sudo bash undmg
- sudo cp undmg /usr/bin
- ##EXTRACTION CLOVER ISO/iNSTALLATION SUR CLÉ USB
- #cd /home/unixman/Git/CloverISO
- #sudo mkdir -p /tmp/iso
- #sudo mount -o loop -t iso660 Clover-v2.5k-5070-X64.iso /tmp/iso
- #sudo mkfs.hfsplus /dev/sdc1
- #sudo parted /dev/sdc mklabel gpt
- #sudo parted /dev/sdc set 1 esp on
- #sudo rsync -p /tmp/iso /dev/sdc1
- #udsiksctl mount -b /dev/sdc1
- ##GIB-MAC-OSX
- cd /home/unixman/Git/gibMacOS
- python3 gibMacOS.py
Advertisement
Add Comment
Please, Sign In to add comment