Install NixOS on Rackspace Cloud Servers: Difference between revisions

imported>Fadenb
m Syntax highlighting
Klinger (talk | contribs)
 
(2 intermediate revisions by 2 users not shown)
Line 11: Line 11:
You'll need bzip2 later. Also, you'll need to set up some group permissions so NixOS can install properly:
You'll need bzip2 later. Also, you'll need to set up some group permissions so NixOS can install properly:


<syntaxhighlight lang="bash">
<syntaxhighlight lang="console">
$ apt-get update && apt-get install bzip2
$ apt-get update && apt-get install bzip2
$ addgroup nixbld && adduser --disabled-password nixbld0 && usermod -a -G nixbld nixbld0
$ addgroup nixbld && adduser --disabled-password nixbld0 && usermod -a -G nixbld nixbld0
Line 58: Line 58:
and mount the new ones we made:
and mount the new ones we made:


<syntaxhighlight lang="bash">
<syntaxhighlight lang="console">
$ mount /dev/xvdb1 /mnt && mkdir /mnt/boot
$ mount /dev/xvdb1 /mnt && mkdir /mnt/boot
</syntaxhighlight>
</syntaxhighlight>
Line 167: Line 167:


See [https://github.com/NixOS/nixpkgs/commit/6ebe4a6a523bbab3388453ac119ab08e295a7e06 this commit] for the fix.
See [https://github.com/NixOS/nixpkgs/commit/6ebe4a6a523bbab3388453ac119ab08e295a7e06 this commit] for the fix.
[[Category:Server]]
[[Category:Deployment]]