Pedro's Fedora Linux setup

From PedrosBrainDump
Revision as of 04:52, 14 November 2024 by 413vhcu1lq0463ob (talk | contribs)
# 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"

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 -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