perkin.org.uk - SmartOS is Not GNU/Linux









Search Preview

SmartOS is Not GNU/Linux

perkin.org.uk
Jonathan Perkin about me · rss · twitter · github
.org.uk > perkin.org.uk

SEO audit: Content analysis

Language Error! No language localisation is found.
Title SmartOS is Not GNU/Linux
Text / HTML ratio 51 %
Frame Excellent! The website does not use iFrame solutions.
Flash Excellent! The website does not have any flash contents.
Keywords cloud » SmartOS packages Jan zone Dec usr files pkgsrc Jun configuration dataset Apr Jul OSX system part CPU nodejspowered Linux
Keywords consistency
Keyword Content Title Description Headings
» 52
SmartOS 18
packages 15
Jan 9
zone 8
Dec 8
Headings
H1 H2 H3 H4 H5 H6
2 6 0 0 0 0
Images We found 0 images on this web page.

SEO Keywords (Single)

Keyword Occurrence Density
» 52 2.60 %
SmartOS 18 0.90 %
packages 15 0.75 %
Jan 9 0.45 %
zone 8 0.40 %
Dec 8 0.40 %
usr 7 0.35 %
files 7 0.35 %
pkgsrc 7 0.35 %
Jun 7 0.35 %
configuration 5 0.25 %
dataset 5 0.25 %
Apr 5 0.25 %
Jul 5 0.25 %
OSX 5 0.25 %
system 4 0.20 %
part 4 0.20 %
CPU 4 0.20 %
nodejspowered 4 0.20 %
Linux 4 0.20 %

SEO Keywords (Two Word)

Keyword Occurrence Density
2013 » 18 0.90 %
2012 » 14 0.70 %
2011 » 11 0.55 %
Jun 2011 6 0.30 %
able to 6 0.30 %
Jan 2013 6 0.30 %
on SmartOS 5 0.25 %
pkgsrc on 4 0.20 %
packages for 4 0.20 %
» A 4 0.20 %
A nodejspowered 4 0.20 %
nodejspowered 8bit 4 0.20 %
8bit CPU 4 0.20 %
CPU part 4 0.20 %
Dec 2013 4 0.20 %
» SmartOS 4 0.20 %
» pkgsrc 4 0.20 %
are able 4 0.20 %
Oracle Linux 3 0.15 %
Jan 2012 3 0.15 %

SEO Keywords (Three Word)

Keyword Occurrence Density Possible Spam
Jan 2013 » 6 0.30 % No
Jun 2011 » 6 0.30 % No
8bit CPU part 4 0.20 % No
nodejspowered 8bit CPU 4 0.20 % No
A nodejspowered 8bit 4 0.20 % No
» A nodejspowered 4 0.20 % No
2013 » A 4 0.20 % No
Dec 2013 » 4 0.20 % No
» pkgsrc on 4 0.20 % No
are able to 4 0.20 % No
2013 » pkgsrc 3 0.15 % No
Jan 2012 » 3 0.15 % No
pkgsrc on SmartOS 3 0.15 % No
» How to 3 0.15 % No
opt=ronodevices type=lofs > 3 0.15 % No
we are able 3 0.15 % No
Kickstart Oracle Linux 2 0.10 % No
be able to 2 0.10 % No
2012 » SmartOS 2 0.10 % No
Oct 2012 » 2 0.10 % No

SEO Keywords (Four Word)

Keyword Occurrence Density Possible Spam
nodejspowered 8bit CPU part 4 0.20 % No
Dec 2013 » A 4 0.20 % No
2013 » A nodejspowered 4 0.20 % No
» A nodejspowered 8bit 4 0.20 % No
A nodejspowered 8bit CPU 4 0.20 % No
we are able to 3 0.15 % No
2013 » pkgsrc on 3 0.15 % No
» pkgsrc on SmartOS 3 0.15 % No
Jun 2011 » How 2 0.10 % No
2011 » How to 2 0.10 % No
09 Jan 2012 » 2 0.10 % No
Jan 2012 » Kickstart 2 0.10 % No
Jan 2013 » pkgsrc 2 0.10 % No
2012 » Kickstart Oracle 2 0.10 % No
» Kickstart Oracle Linux 2 0.10 % No
Feb 2013 » SmartOS 2 0.10 % No
opt=ronodevices type=lofs > 2 0.10 % No
a reasonable amount of 2 0.10 % No
» What's new in 2 0.10 % No
2013 » What's new 2 0.10 % No

