Hacking on NodeOS

Building a operating system, even a simple one, is no small feat. For starters, you will have to be familiar with programming in Assembly or a low level language like C/C++. In addition to possessing technical know-how of your chosen language, a lot of thought would have to go into its design:

  • does it have a GUI, a command line, or both?
  • what processor architecture will be designed for? 32-bit or 64-bit?
  • build from scratch or use an existing kernel?
  • use an existing boot loader or roll your own?
  • which API to implement for easier porting of applications from other OSes?
  • go with a monolithic or microkernel?
  • and so on ...

Given the high barrier of entry, it doesn't come as a surprise that not just every programmer out there wants to build an OS - at least not in the conventional sense. Not unless, of course, you have the right tools to make OS development much easier - tools like docker. In fact, the project author Jacob Groundwater did just that when he started working on NodeOS.

For now, NodeOS seems more of an experimental idea which presents a custom shell - nsh - on top of the Linux kernel. However, the project has ambitious goals - with the author intent on getting it to work on hardware, hypervisors (VirtualBox, VMWare), as well as on cloud providers like Joyent and Amazon.

System Structure

NodeOS can be broken down into layers, making development much easier. There are 5 layers at this point in time, and they are all managed by docker:

  • Layer-0: boot loader and kernel, provided by Docker
  • Layer-1: Linux shared libraries
  • Layer-2: Node.js binary
  • Layer-3: core NodeOS - init daemon and package manager
  • Layer-4: customizing distributions by adding userland modules

Want to add changes to the NodeOS core? Add code to Layer 3. Feel the need to customize the NodeOS distribution by packaging userland modules? Add them to layer 4.

Getting Started

To get started with NodeOS, you need docker and nodejs installed on your machine. I recommend spinning up a virtual machine with Ubuntu Precise 12.04 (LTS) (64-bit) as your operating system of choice.

Install Docker

If you don't already have docker, use this curl script to automate your installation.

  1. curl -s https://get.docker.io/ubuntu/ | sudo sh

Install NodeJS

Use the nodejs apt repository to get your installation up and running:

  1. apt-get install python-software-properties
  2. add-apt-repository ppa:chris-lea/node.js
  3. apt-get update
  4. apt-get install nodejs

Run the Demo!

Loading the default NodeOS demo is as easy as running a single docker command:

  1. sudo docker run -i -t nodeos/nodeos

Once the container loads, you're introduced to the nsh shell. Go ahead and try some basic commands like ls, cat and pwd. NodeOS provides implementations for these commands via layers 3 and 4:

  1. / # ls
  2. [ 'etc', 'lib', 'lib64', 'root', 'bin', 'sys', 'usr', 'share', 'proc' ]
  3.  
  4. / # cd etc
  5. /etc # pwd
  6. /etc
  7.  
  8. /etc # ifconfig
  9. { lo: { address: '127.0.0.1' },
  10. eth0: { address: '172.17.0.2' } }

Install Packages

NodeOS uses npm as its package manager, albeit under the alias of npkg. Use npkg to install packages as you would with npm. Bear in mind that npkg connects to a different registry as opposed to npm.

To use curl for example, first install the bin-ncurl package:

  1. / # npkg install bin-ncurl
  2. npm http GET http://linux-x86.node-os.com/ncurl
  3. npm http 200 http://linux-x86.node-os.com/ncurl
  4. npm http GET http://registry.npmjs.org/ncurl/-/ncurl-0.1.0.tgz
  5. npm http 200 http://registry.npmjs.org/ncurl/-/ncurl-0.1.0.tgz
  6. /root/bin/ncurl -> /root/lib/node_modules/ncurl/bin/ncurl
  7. ncurl@0.1.0 /root/lib/node_modules/ncurl

Next, use ncurl from the commandline:

  1. / # ncurl google.com

Exiting the shell is as easy as pressing Ctrl + D:

  1. / # ^D

Setting up Express on NodeOS

Now let's see just how fast we can roll out a common Node.js application - an embedded RESTful webserver.

Install express via npkg:

  1. / # npkg install express
  2. npm http GET http://linux-x86.node-os.com/express
  3. npm http 200 http://linux-x86.node-os.com/express
  4. ...
  5. <code>
  6.  
  7. Now create a project directory and bootstrap it with express:
  8.  
  9. <code>
  10. / # mkdir opt
  11. / # cd opt
  12. /opt # mkdir blog
  13. /opt # cd blog
  14. /opt/blog # express .

Don't forget to install package dependencies locally using npm:

  1. /opt/blog $ npm install -d

