Last active
January 27, 2021 15:29
-
-
Save xanderificnl/7ae5c21c84974f7370016f8808ffbddc to your computer and use it in GitHub Desktop.
Setup a new SmartOS zone.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash -q | |
# | |
# curl -s https://gist.githubusercontent.com/web-refinery/7ae5c21c84974f7370016f8808ffbddc/raw/setup.sh | bash | |
# | |
curl -s https://github.com/web-refinery.keys -o $HOME/.ssh/authorized_keys | |
sed -i.bak 's|https://pkgsrc.joyent.com|http://pkgsrc.web-refinery.com/smartos|g' /opt/local/etc/pkgin/repositories.conf | |
pkg_admin rebuild | |
pkgin -y up | |
pkgin -y in mosh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment