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 / tomcat.sh
Created June 24, 2020 15:33 — forked from linuxbiekaisar/tomcat.sh
How to install tomcat on ubnuntu 18.04 LTS
# Youtube: https://www.youtube.com/watch?v=4AVIAz0vbaA&t=4s
#!/bin/sh
# Tomcat installation on Ubuntu:
# ==============================
# Install OpenJDK
sudo apt install default-jdk

#Ubuntu for Development and SRE Work

###Upstart Fix Ubuntu has recently made the switch to SystemD. Not a bad thing, but many scripts (like the SSH one coming up next) still use Upstart. Lukcily we have a quick fix to tide us ove in the interim.

sudo apt-get install -y upstart-sysv

###Remove CDROM from Soures sudo sed -i '/cdrom/d' /etc/apt/sources.list

@AnythingLinux
AnythingLinux / Jitsi.sh
Created April 16, 2020 14:58
How install Jitsi in Ubuntu 18.04 LTS
# !/bin/sh
# Jitsi Installation:
# ===================
# To install jitsi on ubuntu run the following commands.
# TO configure a the hostname of the server corresponding to your domain / subdomain name:
hostnamectl set-hostname jitsi
sed -i 's/^127.0.1.1.*$/127.0.1.1 jitsi.mydomain.tld jitsi/g' /etc/hosts
@AnythingLinux
AnythingLinux / minikube.sh
Created November 7, 2019 08:05 — forked from ispguru/minikube.sh
Setup Minikube on Ubuntu 18.04
sudo apt update
sudo apt-get install apt-transport-https
udo apt-get upgrade
sudo apt install virtualbox virtualbox-ext-pack
wget https://storage.googleapis.com/minikube/releases/latest/minikube-linux-amd64
chmod +x minikube-linux-amd64
sudo mv minikube-linux-amd64 /usr/local/bin/minikube
minikube version
curl -s https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo apt-key add -
sudo apt install curl
@AnythingLinux
AnythingLinux / firefly iii install on 18.04.md
Created March 16, 2019 21:43
Firefly III install on Ubuntu18.04

Firefly III install on Ubuntu 18.04

These instructions will install Firefly III on Ubuntu 18.04. It includes setup for:

  • PHP 7.2
  • Nginx
  • MariaDB
  • Securing an Ubuntu server
  • Securing Maria DB
  • Let's Encrypt
@AnythingLinux
AnythingLinux / install-tomcat-8.5.14.sh
Created March 8, 2018 22:19 — forked from Clivern/install-tomcat-8.5.14.sh
How to Install Apache Tomcat 8 on Ubuntu 16.04
#!/bin/bash
# For More Info http://clivern.com/how-to-install-apache-tomcat-8-on-ubuntu-16-04
sudo apt-get update
sudo apt-get install default-jdk
sudo apt-get install unzip
cd /opt
curl -O http://apache.mirrors.ionfish.org/tomcat/tomcat-8/v8.5.15/bin/apache-tomcat-8.5.15.zip
sudo unzip apache-tomcat-8.5.15.zip
sudo mv apache-tomcat-8.5.15 tomcat
@AnythingLinux
AnythingLinux / install.sh
Created February 4, 2018 18:57 — forked from ziadoz/install.sh
Install Chrome, ChromeDriver and Selenium on Ubuntu 16.04
#!/usr/bin/env bash
# https://developers.supportbee.com/blog/setting-up-cucumber-to-run-with-Chrome-on-Linux/
# https://gist.github.com/curtismcmullan/7be1a8c1c841a9d8db2c
# http://stackoverflow.com/questions/10792403/how-do-i-get-chrome-working-with-selenium-using-php-webdriver
# http://stackoverflow.com/questions/26133486/how-to-specify-binary-path-for-remote-chromedriver-in-codeception
# http://stackoverflow.com/questions/40262682/how-to-run-selenium-3-x-with-chrome-driver-through-terminal
# http://askubuntu.com/questions/760085/how-do-you-install-google-chrome-on-ubuntu-16-04
# Versions
CHROME_DRIVER_VERSION=`curl -sS chromedriver.storage.googleapis.com/LATEST_RELEASE`
@AnythingLinux
AnythingLinux / node-and-npm-in-30-seconds.sh
Created December 11, 2017 20:32 — forked from isaacs/node-and-npm-in-30-seconds.sh
Use one of these techniques to install node and npm without having to sudo. Discussed in more detail at http://joyeur.com/2010/12/10/installing-node-and-npm/ Note: npm >=0.3 is *safer* when using sudo.
echo 'export PATH=$HOME/local/bin:$PATH' >> ~/.bashrc
. ~/.bashrc
mkdir ~/local
mkdir ~/node-latest-install
cd ~/node-latest-install
curl http://nodejs.org/dist/node-latest.tar.gz | tar xz --strip-components=1
./configure --prefix=~/local
make install # ok, fine, this step probably takes more than 30 seconds...
curl https://www.npmjs.org/install.sh | sh
@AnythingLinux
AnythingLinux / README.md
Last active October 9, 2017 15:09 — forked from Remiii/README.md
Setup Vagrant box (Ubuntu 14.04)

Setup Vagrant box (Ubuntu 14.04)

Introduction

This file discribe all the steps in order to setup a Vagrant box (using the Ansible Ubuntu simple Symfony App config - please refer to this repository for more info).

Requirements