Pedro's Fedora Linux setup: Difference between revisions

From PedrosBrainDump
No edit summary
No edit summary
(7 intermediate revisions by the same user not shown)
Line 7: Line 7:
  # PRECONFIG ENV
  # PRECONFIG ENV
  cd ~
  cd ~
  wget https://github.com/PedroMussato/b64ed/releases/download/v1.0.1/b64ed-1.0-1.fc40.x86_64.rpm
  wget <nowiki>https://github.com/PedroMussato/b64ed/releases/download/v1.0.1/b64ed-1.0-1.fc40.x86_64.rpm</nowiki>
  wget https://github.com/VSCodium/vscodium/releases/download/1.94.2.24286/codium-1.94.2.24286-el8.x86_64.rpm
  wget <nowiki>https://github.com/VSCodium/vscodium/releases/download/1.94.2.24286/codium-1.94.2.24286-el8.x86_64.rpm</nowiki>
  wget https://github.com/balena-io/etcher/releases/download/v1.19.25/balena-etcher-1.19.25-1.x86_64.rpm
  wget <nowiki>https://github.com/balena-io/etcher/releases/download/v1.19.25/balena-etcher-1.19.25-1.x86_64.rpm</nowiki>
  wget https://launchpad.net/veracrypt/trunk/1.26.14/+download/veracrypt-1.26.14-Fedora-40-x86_64.rpm
  wget <nowiki>https://launchpad.net/veracrypt/trunk/1.26.14/+download/veracrypt-1.26.14-Fedora-40-x86_64.rpm</nowiki>
  curl -L -o burp_community_2024.8.4_linux.sh "https://portswigger-cdn.net/burp/releases/download?product=community&version=2024.8.4&type=Linux"
  curl -L -o burp_community_2024.8.4_linux.sh "<nowiki>https://portswigger-cdn.net/burp/releases/download?product=community&version=2024.8.4&type=Linux</nowiki>"
wget <nowiki>https://github.com/logisim-evolution/logisim-evolution/releases/download/v3.9.0/logisim-evolution-3.9.0-1.x86_64.rpm</nowiki>
   
   
  sudo dnf-3 config-manager --add-repo https://download.docker.com/linux/fedora/docker-ce.repo
  sudo dnf-3 config-manager --add-repo <nowiki>https://download.docker.com/linux/fedora/docker-ce.repo</nowiki>
   
   
  echo '[owncloud-client]' >> /etc/yum.repos.d/owncloud.repo
  echo '[owncloud-client]' >> /etc/yum.repos.d/owncloud.repo
  echo 'name=ownCloud Client' >> /etc/yum.repos.d/owncloud.repo
  echo 'name=ownCloud Client' >> /etc/yum.repos.d/owncloud.repo
  echo 'baseurl=https://download.owncloud.com/desktop/ownCloud/stable/latest/linux/Fedora_39/' >> /etc/yum.repos.d/owncloud.repo
  echo 'baseurl=<nowiki>https://download.owncloud.com/desktop/ownCloud/stable/latest/linux/Fedora_39/'</nowiki> >> /etc/yum.repos.d/owncloud.repo
  echo 'enabled=1' >> /etc/yum.repos.d/owncloud.repo
  echo 'enabled=1' >> /etc/yum.repos.d/owncloud.repo
  echo 'gpgcheck=1' >> /etc/yum.repos.d/owncloud.repo
  echo 'gpgcheck=1' >> /etc/yum.repos.d/owncloud.repo
  echo 'gpgkey=https://download.owncloud.com/desktop/ownCloud/stable/latest/linux/Fedora_39/RPM-GPG-KEY' >> /etc/yum.repos.d/owncloud.repo
  echo 'gpgkey=<nowiki>https://download.owncloud.com/desktop/ownCloud/stable/latest/linux/Fedora_39/RPM-GPG-KEY'</nowiki> >> /etc/yum.repos.d/owncloud.repo
   
   
  sudo rpm --import https://download.owncloud.com/desktop/ownCloud/stable/latest/linux/Fedora_39/repodata/repomd.xml.key
  sudo rpm --import <nowiki>https://download.owncloud.com/desktop/ownCloud/stable/latest/linux/Fedora_39/repodata/repomd.xml.key</nowiki>
   
   
  sudo dnf remove docker \
  sudo dnf remove docker \
Line 36: Line 38:
   
   
  # DNF INSTALL
  # DNF INSTALL
  sudo dnf install obs-studio thunderbird rpm-build rpmdevtools python3-pip hydra gobuster wafw00f whatweb golang wfuzz snapd docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin keepassxc owncloud-client ~/b64ed-1.0-1.fc40.x86_64.rpm ~/codium-1.94.2.24286-el8.x86_64.rpm ~/balena-etcher-1.19.25-1.x86_64.rpm ~/veracrypt-1.26.14-Fedora-40-x86_64.rpm -y
  sudo dnf install <code>zig</code> php remmina neovim obs-studio thunderbird rpm-build rpmdevtools python3-pip hydra gobuster wafw00f whatweb golang wfuzz snapd docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin keepassxc owncloud-client ~/b64ed-1.0-1.fc40.x86_64.rpm ~/codium-1.94.2.24286-el8.x86_64.rpm ~/balena-etcher-1.19.25-1.x86_64.rpm ~/veracrypt-1.26.14-Fedora-40-x86_64.rpm ./logisim-evolution-3.9.0-1.x86_64.rpm -y
   
   
  # SNAP INSTALL
  # SNAP INSTALL
