In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)05/31 Report--
This article will explain in detail what Snappy Ubuntu is, and the content of the article is of high quality, so the editor will share it with you for reference. I hope you will have a certain understanding of the relevant knowledge after reading this article.
I don't know if you've ever heard of Snappy Ubuntu. Anyway, when I heard Snappy, I didn't quite understand. If we look it up in the dictionary, it means brisk, agile, energetic. That sounds great! By the way, Snappy is the development direction of Canonical in the future. In the future, all Ubuntu systems will use Snappy. This is what we call Convergence. The applications we develop can run on multiple devices of different platform sizes and clouds. We don't have to develop separately for a device. More information can be found at https://developer.ubuntu.com/en/snappy/. In the future, Snappy Ubuntu will play an important role in IoT (Internet of Things Internet of things), such as the following drones.
What on earth is 1.Snappy Ubuntu?
In short, Snappy Ubuntu is a brand new, transactional operating system built for clouds and devices. It is divided into:
◆ Snappy Ubuntu Core: cloud (cloud) and IoT (Internet of Things).
◆ Snappy Ubuntu Personal: for mobile phones, tablets and computers.
Let's take a look at the features of Snappy Ubuntu:
◆ 's smallest Ubuntu server image: due to the smaller kernel, all can be applied to more application scenarios. Applications are provided in a simple way, the snap package. The snap package is different from the previous debian and the click package on the phone. Future applications and framwork will be released as .snap packages.
◆ transactional updates (transitional updates): updates automatically through the channel of the mall. Transactional updates provide a more reliable system. There are two root filesystem partitions in the Snappy Ubuntu: zone An and Zone B (each containing a system image). When area An is started, it can be used to update area B. Only after the update of area B is complete can you switch to area B, otherwise you will always be in area A. On the contrary, we can update area An in the same way. Of course, we can also rollback at any time, that is, go back to the previous startup area. In this way, we can ensure that our Ubuntu Core and application updates are complete at any time. This is very important for many systems that need a stable working environment, such as updating a webcam far away at the intersection.
◆ 's stronger application security: Snappy Ubuntu has industry-leading security. The Ubuntu system image is only readable. No application can change it. The advantage of this is that the image of the system will not be modified due to the installation or upgrade of an application, resulting in some installed applications not running properly. Each application has its own space to read and write, and they cannot access each other. Each application runs in a limited sandbox. Access to API is enforced by Apparmor and Seccomp. It provides strict MAC (Mandatory-Access- Control)-based isolation. Traditional Linux applications can access any directory and read and write files in them. This is different from the Snappy system. If an application needs special libraries, you can use snapcraft to install the appropriate libraries into your own application's private directory.
2.Snappy Ubuntu Core architecture
In a Snappy Ubuntu system, there are four layers:
◆ Application layer: this is provided by the application developer. All applications are isolated and subject to the security mechanism of the system.
◆ Framework layer: this layer is jointly provided by Cannonical and developers. It can extend the most basic system of Ubuntu Core. This is an optional layer. It cannot be attached to other framework.
◆ Ubuntu Core layer: this layer is provided by Canonical. A minimum of rootfs to customize for specific needs.
◆ Enablement layer: this hardware layer is provided by the device provider or Canonical. Canonical provides four kinds of support.
32max 64-bit
ARM/Intel
A typical remote desktop protocol application architecture:
Target supported by 3.Snappy
So far, the target supported by Snappy is:
As you can see from the above, Snappy can already be deployed on some ARM development boards and cloud. For some developers, we can hack our Snappy system by buying a cheap development board with some accessories.
An example of 4.Snappy application
At present, Snappy is more and more used in different fields. Here are some examples that are already using Snappy Ubuntu as a product. We can click on the picture below to enter the product website.
5.Snappy store
Like other platforms, Snappy can have its own Store. To see all the Snaps on the system, we can open our Browser (such as chromium,firefox, etc.). We can see that webdm (Web Device Manager) is launched at the following localhost:4200 address, and you can see the installed applications on the device.
Canonical can also provide proprietary branded Store to including OEM.
About what Snappy Ubuntu is to share here, I hope the above content can be of some help to you, can learn more knowledge. If you think the article is good, you can share it for more people to see.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.