Skip to content

Instantly share code, notes, and snippets.

View hakiri's full-sized avatar

Hakiri hakiri

  • ISSAT Mateur, Tunisie
View GitHub Profile
@hakiri
hakiri / mern-server-setup.md
Created June 6, 2023 17:55 — forked from bradtraversy/mern-server-setup.md
Setup Ubuntu & Deploy MERN app

Linux Server Setup & MERN App Deployment

These are the steps to setup an Ubuntu server from scratch and deploy a MERN app with the PM2 process manager and Nginx. We are using Linode, but you could just as well use a different cloud provider or your own machine or VM.

Create an account at Linode

Click on Create Linode

Choose your server options (OS, region, etc)

SSH Keys

@hakiri
hakiri / install virtualenv ubuntu 16.04.md
Created March 5, 2021 11:13 — forked from frfahim/install virtualenv ubuntu 16.04.md
How to install virtual environment on ubuntu 16.04

How to install virtualenv:

Install pip first

sudo apt-get install python3-pip

Then install virtualenv using pip3

sudo pip3 install virtualenv 
@hakiri
hakiri / wsl2-docker.md
Created November 17, 2020 12:21 — forked from ChristophShyper/wsl2-docker.md
Instruction how to set up WSL2 to work with Docker in Windows 10

On Windows 10 build 18917 or higher

Win / Enable WSL and VMP

PowerShell:

Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux
Enable-WindowsOptionalFeature -Online -FeatureName VirtualMachinePlatform

Win / Set WSL 2 as default

@hakiri
hakiri / README.md
Created September 11, 2020 01:06 — forked from cerebrate/README.md
Recompile your WSL2 kernel - support for snaps, apparmor, lxc, etc.

Recompile your WSL2 kernel - support for snaps, apparmor, lxc, etc.

Yes, I've done this, and yes, it works. It is, however, entirely unsupported and assembled through reasonable guesswork, so if you try this and it explodes your computer, brain, career, relationships, or anything else, you agree that you take sole responsibility for doing it, that I never claimed it was a good idea, and that you didn't get these instructions from me .

Also note: I have done this with Debian Stretch. While one kernel ought to fit all, some of the packages you need to build it may be different. Adapting to other distros is up to you.

Step One: Install the stuff you need to build the kernel

Keybase proof

I hereby claim:

  • I am kaspernissen on github.
  • I am phennex (https://keybase.io/phennex) on keybase.
  • I have a public key ASCvT6XAkcCOHs4E_HrSLXwh2EuXnITCDp0CaZ1FIeHD8go

To claim this, I am signing this object: