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
@AnythingLinux
AnythingLinux / wireshark.sh
Created October 5, 2020 20:17
Wireshark Install Ubuntu
sudo add-apt-repository ppa:wireshark-dev/stable
sudo apt-get update
sudo apt -y install wireshark
wireshark --version
sudo usermod -a -G wireshark $USER
sudo chgrp wireshark /usr/bin/dumpcap
sudo chmod 750 /usr/bin/dumpcap
sudo setcap cap_net_raw,cap_net_admin=eip /usr/bin/dumpcap
@AnythingLinux
AnythingLinux / Pgpool-II.sh
Last active August 3, 2025 04:10
Pgpool-II 4.1.4 Installation Ubuntu 20.04 LTS
Getting Started With Pgpool-II 4.1.4 Installation Ubuntu 20.04 LTS
Table of Contents
1.1. Installation
1.2. Your First Replication
1.3. Testing Replication
1.4. Testing Load Balance
1.5. Testing Fail Over
1.6. Testing Online Recovery
1.7. Architectural Fundamentals
@AnythingLinux
AnythingLinux / sysctl.conf
Created October 3, 2020 19:30 — forked from techgaun/sysctl.conf
Sysctl configuration for high performance
### KERNEL TUNING ###
# Increase size of file handles and inode cache
fs.file-max = 2097152
# Do less swapping
vm.swappiness = 10
vm.dirty_ratio = 60
vm.dirty_background_ratio = 2
@AnythingLinux
AnythingLinux / rustc.sh
Last active October 2, 2020 18:39
How to install Rust Programming on Ubuntu 20.04 LTS
#!/bin/sh
# Welcome to Rust!
sudo apt update && sudo apt-get upgrade --fix-missing
sudo apt install build-essential checkinstall
sudo apt install ubuntu-restricted-extras
sudo apt install software-properties-common
sudo add-apt-repository ppa:nilarimogard/webupd8
sudo apt update
sudo apt install launchpad-getkeys
@AnythingLinux
AnythingLinux / django.sh
Last active October 1, 2020 17:36
Django Install Ubuntu 20.04 LTS
If you need Django Install Contact with me:
Skype: helios-sw
Telegram: @LinuxGun
Email: aaccou52@gmail.com
=================================================================================
# !/bin/sh
@AnythingLinux
AnythingLinux / surespot.sh
Last active March 5, 2024 12:59
Setup Surespot Server Ubuntu
Surespot is a relatively new Open Source instant messaging app. Therefore both the source codes for the client(Android and iOS) and the Server(Node.js) is available.
In this post, I’ll describe a step-by-step procedure for setting up the Surespot server on Ubuntu(I’ve tried it with Ubuntu 20.04 Server Edition).
sudo apt update && sudo apt-get upgrade --fix-missing
sudo apt install build-essential checkinstall
sudo apt install ubuntu-restricted-extras
sudo add-apt-repository ppa:nilarimogard/webupd8
sudo apt update
sudo apt install launchpad-getkeys
@AnythingLinux
AnythingLinux / git.sh
Created September 29, 2020 17:16
Install latest Git using PPA
If you need any help related with Git+GitHub+GitLab contact with me:
Telegram:@LinuxGun
Email: aaccou52@gmail,com
Skype: helios-sw
WhatsApp: +8801748973769
=====================================================================================================
#!/bin/bash
@AnythingLinux
AnythingLinux / NPM Update Local Package
Last active February 6, 2022 16:05
NPM Update Local Package
cd /path/to/project
npm update
npm outdated
npm install npm-check --global
npm install npm@latest -g
npm outdated --long --depth=20
npm update -g
npm cache clean --force
npm install
npm -g install npm
@AnythingLinux
AnythingLinux / cassandra.sh
Last active September 30, 2020 13:19
Installing Cassandra On Ubuntu 18.04 LTS
sudo apt-get update
sudo apt-get install openjdk-8-jdk
apt install ant
java -version
openjdk version "1.8.0_222"
OpenJDK Runtime Environment (build 1.8.0_222-8u222-b10-1ubuntu1~16.04.1-b10)
OpenJDK 64-Bit Server VM (build 25.222-b10, mixed mode)
@AnythingLinux
AnythingLinux / btc.sh
Last active April 16, 2021 21:49
Running Your Own Full Node Bitcoin Network
# Need Helo Fo Setup Full Node Bitcoin Network Contact:
# Telegram Messenger: @LinuxGun
# Skype: helios-sw
# Email: aaccou52@gmail.com
# Google Hangout: aaccou52@gmail.com
#=++++++++========================================================================================#
# Prerequisite:
# Desktop or laptop hardware running recent versions of Windows, Mac OS X, or Linux.