Line 46: Line 48:
  # GOLANG INSTALL
  # GOLANG INSTALL
  cd /tmp
  cd /tmp
  git clone https://github.com/tomnomnom/hacks.git
  git clone <nowiki>https://github.com/tomnomnom/hacks.git</nowiki>
  cd hacks/html-tool
  cd hacks/html-tool
  go build -o html-tool main.go
  go build -o html-tool main.go
  sudo cp html-tool /usr/local/bin
  sudo cp html-tool /usr/local/bin
# installs nvm (Node Version Manager)
curl -o- <nowiki>https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.0/install.sh</nowiki> | bash
# download and install Node.js (you may need to restart the terminal)
nvm install 22
# verifies the right Node.js version is in the environment
node -v # should print `v22.11.0`
# verifies the right npm version is in the environment
npm -v # should print `10.9.0`
curl -fsSL <nowiki>https://deno.land/install.sh</nowiki> | sh
curl --proto '=https' --tlsv1.2 -sSf <nowiki>https://sh.rustup.rs</nowiki> | sh
   
   
  cd /tmp
  cd /tmp
  git clone https://github.com/003random/getJS.git
  git clone <nowiki>https://github.com/003random/getJS.git</nowiki>
  cd getJS
  cd getJS
  go build -o getJS main.go
  go build -o getJS main.go
Line 66: Line 84:
  # STARTING SERVICES
  # STARTING SERVICES
  sudo systemctl start docker
  sudo systemctl start docker
sudo dnf update -y
sudo dnf autoremove

Revision as of 13:27, 18 November 2024

# OVERAL CONFIG
gsettings set org.gnome.desktop.peripherals.touchpad click-method areas

# UPDATE ENV
sudo dnf update -y

# PRECONFIG ENV
cd ~
wget https://github.com/PedroMussato/b64ed/releases/download/v1.0.1/b64ed-1.0-1.fc40.x86_64.rpm
wget https://github.com/VSCodium/vscodium/releases/download/1.94.2.24286/codium-1.94.2.24286-el8.x86_64.rpm
wget https://github.com/balena-io/etcher/releases/download/v1.19.25/balena-etcher-1.19.25-1.x86_64.rpm
wget https://launchpad.net/veracrypt/trunk/1.26.14/+download/veracrypt-1.26.14-Fedora-40-x86_64.rpm
curl -L -o burp_community_2024.8.4_linux.sh "https://portswigger-cdn.net/burp/releases/download?product=community&version=2024.8.4&type=Linux"
wget https://github.com/logisim-evolution/logisim-evolution/releases/download/v3.9.0/logisim-evolution-3.9.0-1.x86_64.rpm


sudo dnf-3 config-manager --add-repo https://download.docker.com/linux/fedora/docker-ce.repo

echo '[owncloud-client]' >> /etc/yum.repos.d/owncloud.repo
echo 'name=ownCloud Client' >> /etc/yum.repos.d/owncloud.repo
echo 'baseurl=https://download.owncloud.com/desktop/ownCloud/stable/latest/linux/Fedora_39/' >> /etc/yum.repos.d/owncloud.repo
echo 'enabled=1' >> /etc/yum.repos.d/owncloud.repo
echo 'gpgcheck=1' >> /etc/yum.repos.d/owncloud.repo
echo 'gpgkey=https://download.owncloud.com/desktop/ownCloud/stable/latest/linux/Fedora_39/RPM-GPG-KEY' >> /etc/yum.repos.d/owncloud.repo

sudo rpm --import https://download.owncloud.com/desktop/ownCloud/stable/latest/linux/Fedora_39/repodata/repomd.xml.key

sudo dnf remove docker \
                  docker-client \
                  docker-client-latest \
                  docker-common \
                  docker-latest \
                  docker-latest-logrotate \
                  docker-logrotate \
                  docker-selinux \
                  docker-engine-selinux \
                  docker-engine

# DNF INSTALL
sudo dnf install zig php remmina neovim obs-studio thunderbird rpm-build rpmdevtools python3-pip hydra gobuster wafw00f whatweb golang wfuzz snapd docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin keepassxc owncloud-client ~/b64ed-1.0-1.fc40.x86_64.rpm ~/codium-1.94.2.24286-el8.x86_64.rpm ~/balena-etcher-1.19.25-1.x86_64.rpm ~/veracrypt-1.26.14-Fedora-40-x86_64.rpm ./logisim-evolution-3.9.0-1.x86_64.rpm -y

# SNAP INSTALL
snap install seclists sqlmap hash-id spotify obs-studio

# FLATPAK INSTALL
flatpak install flathub org.kde.kdenlive

# GOLANG INSTALL
cd /tmp
git clone https://github.com/tomnomnom/hacks.git
cd hacks/html-tool
go build -o html-tool main.go
sudo cp html-tool /usr/local/bin

# installs nvm (Node Version Manager)
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.0/install.sh | bash 

# download and install Node.js (you may need to restart the terminal)
nvm install 22

# verifies the right Node.js version is in the environment
node -v # should print `v22.11.0`

# verifies the right npm version is in the environment
npm -v # should print `10.9.0`

curl -fsSL https://deno.land/install.sh | sh

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

cd /tmp
git clone https://github.com/003random/getJS.git
cd getJS
go build -o getJS main.go
sudo cp getJS /usr/local/bin

# LOCAL INSTALL
cd ; chmod +x burp_community_2024.8.4_linux.sh
./burp_community_2024.8.4_linux.sh

# PYTHON INSTALL
pip install pyinstaller

# STARTING SERVICES
sudo systemctl start docker

sudo dnf update -y
sudo dnf autoremove