HCL 中文技术社区

 找回密码
 立即注册
搜索
热搜: 活动 交友 discuz
查看: 7423|回复: 7

【超级赞】Domino Portable Edition - 揣在口袋里的Domino

[复制链接] TA的帖子

38

主题

87

帖子

3041

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
3041

活跃会员热心会员灌水之王最佳新人

QQ
发表于 2020-9-25 15:26:43 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有帐号?立即注册

x
国外同行,极客弄了一个世界上最小的Domino服务器,揣在口袋里的!


Two weeks ago at the the HCL Factory Tour #3 we've shown the (possibly) smallest Domino server ever built.
With just 47,88 ccm (6,3 x 9,5 x 0,8 cm) it is just a little bigger than a credit card and small enough to fit your pocket. Also, for those of you who remember, it's much smaller than the Lotus Foundations box which Mike Rhodin introduced at Lotusphere 2008.
Thanks to Panagenda we also were able to show that you can run Domino off the grid.

What kind of hardware is this based on?
It is Zotac Pi 225 pico, a mini PC fully equiped with CPU, memory and storage, all combined in a case that is passively cooled.
The case itself looks like a thin 2,5" HDD - but thinner (for US folks : 3.76 x 2.48 x 0.31 inches )

M2.jpeg
M3.jpeg
M4.jpeg

Compared to the well known Raspberry Pi, this Zotac device is actually smaller (thinner) because it does not expose an ethernet port.

It weights less than 500g and is hardware specs looked promissing: Intel N3350 dual-core CPU (x86 compatible!), 4GB RAM, 32GB internal storage (expandable via microSD card), Intel HD Graphics 500,
Furthermore it provides two USB 3.0 Type-C Ports for connecting keyboard, HDMI an ethernet adapter. It also provides an internal 802.11ac Wi-Fi antenna, which I want use for creating a WiFi Hotspot later on.
You can find it here on Amazon for approx. €150


Stage 1 - Installing Linux
Zotac comes preinstalled with Windows 10 - an operating system which beside being clunky is not supported for running Domino.
Of course my idea was to install Domino on Linux. As you know IBM/HCL is supporting to run Domino on SuSE or Redhat Linux and also fully supporting CentOS since last year.
After spending a few hours with CentOS I had to learn by hard that it can not simply be installed on this Zotac device because it is missing support for this specific Intel Atom CPU.
The installation caused errors and booting it took several hours before it finally failed.

Plan B:
Switch to Ubuntu 18.04.2 LTS (alternative installer!) which installs without problems from a USB stick.

Stage 2 - Linux tuning
Although the installation itself completed in a few minutes there still are some errors when booting up.
Most annoying this one: systemd-gpt-auto-generator: Failed to dissect: Input/output error. which is caused by the device using an internal MMC card as disk storage.

To fix this error we have to modify the kernel boot parameters as follows:
sudo nano /etc/default/grub

add a parameter to the line "GRUB_CMDLINE_LINUX_DEFAULT"
GRUB_CMDLINE_LINUX_DEFAULT="systemd.gpt_auto=0"

After saving changes we need to tell grub to update the bootloader using
sudo update-grub


Stage 3 - Install Docker
We could have installed Domino natively on Linux but why wasting time if we can also run Domino on Docker.
Installation of Docker on Ubuntu Linux is staight forward
sudo apt-get install docker-ce


To avoid having to type 'sudo' every time you run the docker command, just add your username to the docker group.
sudo usermod -aG docker ${USER}

For changes to take effect, log off and log on again.
M5.jpeg



Stage 4 - Create Domino Image for Docker
In order to run Domino in Docker I'm using my (more powerful) MacBook and this Github repo to build a docker image.
All that needs to be done is...
- clone the repository (or download and extract the zip file) to a directory of your choice.
- Add the Domino Linux installation package + FP2 package into the subfolder "software"
- run "./build domino"
A few minutes later you'll have a perfect Domino image to work with...


M6.jpeg




Now we need to export this image by turning it into a tar file using this command:
docker image save -o domino1001fp2.tar ibmcom/domino:10.0.1FP2

Copy the resulting file "domino1001fp2.tar" to a USB stick

Stage 5 - Import Docker Image
Attach the USB stick to the Zotac device and copy the file  "domino1001fp2.tar" to a directory of your choice, e.g. /tmp
Then import the image using the command:
docker image load -i domino1001fp2.tar

Verify results using the command docker image ls - you should now have one image listed.

in case any TAGs are missing, add them using
docker image tag ibmcom/domino:10.0.1FP2
docker image tag ibmcom/domino:latest


Stage 6 - Run Domino and Enjoy
Finally running Domino in this configuration is a piece of cake:
At first create a persistent volume - this is required because we would like to preserve our data directory in case the container is being restarted or recreated.
docker volume create dominodata

then spin up a (new) Domino server with a name of your choice.
docker run -it -d -e "ServerName=Zotac" -e "AdminPassword=passw0rd" -p 1352:1352 -p 80:80 -p 443:443 -v dominodata:/local/notesdata --cap-add=SYS_PTRACE --name domino ibmcom/domino:10.0.1FP2


Without supplying a config file, this image will not start the HTTP task by default, so we need to open a shell into the container
docker exec -it domino /bin/bash

and from within the container then run "domino monitor" to access the server console to launch the http task using "load http"

Browsing to http:// will now show up this well known homepage.



M7.jpeg


Finall word of warning:
Certainly this Zotac device produces some heat, so running a Domino server in your trousers will for sure turn them into hot pants for geeks - so please be careful !

