Enable Third Party Repositories on SmartOS
This (very) short tutorial will show how to enable third party repositories on SmartOS.
SmartOS supports AMD Ryzen and AMD Epyc CPUs since a while back, in addition to the long supported Intel CPUs, such as the Intel Xeon.
Changing repositories is useful for European users of SmartOS, since their Manta storage is located in US East, and can be quite slow for European users.
This article assumes you have a working SmartOS host and that you are logged in as root
, and will use the datasets.at repository as an example.
Enable Third Party Repository
First, let’s enable the third party repository (in this example, http://datasets.at
):
# imgadm sources -a http://datasets.at/
Then, disable the Joyent repository:
# imgadm sources -d https://images.joyent.com
Finally, update the image cache on your server:
# imgadm update
Revert to Joyent Repository
To revert to the officle Joyent repository, add the official Joyent repository again:
# imgadm sources -a https://images.joyent.com
Then, remove the datasets.at
repository used in this tutorial:
# imgadm sources -d http://datasets.at/
Finally, update the image cache on your server:
# imgadm update
Further Reading
If you’re interested in learning more about SmartOS (which you can download here), illumos and Solaris in general, here are some link and book recommendations:
- SmartOS documentation
- illumos documentation
- Oracle Solaris 11.2 System Administration Handbook – Knowledge which can be applied to SmartOS and illumos as well
- Introducing ZFS on Linux: Understand the Basics of Storage with ZFS
Do you know of any other third party repositories for SmartOS? Let us know on Twitter, @luncomp, and we’ll build a list of repositories in this post! 😀