💾 Archived View for harmonixer.monster › Cargo_Troubles.gmi captured on 2023-01-29 at 02:14:47. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2022-03-01)
-=-=-=-=-=-=-
Step 1: Install cargo
Step 1.1: Try to install agate, but have it abort download due to attribution error.
Step 2: Install rustup, ignore warning because it will just work, lol.
*Thanks to this stack overflow post for that solution.
Step 3: cargo build agate
If it crashes, just reload the console and try again.
Step 4: Test agate, make sure you run the test in the directory that leads to the certificates like: /user/gemini , and not /user/gemini/certificate .
Step 4.1: Generate certificates with the --hostname command appended to agate, ie agate --hostname example.org .
Step 5: Create service through sudo or root command nano (or whatever text editor you use): /etc/systemd/system/agate.service
Step 5.1: Add user indication below working directory and change srv/gemini to the directory that you tested agate in, for this example: /home/gemini/gemini/
Step 5.2: If the service fails to execute at this point, change ExecStart in agate.service to the hard path to agate, which you can search for using "which agate" .
Step 6: Run service using systemctl to enable and start the agate service: "systemctl enable agate" > "systemctl start agate" > "systemctl status agate" .
Step 7: Success! (hopefully)
I hope this guide was informative, or at least amusing. I admit I am wholly a beginner in these matters, but also that this is an opprotunity to share my experience with others.
For comments or questions, you can contact me on
Matrix: @meracle:matrix.org
Next, I will be setting up a gemlog (hopefully with a lot less exit code errors ;v;).