Further ideas & todo:
- I have not done any stress testing, so please dont ask me how many users this device is going to support in production
- Enabling the embedded WiFi antenna and turning it into a WiFi hotspot would make a cool demo
- Zotac Pi 225 is not the smallest device that can run Domino -- I have some more ideas but getting hold of the hardware is more complicated, stay tuned for more



References:
-
Zotac Pi 225 nano on Amazon
-
Domino on Docker
- Domino on Docker
Management Script
- Mike Rhodin
announcing Lotus Foundations








=== 坚持把这个论坛办好!希望大家能够帮助我们! ===
回复

使用道具 举报

38

主题

87

帖子

3041

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
3041

活跃会员热心会员灌水之王最佳新人

QQ
 楼主| 发表于 2020-9-25 15:27:44 | 显示全部楼层
=== 坚持把这个论坛办好!希望大家能够帮助我们! ===
回复

使用道具 举报

0

主题

1

帖子

4

积分

新手上路

Rank: 1

积分
4
发表于 2022-9-14 06:12:32 | 显示全部楼层

казино Вавада

bbs_admin ??? 2020-9-25 15:27
????:https://blog.thomashampel.com/

Прошу прощения, что вмешался... Я разбираюсь в этом вопросе. Давайте обсудим. Пишите здесь или в PM.
ставки в лишние финансы увеличивают рейтинг и снабжают https://vavada100freespins.ru уникальную игру.
широкий ассортимент промо дает шанс «юным»
回复

使用道具 举报

950

主题

1427

帖子

3851

积分

论坛元老

Rank: 8Rank: 8

积分
3851
发表于 2022-11-20 09:09:14 | 显示全部楼层

Stop the War!! Essay writing companies reviews

Regards! My name is Davin and I'm happy to be at dominoworld.club. I was born in Sweden but now I'm a student at the New Jersey Institute of Technology (NJIT).
I'm normally an industrious student but this half-year I had to go abroad to visit my kin. I knew I wouldn’t have time to complete my personal statement, so I’ve found a fantastic solution to my problem - ESSAYERUDITE.COM >>> https://essayerudite.com/write-my-essay/
I had to order my paper, as I was pressed for time to finish it myself. I prefer EssayErudite as my personal statement writing service because it’s respected and has a lot of experience in this market.
I received my order on time, with proper style and formatting. (personal statement, 119 pages, 6 days, University)
I never thought it could be possible to order personal statement from an online writing service. But I tried it, and it was successful!
I would surely suggest this essay writing service to all my friends ;)
回复

使用道具 举报

13

主题

14

帖子

88

积分

注册会员

Rank: 2

积分
88
发表于 2023-2-11 06:49:54 | 显示全部楼层

Продвижение топ 10

Davinplut ??? 2022-11-20 09:09
Regards! My name is Davin and I'm happy to be at dominoworld.club. I was born in Sweden but now I'm  ...



Существует множество факторов, которые поисковые системы учитывают при определении рейтинга веб-сайта, включая качество и релевантность контента веб-сайта, структуру и организацию сайта, а также количество и качество обратных ссылок с других веб-сайтов.
https://tudavam.ru - Продвижение топ один
[url=https://kwork.ru/links/23420133/prodvizhenie-web-2-0]Статейное продвижение[
回复

使用道具 举报

0

主题

1

帖子

4

积分

新手上路

Rank: 1

积分
4
发表于 2023-3-15 07:10:21 | 显示全部楼层

Задались вопросом где трафик на сайт купить

Davinplut ??? 2022-11-20 09:09
Regards! My name is Davin and I'm happy to be at dominoworld.club. I was born in Sweden but now I'm  ...

п»їYou are interested in promotion of resources by increasing traffic?В By link traftop.biz
Are you interested in promotion of portals by increasing traffic?В Here [url=h
回复

使用道具 举报

32

主题

878

帖子

1855

积分

金牌会员

Rank: 6Rank: 6

积分
1855
发表于 2023-3-25 16:18:31 | 显示全部楼层

dissertation help service g194fr

Haileyfb ??? 2023-2-11 06:49
Существует множество факторов, которые поисковые с ...


You said it very well..
<a href="https://quality-essays.com/">pay someone to do your essay</a> buying essays online caught <a href="https://buyanessayscheaponline.com/">buy argumentative essay</a> pay for a research paper
paper writing write paper someone write my paper write college paper for me
how to write an essay for graduate school https://argumentativethesis.com
<a href="https://domyhomeworkformecheap.com/">can you do my homework</a> should i do my homework <a href="https://domycollegehomeworkforme.com/">do my homework for me</a> i don t want to do my homework
回复

使用道具 举报

32

主题

878

帖子

1855

积分

金牌会员

Rank: 6Rank: 6

积分
1855
发表于 2023-3-25 17:33:54 | 显示全部楼层

cheap custom essay papers k35hft

facrabochene ??? 2022-9-14 06:12
Прошу прощения, что вмешался... Я разбираюсь в этом воп ...


Nicely put. Cheers!
<a href="https://englishessayhelp.com/">essay helper</a> mba essay help <a href="https://essaywritinghelperonline.com/">mba essay help</a> live essay help
do my research paper for me paper writers for college write my papers write my english paper
buy custom essays online https://writeadissertation.com
<a href="https://domyhomeworkformecheap.com/">can you do my homework</a> should i do my homework <a href="https://domycollegehomeworkforme.com/">do my homework for me</a> i don t want to do my homework
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|手机版|小黑屋|HCL 中文技术社区 ( 沪ICP备17044822号 )

GMT+8, 2023-5-29 07:56 , Processed in 1.072561 second(s), 26 queries .

快速回复 返回顶部 返回列表