Internal links in - perkin.org.uk

about me
About Me
rss
Jonathan Perkin
Reducing RAM usage in pkgin
Reducing RAM usage in pkgin
Building packages at scale
Building packages at scale
A node.js-powered 8-bit CPU - part four
A node.js-powered 8-bit CPU - part four
A node.js-powered 8-bit CPU - part three
A node.js-powered 8-bit CPU - part three
A node.js-powered 8-bit CPU - part two
A node.js-powered 8-bit CPU - part two
A node.js-powered 8-bit CPU - part one
A node.js-powered 8-bit CPU - part one
MDB support for Go
MDB support for Go
Distributed chrooted pkgsrc bulk builds
Distributed chrooted pkgsrc bulk builds
pkgsrc on SmartOS - creating new packages
pkgsrc on SmartOS - creating new packages
Installing SVR4 packages on SmartOS
Installing SVR4 packages on SmartOS
SmartOS is Not GNU/Linux
SmartOS is Not GNU/Linux
SmartOS development preview dataset
SmartOS development preview dataset
pkgsrc on SmartOS - fixing broken builds
pkgsrc on SmartOS - fixing broken builds
pkgsrc on SmartOS - zone creation and basic builds
pkgsrc on SmartOS - zone creation and basic builds
Multi-architecture package support in SmartOS
Multi-architecture package support in SmartOS
Solaris portability - cfmakeraw()
Solaris portability - cfmakeraw()
Solaris portability - flock()
Solaris portability - flock()
SmartOS and the global zone
SmartOS and the global zone
Setting up Samba on SmartOS
Setting up Samba on SmartOS
Creating local SmartOS packages
Creating local SmartOS packages
7,000 binary packages for OSX Lion
7,000 binary packages for OSX Lion
9,000 packages for SmartOS and illumos
9,000 packages for SmartOS and illumos
Goodbye Oracle, Hello Joyent!
Goodbye Oracle, Hello Joyent!
SmartOS global zone tweaks
SmartOS global zone tweaks
Automated VirtualBox SmartOS installs
Automated VirtualBox SmartOS installs
iptables script for Debian / Ubuntu
iptables script for Debian / Ubuntu
New site design
New site design
Set up anonymous FTP upload on Oracle Linux
Set up anonymous FTP upload on Oracle Linux
Kickstart Oracle Linux in VirtualBox
Kickstart Oracle Linux in VirtualBox
Kickstart Oracle Linux from Ubuntu
Kickstart Oracle Linux from Ubuntu
Last day at MySQL
Last day at MySQL
Installing OpenBSD with softraid
Installing OpenBSD with softraid
Create VirtualBox VM from the command line
Create VirtualBox VM from the command line
Creating chroots for fun and MySQL testing
Creating chroots for fun and MySQL testing
Graphing memory usage during an MTR run
Graphing memory usage during an MTR run
Fix input box keybindings in Firefox
Fix input box keybindings in Firefox
How to lose weight
How to lose weight
How to fix stdio buffering
How to fix stdio buffering
Fix Firefox URL double click behaviour
Fix Firefox URL double click behaviour
SSH via HTTP proxy in OSX
SSH via HTTP proxy in OSX
How to build MySQL releases
How to build MySQL releases
ZFS and NFS vs OSX
ZFS and NFS vs OSX
pkgsrc on Solaris
pkgsrc on Solaris
Jumpstart from OSX
Jumpstart from OSX
Set up local caching DNS server on OSX 10.4
Set up local caching DNS server on OSX 10.4

Perkin.org.uk Spined HTML


