Say you have a fresh new install of Ubuntu Server, the regular edition not core, what are all the commands you run to prepare for and install a precompiled binary from the main Mimblewimble Releases section on github?
This is a dupe thread of a previous on I made but I’m still stuck on this digging through old notes and guides that I thought should still work.
So new brainstorming thread. At a bare minimum to say that there is still a pulse in this community we have got to be able to at least figure this out.
For a fresh linux server it is pretty simple - you do not need any extra packages for pre-compiled grin-node and wallet. Just download sources from grin.mw github Repo:
While we’re showering you with options, here is another. A simple ansible playbook. Just pop in your host/group and the SHA-512 hash of your desired password for the grin user and it’ll land grin and grin-wallet in the home folder. I monitor my solo mining so I run a mix of tmux and screen to keep my nodes quick to pull up and monitor.
hosts:
remote_user: root
tasks:
name: Create user grin
ansible.builtin.user:
name: grin
group: grin
password:
So I vaguely assume that the “tar -C /usr/local/bin -xzf” process is somehow supposed to register “grin” as a program that can be run from any context on the system, such as when I run it as my user account from my home directory. And if that’s true then this registration seems to be broken in the latest version.
@Yeastplume I’ll try to open a github issue for this unless you stop me here.
The grin window that launches still shows 5.2.0-beta.3 as the running version. So it doesn’t seem like tar extracting the new one over the top of a working old one does the trick either.
I’m looking at my pre-existing grin servers with grin already running as a service, and it looks like I’m using a .service file there that just contains this:
But this service file and process is not working for me now with current version grin installed. I may have messed something up in the attempts to install grin at the wrong folder level.
I see that there is a more complicated .service file example being recommended, but if I can get away with continuing to use the simple one I’d prefer to keep it.
I am not sure how these service files work, maybe since you use the simple approach it requires a directory with a single executable? You can make it like before, create a grin folder move the grin executable there using mkdir and mv.