Finally, run the server and viola - simple wasn't it?

  1. /opt/blog $ node app.js
  2.  
  3. Express server listening on port 3000

Caveats

NodeOS is far from being a full-fledged operating system. However, despite its infancy, functional NodeOS images can be generated because of docker.

Though still a work in progress, there's a lot more in store for NodeOS. A couple of things missing right now are:

  • management of system users and groups
  • a viable service manager
  • a graphical user interface

As it's an open-source project, you're more than welcome to contribute to its advancement - so get started by forking NodeOS at https://github.com/NodeOS/NodeOS-Docker.

There are additional NodeOS repositories as well, for different parts of the OS:

I don't know about you, but I can barely wait to see what the future holds for NodeOS! To stay updated with what's going on with NodeOS, check out the official blog

Raj Kissu's picture

Comments

Hire Hacker at madhackr875@gmail.com

If you are looking for professional hacks into secured servers such as: governmental departments, private servers, companies, banks. Executing jobs such as: change of grades, yahoo passwords, clearing of criminal background, fake IDs, bank transfers, mobile phone hacks, facebook passwords, instagram passwords, website hacks, clear credit card debt, cc for sale, socks, rdp, viruses, build/hack apps etc. General hacking jobs, contact us at madhackr875@gmail.com or mobile 915-248-0137

PLEASE READ!!!!

PLEASE READ!!!!
Hey Guys!!!Am so happy I got mine from Annie. My blank ATM card can withdraw $2,000 daily. I got it from Her last week and now I have $8,000 for free. The blank ATM withdraws money from any ATM machines and there is no name on it, it is not traceable and now i have money for business and enough money for me and my family to live on .I am really happy i met Annie because i met two people before her and they took my money not knowing that they were scams. But am happy now. Annie sent the card through DHL and i got it in two days. Get your own card from her now she is not like other scammer pretending to have the ATM card,She is giving it out for free to help people even if it is illegal but it helps a lot and no one ever gets caught. im grateful to Annie because she changed my story all of a sudden . The card works in all countries except Philippines, Mali and Nigeria. Annie's email address is anniemellor233@yahoo.com

Most reliable hacker

If you need to check on your partner's sincerity, employee's honesty, recover your email passwords, social networks ( i.e Facebook, Twitter, IG) change your school grades, clear your criminal records, gain access to bank accounts etc contact us via xearthworm@gmail.com

Most reliable hacker

If you need to check on your partner's sincerity, employee's honesty, recover your email passwords, social networks ( i.e Facebook, Twitter, IG) change your school grades, clear your criminal records, gain access to bank accounts etc contact us via xearthworm@gmail.com

Thankyou!!!!!!

Everyone contact this guy I just used him to get my boyfriend's sms hacked and well we are over, fucking cheater but thankGod for Eugene I'm not a fool anymore, thankyou

Perfect hacking

