Skip to content

Instantly share code, notes, and snippets.

View AnythingLinux's full-sized avatar
🏠
Working from home

Karim AnythingLinux

🏠
Working from home
View GitHub Profile
Need LiteSpeed Web Server Development Services Contact:
Telegram: https://t.me/LinuxGun
WhatsApp:
https://wa.link/sqj8cl
Skype:
helios-sw
SMS:
@AnythingLinux
AnythingLinux / Cryptocurrency Exchange System Development Service Available Here
Last active September 17, 2024 20:13
Cryptocurrency Exchange System Development Service Available Here
Need Cryptocurrency Exchange System Development Service Contact:
Telegram: https://t.me/LinuxGun
WhatsApp:
https://wa.link/sqj8cl
Skype:
helios-sw
SMS:
@AnythingLinux
AnythingLinux / Fixing Has No Installation Candidate
Created April 3, 2022 19:05
Fixing has no installation candidate (sed command)
sudo sed -i -e 's/us.archive.ubuntu.com/archive.ubuntu.com/g' /etc/apt/sources.list
@AnythingLinux
AnythingLinux / Doxygen Install CentOS Linux
Created April 2, 2022 16:14
Doxygen Install CentOS
sudo yum config-manager --set-enabled PowerTools
sudo yum -y install doxygen doxygen-latex doxygen-doxywizard
sudo yum -y install doxygen-latex doxygen-doxywizard
@AnythingLinux
AnythingLinux / Yarn Install via npm
Last active March 28, 2022 20:33
Yarn Install
npm install --global yarn
yarn --version
sudo apt install yarnpkg
sudo apt remove yarn
sudo apt install curl
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
sudo apt update
sudo apt install yarn
@AnythingLinux
AnythingLinux / How To Install Go on Ubuntu 20.04 LTS Linux
Last active May 30, 2024 15:54
How To Install Go on Ubuntu 20.04
#!/bin/sh
# Source: https://go.dev/dl/
# Installation Procedure 1:
wget https://go.dev/dl/go1.21.5.linux-amd64.tar.gz
sha256sum go1.21.5.linux-amd64.tar.gz
sudo tar -C /usr/local -xvf go1.21.5.linux-amd64.tar.gz
sudo nano ~/.profile
export PATH=$PATH:/usr/local/go/bin
source ~/.profile
@AnythingLinux
AnythingLinux / npm update does not do anything
Last active March 21, 2022 18:16
npm update not working
npm outdated | cut -d" " -f1 | tail -n +2 | sed 's/$/@latest/' | xargs npm i
npx npm-check-updates -u && npm i
npm i -g npm-check-updates
ncu -u
npm install
@AnythingLinux
AnythingLinux / Cardano Node Installation Ubuntu Linux
Last active March 10, 2022 19:25
Building Cardano Node with nix
# ssh root@66.228.57.32
sudo -i
apt update -y && apt-get upgrade -y
apt update -y
apt install build-essential checkinstall
apt install ubuntu-restricted-extras
apt install software-properties-common
apt install apt-show-versions
apt upgrade -o APT::Get::Show-Upgraded=true
apt-show-versions | grep upgradeable
@AnythingLinux
AnythingLinux / How To Remove PostgreSQL on Ubuntu Linux
Last active May 13, 2024 15:26
Remove PostgreSQL on Ubuntu Linux
sudo -i
pg_ctlcluster 13 main stop
systemctl stop postgresql.service
apt --purge remove postgresql-* postgresql-client postgresql-client postgresql-client-common postgresql-common postgresql-contrib postgresql-contrib
apt autoremove
rm -rf /var/lib/postgresql/
rm -rf /var/log/postgresql/
rm -rf /etc/postgresql/
deluser postgres
userdel -f postgres
@AnythingLinux
AnythingLinux / Enable SSH Access Ubuntu 20.04 LTS
Last active August 10, 2023 18:45
Enable SSH Access Ubuntu
# Follow any one Workground
apt-get install openssh-server
######Password Based SSH Login#########
nano /etc/ssh/sshd_config
# Find (ctrl+w) this line and set
PermitRootLogin yes
PubkeyAuthentication no
PasswordAuthentication yes