Try Ubuntu Landscape on Xenial (by quqi99)
版权声明:可以任意转载,转载时请务必以超链接形式标明文章原始出处和作者信息及本版权声明 (http://blog.csdn.net/quqi99)
Landscape is used for manage your Ubuntu Cluster remotely. You can install Landscape directly on a machine running Xenial (Ubuntu 16.04), this is called “Landscape On Premises.” It is free for up to 10 physical machines and 10 more virtual machines for a total of 20.
Install Landscape Server
; refer https://askubuntu.com/questions/549809/how-do-i-install-landscape-for-personal-use
sudo ufw disable
sudo add-apt-repository ppa:landscape/17.03
sudo apt update
sudo apt install landscape-server-quickstart
; register the landscape account using text based web brower, or visit 'https://<server-hostname>'
sudo apt install links
links https://<server-hostname>
Register Landscape Clients
; now register ubuntu node
; copy /etc/landscape/landscape_server.pem from landscape server to every ubuntu nodes
sudo nano /etc/landscape/client.conf
ssl_public_key = /etc/landscape/landscape_server.pem
sudo apt install landscape-client
sudo landscape-config --computer-title "node2" --account-name standalone --url https://xenial/message-system --ping-url http://xenial/ping --ok-no-register --silent
; then accept this node in GUI page
Customized Installation for Landscape by Preseed
1, Prepare preseed.cfg and a customized script lds.sh
export DEBIAN_FRONTEND=noninteractive
apt-get install -y landscape-client
landscape-client --daemon --pid-file /run/landscape.pid
landscape-config --computer-title "node2" --account-name standalone --url https://xenial/message-system --ping-url http://xenial/ping --ok-no-register --silent --http-proxy PROXY-URL --https-proxy PROXY-URL
kill $(cat /run/landscape.pid)
2, Use ‘python -m SimpleHTTPServer 8080’ to setup web server for them
3, After selecting language press F6 at installer welcome screen
4, Edit boot command and replace “file=/cdrom/preseed/ubuntu-server.seed” with “preseed/url=http://IP/preseed.cfg”
5, Press Enter and complete installation
Appendix - How to Create Certificate
; above /etc/landscape/landscape_server.pem is created automatically by landscape-server-quickstart, you can also do it by hand.
; create your own CA (Certificate Authority), then we will have ./demoCA/private/cakey.pem
; refer https://help.landscape.canonical.com/LDS/SSL
/usr/lib/ssl/misc/CA.pl -newca
; generate an SSL certificate signed by your new CA, then we will have newkey.pem
/usr/lib/ssl/misc/CA.pl -newreq-nodes
; sign your newly created SSL certificate with your newly created CA, then we will have newcert.pem
/usr/lib/ssl/misc/CA.pl -signreq
; install the files to Landscape
sudo mv newcert.pem /etc/ssl/certs/landscape.pem
sudo mv newkey.pem /etc/ssl/private/landscape.key
sudo cp demoCA/cacert.pem /etc/ssl/certs/landscape_server_ca.crt
; make Landscape Clients trust the newly created CA
copy /etc/ssl/certs/landscape_server_ca.crt from the LDS server to the client's directory /usr/local/share/ca-certificates/ and run 'sudo update-ca-certificates'.
; adding the certificate file to /etc/landscape/client.conf
ssl_public_key = /usr/local/share/ca-certificates/landscape_server_ca.crt
Try Ubuntu Landscape on Xenial (by quqi99)的更多相关文章
- Ubuntu 16.04 LAMP server 指南 - 配置 Apache2.4,PHP7,和MariaDB(而不是MySQL)
翻译自:https://www.howtoforge.com/tutorial/install-apache-with-php-and-mysql-on-ubuntu-16-04-lamp/ 昨天在虚 ...
- Ubuntu 16.04 LTS发布
[Ubuntu 16.04 LTS发布]Ubuntu 16.04 LTS 发布日期已正式确定为 2016 年 4 月 21 日,代号为 Xenial Xerus.Ubuntu16.04 将是非常受欢迎 ...
- Bay Trail平板安装Ubuntu ThinkPad 8(20BNA00RCD)
首先说下没搞定的事项: 1,grub不能启动w10 2,ubuntu不能检测到无线网卡硬件 3,ubuntu更新软件和语言支持时,unpacking文件时经常都会发生卡死(怀疑是emmc驱动的问题) ...
- 将Ubuntu 15.10升级到Ubuntu 16.04
Ubuntu 16.04 LTS 代号为 Xenial Xerus,其最终版将于 2016 年 4 月 21 日正式发布,Ubuntu16.04 将是非常受欢迎的开源操作系统 Ubuntu 的第 6 ...
- virtualbox 安装ubuntu
1. 下载已经安装好的ubuntu的virtualbox的vdi 下载地址: http://www.osboxes.org/ubuntu/ ubuntu 16.04 Xenial VirtualBox ...
- Ubuntu 16.04 LTS Final Beta
期待已久的Ubuntu LTS 版本开放了公测版本 Ubuntu 16.04 (Xenial Xerus) Daily Build(http://cdimage.ubuntu.com/daily-l ...
- docker installation on ubuntu
Ubuntu Docker is supported on these Ubuntu operating systems: Ubuntu Xenial 16.04 (LTS) Ubuntu Trust ...
- Ubuntu 16.04 LTS今日发布
Ubuntu 16.04 LTS今日发布 Ubuntu16.04 LTS 发布日期已正式确定为 2016 年 4 月 21 日,代号为 Xenial Xerus.Ubuntu16.04 将是非常受欢迎 ...
- 使用Qemu运行Ubuntu文件系统(1)
参考 https://blog.csdn.net/mountzf/article/details/51707853 https://blog.csdn.net/stephen_lu_fahai/art ...
随机推荐
- Flask系列(九)flask-script组件
Flask Script扩展提供向Flask插入外部脚本的功能,包括运行一个开发用的服务器,一个定制的Python shell,设置数据库的脚本,cronjobs,及其他运行在web应用之外的命令行任 ...
- (转)JSON Web Token - 在Web应用间安全地传递信息
JSON Web Token(JWT)是一个非常轻巧的规范.这个规范允许我们使用JWT在用户和服务器之间传递安全可靠的信息. 让我们来假想一下一个场景.在A用户关注了B用户的时候,系统发邮件给B用户, ...
- org.apache.ibatis.exceptions.TooManyResultsException的异常排查过程
在查阅测试环境业务日志中的ERROR级别的日志时,发现了有一个Mybatis相关的异常错误org.apache.ibatis.exceptions.TooManyResultsException: E ...
- CCPC-Wannafly Winter Camp Day7 (Div2, onsite)
Replay Dup4: 啥都不会? 只能看着两位聚聚A题? X: 模拟题不会写, 日常摔锅 u, v分不清, 日常演员 又是自己没理清楚就抢键盘上机导致送了一万个罚时, 日常背锅 A:迷宫 Solv ...
- Python中的MySQL接口:PyMySQL & MySQLdb
MySQLdb模块只支持MySQL-3.23到5.5之间的版本,只支持Python-2.4到2.7之间的版本 PyMySQL支持 Python3.0以后的版本 PyMySQL https://pypi ...
- 2017-2018-2 20165207 实验三《敏捷开发与XP实践》实验报告
java 实验三 实验报告 实验内容 代码规范 不规范的代码可能妨碍阅读,在粘贴下来老师在云班课中设置的提交点一的代码之后,我首先使用了IDEA中Code选项卡的Reformat Code功能规范代码 ...
- Python笔记 #09# Basic plots with matplotlib
源:DataCamp 气泡的大小表示人口的多少,横坐标表示人均GDP(美元),纵坐标表示预期寿命.-- 作者:Hans Rosling Python 中有许许多多用于可视化的包,而 matplotli ...
- 来自MSDN的RibbonGadgets练习
来自MSDN的RibbonGadgets练习 RibbonGadgets是少见的来自官方的资源. 如果选择Menu Items = 集合,则会有向下的小箭头,同时会出现下来菜单. 这个都关系叫做gal ...
- 20145326《Java程序设计》第一周学习总结
20145326<Java程序设计>第一周学习总结 教材学习内容总结 转眼间新的一学期终于开始了!为什么我这么期待呢?因为这学期可以上娄嘉鹏老师的java程序设计课,我不是什么电脑天才,之 ...
- (Matlab)GPU计算简介,及其与CPU计算性能的比较
1.GPU与CPU结构上的对比 2.GPU能加速我的应用程序吗? 3.GPU与CPU在计算效率上的对比 4.利用Matlab进行GPU计算的一般流程 5.GPU计算的硬件.软件配置 5.1 硬件及驱动 ...