Last active
October 7, 2022 10:32
-
-
Save Axeltherabbit/878750dd9680a64a55140f3d88c01cda to your computer and use it in GitHub Desktop.
Riak for WSL with systemd
This file contains 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
# this is for WSL ubuntu 20 | |
# enable systemd and reboot windows https://devblogs.microsoft.com/commandline/systemd-support-is-now-available-in-wsl/ | |
curl -fsSL https://packages.erlang-solutions.com/ubuntu/erlang_solutions.asc | sudo gpg --dearmor -o /etc/apt/trusted.gpg.d/erlang.gpg | |
echo "deb https://packages.erlang-solutions.com/ubuntu focal contrib" | sudo tee /etc/apt/sources.list.d/erlang-solution.list | |
sudo apt update | |
sudo apt upgrade | |
sudo apt-get install build-essential libc6-dev-i386 git cmake make ubuntu-dev-tools erlang curl software-properties-common apt-transport-https lsb-release libpam0g-dev debhelper | |
sudo update-alternatives --set fakeroot /usr/bin/fakeroot-tcp # workaround to fix wsl fakeroot problem | |
git clone https://github.com/basho/riak.git | |
cd riak | |
make package RELEASE=1 | |
sudo dpkg -i rel/pkg/packages/FILLTHISWITHTHEDOTDEBFILE |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment