This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Install media | |
https://cdimage.debian.org/cdimage/archive/10.11.0/arm64/iso-cd/debian-10.11.0-arm64-netinst.iso | |
https://cdimage.debian.org/cdimage/archive/10.11.0/amd64/iso-cd/debian-10.11.0-amd64-netinst.iso | |
# Updateing your system | |
sudo apt update && sudo apt upgrade -y | |
# Install needed Utils |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Installing | |
# LanCache shell script | |
#!bin/bash | |
export HOST_IP=`hostname -I | cut -d' ' -f1` | |
docker run --restart unless-stopped --name lancache-dns --detach -p 53:53/udp -e USE_GENERIC_CACHE=true -e LANCACHE_IP=$HOST_IP lancachenet/lancache-dns:latest | |
docker run --restart unless-stopped --name lancache --detach -v /cache/data:/data/cache -v /cache/logs:/data/logs -p 80:80 -p 443:443 lancachenet/monolithic:latest | |
echo Please configure your router/dhcp server to serve dns as $HOST_IP | |
or |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Update your system | |
sudo apt update && sudo apt upgrade -y | |
sudo apt install apt-transport-https ca-certificates curl gnupg-agent software-properties-common | |
# Install Docker | |
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - | |
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" | |
sudo apt update |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from flask import Flask | |
from threading import Thread | |
app = Flask('') | |
@app.route('/') | |
def home(): | |
return "Hello. I am alive!" | |
def run(): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Install NVM | |
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.0/install.sh | bash | |
# Install Node | |
nvm install v12.16.1 | |
nvm install v14.18.0 | |
nvm install v12.22.6 | |
# Install Yarn | |
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mkdir ~/projects | |
cd ~/projects | |
curl -O https://dl.google.com/go/go1.17.2.linux-amd64.tar.gz | |
tar xvf go1.12.7.linux-amd64.tar.gz | |
sudo chown -R root:root ./go | |
sudo mv go /usr/local |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Install | |
// Pre-reqs | |
sudo apt-get install qemu-system qemu-utils python3 python3-pip // for Ubuntu 19.04+, Debian, Mint, and Pop!_OS 19.04+. | |
// Clone the repo | |
mkdir ~/projects/ | |
cd ~/projects/ | |
git clone https://github.com/foxlet/macOS-Simple-KVM.git |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Installation | |
// For Ubuntu=>20.04 | |
sudo add-apt-repository ppa:camel-neeraj/sysmontask | |
sudo apt install sysmontask | |
// Install psutil if Ubuntu<=20.04, other-wise skip this step(more info given below) : | |
sudo pip3 install -U psutil |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
A quick walkthrough on how to compile and get PCem v17 running on Linux (mainly Debian-based distros, might work for other distros). I am using Pop!_OS 21.04 | |
Dependencies: | |
sudo apt install libsdl2-dev | |
sudo apt install libopenal-dev | |
sudo apt-key adv --fetch-keys http://repos.codelite.org/CodeLite.asc | |
sudo nano /etc/apt/sources.list.d/codelite.list | |
deb [arch=amd64] https://repos.codelite.org/wx3.0.5/ubuntu/ focal universe |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# The begining | |
# Setup system | |
Downloaded ISO - 32-bit | |
https://downloads.raspberrypi.org/raspios_lite_armhf/images/ | |
Using th methods on the official Raspberrpi.org website create the SD card from the image you just downloaded and boot it up. | |
From your PC SSH into you raspberry pi and use the default username for your distribution. |
NewerOlder