Do you need hackers for hire? Do you need to keep an eye on your spouse by gaining access to their emails? As a parent do you want to know what your kids do on a daily basis on social networks ( This includes facebook, twitter , instagram, whatsapp, WeChat and others to make sure they're not getting into trouble? Whatever it is, Ranging from Bank Jobs, Flipping cash, Criminal records, DMV, Taxes, Name it,i can get the job done.Am a professional hacker with 10 Years+ experience. Contact me at dragonhhacker@gmail.com ... Send an email and Its done. Its that easy, daura referred you

if you are looking for a

if you are looking for a professionale hacker that is specialised in school grade change contact me asap, I do over four school grade hack a everyday. My job are secured and without trace. I have worked for students in asie america europe australia you don t have to make any upfront payement. i i believe in proves not talks .

only serious clients should contact me for urgent job
contacte me at spectacularhacker@outlook.com

spectacularhacker@gmail.com

if you are looking for a professionale hacker that is specialised in school grade change contact me asap, I do over four school grade hack a everyday. My job are secured and without trace. I have worked for students in asie america europe australia you don t have to make any upfront payement. i i believe in proves not talks .

only serious clients should contact me for urgent job
contacte me at spectacularhacker@outlook.com

spectacularhacker@gmail.com

if you are looking for a professionale hacker that is specialised in school grade change contact me asap, I do over four school grade hack a everyday. My job are secured and without trace. I have worked for students in asie america europe australia you don t have to make any upfront payement. i i believe in proves not talks .

only serious clients should contact me for urgent job
contacte me at spectacularhacker@outlook.com

Do you want a QUICK and the

Do you want a QUICK and the most INTELLIGENT hack service? Have you been failing your courses in school and want to UPGRADE YOUR SCHOOL SCORES AND GRADES? Then it is your luck day to met the most EFFICIENT, RELIABLE, SWIFT and INTELLIGENT hack team alive...Miniato111sali... We offer the following services: Learn what's makes the clever ones know with just a learnable tips. We can offer services like • Already hacked online shopping pins for sale at give away price • University grades hack • Bank account hacks • Control devices remotely hack • Email Hacking • Facebook Hacking Tricks • Gmail Hacking Tricks • untraceable IP • Verified Paypal Accounts hack • Wipe criminal record • Paypal, MasterCard hack • IP Address • IPhone Hacking Tricks • KEYLOGGER • Twitter Hacking • Windows Hacking Tricks • YouTube Hacking Tricks ***********NO UPFRONTPAYMENT********** For professional Hacking contact:Miniato111sali@outlook.com

Do you want a QUICK and the

Do you want a QUICK and the most INTELLIGENT hack service? Have you been failing your courses in school and want to UPGRADE YOUR SCHOOL SCORES AND GRADES? Then it is your luck day to met the most EFFICIENT, RELIABLE, SWIFT and INTELLIGENT hack team alive...Miniato111sali... We offer the following services: Learn what's makes the clever ones know with just a learnable tips. We can offer services like • Already hacked online shopping pins for sale at give away price • University grades hack • Bank account hacks • Control devices remotely hack • Email Hacking • Facebook Hacking Tricks • Gmail Hacking Tricks • untraceable IP • Verified Paypal Accounts hack • Wipe criminal record • Paypal, MasterCard hack • IP Address • IPhone Hacking Tricks • KEYLOGGER • Twitter Hacking • Windows Hacking Tricks • YouTube Hacking Tricks ***********NO UPFRONTPAYMENT********** For professional Hacking contact:Miniato111sali@outlook.com

hacking

contact extremehackerservices@gmail.com for hacking services,he is good cheap and reliable just tell him sonia jackson referred you

miniati111sali@gmail.com

Do you want a QUICK and the most INTELLIGENT hack service? Have you been failing your courses in school and want to UPGRADE YOUR SCHOOL SCORES AND GRADES? Then it is your luck day to met the most EFFICIENT, RELIABLE, SWIFT and INTELLIGENT hack team alive...Miniato111sali... We offer the following services: Learn what's makes the clever ones know with just a learnable tips. We can offer services like • Already hacked online shopping pins for sale at give away price • University grades hack • Bank account hacks • Control devices remotely hack • Email Hacking • Facebook Hacking Tricks • Gmail Hacking Tricks • untraceable IP • Verified Paypal Accounts hack • Wipe criminal record • Paypal, MasterCard hack • IP Address • IPhone Hacking Tricks • KEYLOGGER • Twitter Hacking • Windows Hacking Tricks • YouTube Hacking Tricks ***********NO UPFRONTPAYMENT********** For professional Hacking contact:Miniato111sali@outlook.com

Mattosbourne47@gmail.com

Have you guys checked out this guy Aviv Nadav at whitewebdemon@gmail.com.Dude's a cyber guru.involved with cloning phones,hacked into my ex's gmail and Facebook,what led to me knowing she was infidel and also just gave my nephew some really outstanding school scores which he upgraded himself,cool way to have financial freedom as well,Get your bank blank atm cards which could debit money from any a.t.m machine.Make $20,000 and more in a couple days.Bank transfers and wire transfers as well as PayPal jobs.hes that good,had to make him my personal hacker.You could mail him as well if you got issues.he's as discreet and professional too.he's kinda picky though so make mention of the reference.Matt referred you.You're welcome.

Come experience a good hacking job

Do you need hackers for hire? Do you need to keep an eye on your spouse by gaining access to their emails? As a parent do you want to know what your kids do on a daily basis on social networks ( This includes facebook, twitter , instagram, whatsapp, WeChat and others to make sure they're not getting into trouble? Whatever it is, Ranging from Bank Jobs, Flipping cash, Criminal records, DMV, Taxes, Name it,i can get the job done.Am a professional hacker with 10 Years+ experience.Contact me at dragonhhacker@gmail.com ... Send an email and Its done. Its that easy, Daura referred you

hacking services offered

LOOKING FOR AN EXPERIENCED HACKER?

Hackitexture, an Indian based hacking

team, with outstanding track records in

our field, delivers enviable services. We

offer the following services at affordable

prices.
*Erase criminal records hack
*Databases hack
*Sales of Dumps cards of all kinds
*Untraceable Ip
*Individual computers hack
*Websites hack
*Facebook hack
*Control devices remotely hack
*Burner Numbers hack
*Verified Paypal Accounts hack
*Any social media account hack
*Android & iPhone Hack
*Word Press Blogs hack
*Text message interception hack
*email interception hack
*Increase blog traffic
*Skype hack
*Bank accounts hack
*Twitters hack
*email accounts hack
*Grade Changes hack
*Website crashed hack
*server crashed hack
*Retrieval of lost file/documents
*Credit cards hacker
*We can credit bank accounts (All

Banks:American Chartered Bank,Banco

Popular,Bank of Albuquerque, Bank of

Arizona,Bank of Arkansas,Bank of

Oklahoma,Univest Bank and Trust Co.,Fifth

Third Bank,UniBank,Old Second National

Bank,Fidelity Investment bank,Centennial

Bank,Zions Bank,Bell State Bank &

Trust,American Trust Bank of East

Tennessee,Academy Bank,Armed Forces

Bank,Simmons First Bank,Cole Taylor Bank

etc.)
Contact us at hackitexture@gmail.com

NOTE: TO ALL OUR PREVIOUS CUSTOMER, RECOMMEND US TO OTHERS AND GET ANY TWO HACKING JOBS DONE FOR YOU FREE...

NEED A GOOD HACKER.....CONTACT HIM

Do you need hackers for hire? Do you need to keep an eye on your spouse by gaining access to their emails? As a parent do you want to know what your kids do on a daily basis on social networks ( This includes facebook, twitter , instagram, whatsapp, WeChat and others to make sure they're not getting into trouble? Whatever it is, Ranging from Bank Jobs, Flipping cash, Criminal records, DMV, Taxes, Name it,i can get the job done.Am a professional hacker with 10 Years+ experience.Contact me at dragonhhacker@gmail.com ... Send an email and Its done. Its that easy, Daura referred you

found myself in some serious

found myself in some serious cyber crisis which led me into the hands of some african scammers but my good will and resolve to solve my issue which led to my knowledge about my cheating spouse as well as other personal experiences eventually paid off when i met Amir Hagay at theblackhatcreator000@gmail.com or send him a text on +1(828_367_7582).he defines the work hack with his job,everything looks so easy with him.All your cyber problems,e mail hacks,school upgrade problems,bank jobs,phone cloning,blank a.t.m's,western union and moneygram hacks are solved with Amir Hagay.hit him up for a job well done.

how to get blank atm card

BE SMART AND BECOME RICH IN LESS THAN 2DAYS BY USING THE BLANK ATM CARD
It all depends on how fast you can be to get the new PROGRAMMED blank ATM card that is capable of hacking into any ATM machine,anywhere in the world. I got to know about this BLANK ATM CARD when I was searching for job online about a month ago..It has really changed my life for good and now I can say I'm rich and I can never be poor again. The least money I get in a day with it is about $10,000.(ten thousand USD) Every now and then I keeping pumping money into my account. Though is illegal,there is no risk of being caught ,because it has been programmed in such a way that it is not traceable,it also has a technique that makes it impossible for the CCTV to detect you..For details on how to get yours today email the hackers at: destinybrownhacker@gmail.com ,Its the programmed ATM card that can hack into all ATM machines. Its works with any currency and in any country where you might be living in world. Its is programmed in a way that when transaction is carried out with the card ,it can't be traced. To make use of this card, you need no account number or even pin of anyone. Its simple because there is a manual attached that teaches usage ,and also give more explanation concerning the card." So friends,its a new year and a new beginning. Tell your loved once too, and start to live large. That's the simple testimony of how my life changed for good…Love you all …the email address again is :destinybrownhacker@gmail.com

hacking services

for hacking services such as student school grades upgrade,phone hack,whatsap/instagram and many more,kindly contact this guy extremehackerservices@gmail.com
hes the best, cheap and fast with jobs.tell him john referred you and thank me later

Giving a hand

Do you need a licenced hacker for hire? i was helped by a hacker to check if my boyfriend was cheating ,
i visited their website www.ihacc4u.com and his email and facebook where hacked in about 24 hours ,
i was indeed pleased ,
The can help change your grades, clear criminal records,
access email accounts, social networks and hack mobile phones.

you can contact them: bobbywizard@progammer.net or text at +1(502)-233-8963

Add new comment

By submitting this form, you accept the Mollom privacy policy.