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 / jdk7.sh
Last active November 21, 2020 23:44
Install OpenJDK 7 Java Runtime
sudo add-apt-repository ppa:openjdk-r/ppa
sudo apt-get update
sudo apt-get install openjdk-7-jdk
sudo apt update -y
sudo dpkg -i openjdk-7-* libjpeg62-turbo*
sudo apt install -f
sudo apt update -y
export JAVA_HOME=/usr/lib/jvm/openjdk-7-jdk.
export PATH=$PATH:$JAVA_HOME/bin
sudo update-alternatives --config java

Mastodon Docker Setup

Setting up

Clone Mastodon's repository.

# Clone mastodon to ~/live directory
git clone https://github.com/tootsuite/mastodon.git live
# Change directory to ~/live

cd ~/live

@AnythingLinux
AnythingLinux / TastyIgniter Setup.md
Created November 17, 2020 11:31 — forked from cwilby/TastyIgniter Setup.md
TastyIgniter Setup.md

TastyIgniter

TastyIgniter is a self-hosted, open source order management system to give businesses a way to provide online pickup/delivery for their customers.

Quickstart

Phase 1 - Application Setup

  • Create a LEMP Droplet on DigitalOcean.
  • Create an A record in your domain's DNS settings that points your domain name to your droplet's IP address.
@AnythingLinux
AnythingLinux / tastyigniter.sh
Created November 17, 2020 11:30 — forked from linuxbiekaisar/tastyigniter.sh
how to install tastyigniter on Ubuntu 18.04 LTS
# Youtube: https://studio.youtube.com/video/ltlGdKRJSuo/edit
# !/bin/bash
#Install Apache2
sudo apt update
sudo apt install apache2
sudo systemctl start apache2.service
sudo systemctl enable apache2.service
sudo systemctl restart apache2.service
@AnythingLinux
AnythingLinux / Redis,sh
Created November 15, 2020 22:19
Install Redis on Ubuntu
#!/bin/bash
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install redis-server
sudo systemctl enable redis-server.service
sudo nano /etc/redis/redis.conf
# Update the following values in Redis configuration file
maxmemory 1024mb
@AnythingLinux
AnythingLinux / Install Ruby on the Linux
Last active January 4, 2024 15:38
How to Install Ruby on the Linux
#!/bin/bash
# Process:
# Install Stable Ruby From Source
# Install Ruby from the Ubuntu Repository
# Installing Ruby with RVM
# Install Ruby Using rbenv
# Install Ruby From Source:
@AnythingLinux
AnythingLinux / EagleEye.sh
Created November 15, 2020 21:35
EagleEye Install Linux
$ wget https://raw.githubusercontent.com/ThoughtfulDev/EagleEye/master/pre.sh && chmod +x pre.sh && ./pre.sh
$ sudo apt update && sudo apt upgrade -y
$ sudo apt install git python3 python3-pip python3-dev
$ sudo apt install libgtk-3-dev libboost-all-dev build-essential cmake libffi-dev
$ git clone https://github.com/ThoughtfulDev/EagleEye
$ cd EagleEye && sudo pip3 install -r requirements.txt
$ sudo pip3 install --upgrade beautifulsoup4 html5lib spry
# Next change the value in config.json to the path of the geckodriver e.g
{
@AnythingLinux
AnythingLinux / PythonUninstall.sh
Last active February 8, 2023 16:02
Python Uninstall Linux
# Uninstall
sudo -i
compgen -c python
apt purge python*
apt purge python3
apt autoremove
compgen -c python
python
@AnythingLinux
AnythingLinux / phpini.sh
Last active June 3, 2024 14:55
Edit php.ini Linux
sudo apt update && sudo apt upgrade
sudo apt install software-properties-common ca-certificates lsb-release apt-transport-https
LC_ALL=C.UTF-8 sudo add-apt-repository ppa:ondrej/php
sudo apt update
sudo apt install php8.1
# Check active php version php -v
php -v
# Check system php version
php --version
@AnythingLinux
AnythingLinux / INSTALL.md
Created November 12, 2020 21:48 — forked from gbevan/INSTALL.md
Gnuradio 3.8 on Ubuntu 18.04