Install NixOS on Rackspace Cloud Servers: Difference between revisions
imported>Fadenb m Syntax highlighting |
imported>Fadenb m →Install some necessary stuff: use correct syntax highlight language |
||
| 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=" | <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=" | <syntaxhighlight lang="console"> | ||
$ mount /dev/xvdb1 /mnt && mkdir /mnt/boot | $ mount /dev/xvdb1 /mnt && mkdir /mnt/boot | ||
</syntaxhighlight> | </syntaxhighlight> | ||