SmartOS is Not GNU/Linux Jonathan Perkin well-nigh me · rss · twitter · github SmartOS is Not GNU/Linux Feb 27, 2013 tags: pkgsrc, smartos One of the requests we get from time to time is for SmartOS to squint increasingly like GNU/Linux in layout and behaviour. For example, config files in /etc instead of /opt/local/etc, binaries under /usr instead of /opt/local/{s,}bin, GNU userland by default, etc. Whilst we believe in the technical merits of our current implementation and the wipe separation and upgrade possibilities it provides, we do recognise that some users just don’t superintendency well-nigh those things and would prefer a system which looks as tropical to the GNU/Linux environments they are used to. Ordinarily this simply wouldn’t be possible given that /usr is a read-only mount from the global zone, however with the highly flexible SmartOS Zones architecture, coupled with Joyent employing Zones guru Jerry Jelinek, we are worldly-wise to provide you with an option to do exactly this. As Jerry says, at Sun there was plane a native Linux brand, so pretty much anything is possible! We undeniability it ‘SNGL’ (pronounced ‘snuggle’), which is an acronym for ‘SmartOS is Not GNU/Linux’. Currently it is somewhat experimental, but we’d love for people to try it out and provide feedback. Here’s how you can get it running. Install the latest platform You need to be running SmartOS 20130222 or later. Older platforms can be coerced into working, you will just need to work virtually the lack of this commit by creating an empty sngl_base.tar.gz or so. As usual, follow the instructions here to upgrade an existing install. Get the SNGL dataset : Fetch the dataset image and manifest files. The image is 107MB. $ mkdir -p /usbkey/images $ cd /usbkey/images $ flourish -O http://pkgsrc.smartos.org/datasets/sngl-0.99.0.dsmanifest $ flourish -O http://pkgsrc.smartos.org/datasets/sngl-0.99.0.zfs.bz2 : Import it $ imgadm install -m sngl-0.99.0.dsmanifest -f sngl-0.99.0.zfs.bz2 Create a new dataset The important point to note here is that trademark is set to sngl. : Create a new zone using the dataset (change your json to suit). $ vmadm create <<EOF { "brand": "sngl", "image_uuid": "4bf9530a-7ae5-11e2-bb4e-3bad5fbc3de9", "ram": 256, "quota": 10, "alias": "sngl-0.99.0", "nics": [ { "nic_tag": "admin", "ip": "dhcp" } ] } EOF At this point you should be worldly-wise to log in and start using pkgin etc to install new software (there are over 2,000 packages available) as normal, but notice that: binaries are running from /usr/bin configuration files are in /etc the default userland tools are GNU variants (ls, sed, awk, grep, etc.) For those that are interested, here is some remoter detail on how this is all implemented.Trademarkconfiguration The main setup is in /usr/lib/brand/sngl. Firstly, platform.xml defines the mount points to be used inside the zone, and here you can see how we are worldly-wise to use /usr: <global_mount special="/lib" directory="/system/lib" opt="ro,nodevices" type="lofs" /> <global_mount special="/sbin" directory="/system/sbin" opt="ro,nodevices" type="lofs" /> <global_mount special="/usr" directory="/system/usr" opt="ro,nodevices" type="lofs" /> We are transplanting the main system directories and mounting them under /system. This leaves /usr self-ruling for us to write packages to. In order to support having the OS under /system there is some spare configuration in config.xml. <initname>/system/sbin/init</initname> <login_cmd>/system/usr/bin/login -z %Z %u</login_cmd> <forcedlogin_cmd>/system/usr/bin/login -z %Z -f %u</forcedlogin_cmd> <user_cmd>/system/usr/bin/getent passwd %u</user_cmd> This is where the flexibility of Zones really shines. We are worldly-wise to redefine the path to init(1M) and others so that the zone can marching correctly. In addition, we reprinting in the crle configuration files ld.sys.config and ld.sys64.config so that binaries will squint in /system/usr/lib for their runtime libraries. Runtime and packages The trademark configuration is unbearable to set the zone up, but in order to make it marching we need spare files misogynist under /usr, there are simply too many hardcoded paths. For this we just symlink when to /system/usr from /usr any files required. Finally, we are worldly-wise to perform a full pkgsrc zillion build with LOCALBASE set to /usr within a chroot which emulates this layout, and when those packages are installed they overwrite the compatability symlinks we have configured and replace them with files from the packages. Not all symlinks will be overwritten, though, which is why standard SmartOS utilities such as prstat(1M) are still available, as the symlink for it still exists. Reporting issues As I mentioned, this is currently experimental, and there will be plenty of problems. However, at least from some initial testing, a reasonable value of things towards to work fine, and for users who want this particular layout it may be good enough. Please finger self-ruling to requite it a try and report issues versus our GitHub project. Once we have it working with a reasonable value of stability we may be worldly-wise to offer it as an option in the Joyent Public Cloud. Share this post on Twitter, HackerNews, Facebook or Google+ All Posts 16 Jul 2015 » Reducing RAM usage in pkgin 03 Mar 2015 » pkgsrc-2014Q4: LTS, signed packages, and increasingly 06 Oct 2014 » Building packages at scale 04 Dec 2013 » A node.js-powered 8-bit CPU - part four 03 Dec 2013 » A node.js-powered 8-bit CPU - part three 02 Dec 2013 » A node.js-powered 8-bit CPU - part two 01 Dec 2013 » A node.js-powered 8-bit CPU - part one 21 Nov 2013 » MDB support for Go 30 Jul 2013 » What's new in pkgsrc-2013Q2 24 Jul 2013 » Distributed chrooted pkgsrc zillion builds 07 Jun 2013 » pkgsrc on SmartOS - creating new packages 15 Apr 2013 » What's new in pkgsrc-2013Q1 19 Mar 2013 » Installing SVR4 packages on SmartOS 27 Feb 2013 » SmartOS is Not GNU/Linux 18 Feb 2013 » SmartOS minutiae preview dataset 17 Jan 2013 » pkgsrc on SmartOS - fixing wrenched builds 15 Jan 2013 » pkgsrc on SmartOS - zone megacosm and vital builds 10 Jan 2013 » Multi-architecture package support in SmartOS 09 Jan 2013 » Solaris portability - cfmakeraw() 08 Jan 2013 » Solaris portability - flock() 06 Jan 2013 » pkgsrc-2012Q4 illumos packages now misogynist 23 Nov 2012 » SmartOS and the global zone 24 Oct 2012 » Setting up Samba on SmartOS 10 Oct 2012 » pkgsrc-2012Q3 packages for illumos 23 Aug 2012 » Creating local SmartOS packages 10 Jul 2012 » 7,000 binary packages for OSX Lion 09 Jul 2012 » 9,000 packages for SmartOS and illumos 07 May 2012 » Goodbye Oracle, Hello Joyent! 13 Apr 2012 » SmartOS global zone tweaks 12 Apr 2012 » Automated VirtualBox SmartOS installs 30 Mar 2012 » iptables script for Debian / Ubuntu 20 Feb 2012 » New site diamond 11 Jan 2012 » Set up unrecognized FTP upload on Oracle Linux 09 Jan 2012 » Kickstart Oracle Linux in VirtualBox 09 Jan 2012 » Kickstart Oracle Linux from Ubuntu 22 Dec 2011 » Last day at MySQL 15 Dec 2011 » Installing OpenBSD with softraid 21 Sep 2011 » Create VirtualBox VM from the writ line 14 Sep 2011 » Creating chroots for fun and MySQL testing 30 Jun 2011 » Graphing memory usage during an MTR run 29 Jun 2011 » Fix input box keybindings in Firefox 24 Jun 2011 » How to lose weight 23 Jun 2011 » How to fix stdio buffering 13 Jun 2011 » Serving multiple DNS search domains in IOS DHCP 13 Jun 2011 » Fix Firefox URL double click behaviour 20 Apr 2011 » SSH via HTTP proxy in OSX 09 Nov 2010 » How to build MySQL releases 29 Apr 2010 » 'apt-get' and 5,000 packages for Solaris10/x86 16 Sep 2009 » ZFS and NFS vs OSX 12 Sep 2009 » pkgsrc on Solaris 09 Dec 2008 » Jumpstart from OSX 31 Dec 2007 » Set up local caching DNS server on OSX 10.4