unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
* Non-root installs.
@ 2020-07-26  0:02 Diagon
  2020-07-27  9:15 ` Roel Janssen
  0 siblings, 1 reply; 3+ messages in thread
From: Diagon @ 2020-07-26  0:02 UTC (permalink / raw)
  To: help-guix

Hey all - I tried on IRC, but was told that this might be a better place.  I'm wondering if someone here has experience with a non-root install.  Optimally, is there by this point a guix-install.sh for non-root?  I know it's doable, eg: https://github.com/pjotrp/guix-notes/blob/master/GUIX-NO-ROOT.org 

I was able to get my sysadmin to create a writable /gnu, which I gather will allow me to install binaries, rather than recomplie everything, since I'll have the right path.  Now that I've read the install script, I see that it also uses /var/guix.  Do I need to ask for that, or is there a way around it, by putting it in /gnu/var, maybe?  I assume I can put /root/.config/guix in my home directory, but I also see we need a guixbuild group.  How can I get away without this and still run the server manually?

All input appreciated!
/D


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Non-root installs.
  2020-07-26  0:02 Non-root installs Diagon
@ 2020-07-27  9:15 ` Roel Janssen
  2020-09-25 13:03   ` Joshua Branson
  0 siblings, 1 reply; 3+ messages in thread
From: Roel Janssen @ 2020-07-27  9:15 UTC (permalink / raw)
  To: Diagon, help-guix

On Sat, 2020-07-25 at 17:02 -0700, Diagon wrote:
> Hey all - I tried on IRC, but was told that this might be a better
> place.  I'm wondering if someone here has experience with a non-root
> install.  Optimally, is there by this point a guix-install.sh for
> non-root?  I know it's doable, eg: 
> https://github.com/pjotrp/guix-notes/blob/master/GUIX-NO-ROOT.org 
> 
> I was able to get my sysadmin to create a writable /gnu, which I
> gather will allow me to install binaries, rather than recomplie
> everything, since I'll have the right path.  Now that I've read the
> install script, I see that it also uses /var/guix.  Do I need to ask
> for that, or is there a way around it, by putting it in /gnu/var,
> maybe?  I assume I can put /root/.config/guix in my home directory,
> but I also see we need a guixbuild group.  How can I get away without
> this and still run the server manually?
> 
> All input appreciated!
> /D

You can do "export GUIX_STATE_DIRECTORY=/gnu/profiles" to avoid using
/var/guix.

On our cluster install we have a shared /gnu filesystem across our
nodes, and we use one node on which "guix-daemon" runs as root.

On the other nodes we set the following:
export GUIX_DAEMON_SOCKET=guix://<address>:<port>

That way, you can isolate the "guix-daemon" node, which makes it more
reasonable because now you only need super user privileges on a
specific (isolated) node.

For single-machine instances I don't know how to make this work.

Kind regards,
Roel Janssen



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Non-root installs.
  2020-07-27  9:15 ` Roel Janssen
@ 2020-09-25 13:03   ` Joshua Branson
  0 siblings, 0 replies; 3+ messages in thread
From: Joshua Branson @ 2020-09-25 13:03 UTC (permalink / raw)
  To: Roel Janssen; +Cc: Diagon, help-guix


This blog post may help you:

https://hpc.guix.info/blog/2017/10/using-guix-without-being-root/

You could also email

guix-hpc@gnu.org  (high performance computing).

Or check out the guix science mailing list.

https://lists.gnu.org/mailman/listinfo/guix-science

I hope that helps!

--
Joshua Branson
Sent from Emacs and Gnus
https://gnucode.me
"You can have whatever you want, as long as you help enough other people
get what they want." - Zig Ziglar


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-09-25 13:12 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-26  0:02 Non-root installs Diagon
2020-07-27  9:15 ` Roel Janssen
2020-09-25 13:03   ` Joshua Branson

unofficial mirror of help-guix@gnu.org 

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://yhetil.org/guix-user/0 guix-user/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 guix-user guix-user/ https://yhetil.org/guix-user \
		help-guix@gnu.org
	public-inbox-index guix-user

Example config snippet for mirrors.
Newsgroups are available over NNTP:
	nntp://news.yhetil.org/yhetil.gnu.guix.user
	nntp://news.gmane.io/gmane.comp.gnu.guix.user


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git