Skip to content

Instantly share code, notes, and snippets.

@tosin2013
Created November 18, 2025 18:19
Show Gist options
  • Select an option

  • Save tosin2013/e226c3f335ae587ad969cbce9d89e776 to your computer and use it in GitHub Desktop.

Select an option

Save tosin2013/e226c3f335ae587ad969cbce9d89e776 to your computer and use it in GitHub Desktop.
configure-centos10.x.sh
#!/bin/bash
sudo dnf install -y bash tar gzip which coreutils findutils xz procps glibc libstdc++ libatomic
sudo dnf install git vim unzip wget bind-utils python3-pip tar util-linux-user gcc python3-devel podman ansible-core make tmux -y
sudo dnf install ncurses-devel curl -y
sudo dnf module list nodejs
sudo dnf module enable nodejs:20 -y
sudo dnf install -y nodejs
curl 'https://vim-bootstrap.com/generate.vim' --data 'editor=vim&langs=javascript&langs=go&langs=html&langs=ruby&langs=python' > ~/.vimrc
# This also installs ansible-core if it is not already installed
pip3 install ansible-dev-tools
# This also installs ansible-core if it is not already installed
pip3 install ansible-lint
sudo dnf install 'dnf-command(config-manager)'
sudo dnf config-manager --add-repo https://cli.github.com/packages/rpm/gh-cli.repo
sudo dnf install gh --repo gh-cli -y
sudo dnf install -y gcc-c++ make python3-devel
cd $HOME
git clone https://github.com/tosin2013/mcp-adr-analysis-server.git
git clone https://github.com/tosin2013/documcp.git
cd $HOME/mcp-adr-analysis-server
npm install
npm run build
cd $HOME/documcp
npm install
npm run build
cd $HOME
curl -OL https://raw.githubusercontent.com/tosin2013/openshift-demos/master/quick-scripts/deploy-gitea.sh
chmod +x deploy-gitea.sh
./deploy-gitea.sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment