docker容器服务器 - centos atomic host
https://blog.inovex.de/docker-a-comparison-of-minimalistic-operating-systems
https://github.com/rvykydal/anaconda-kickstarts/tree/master/atomic
docker实践 http://www.cnblogs.com/hustcat/category/427554.html
https://yeasy.gitbooks.io/docker_practice/content/kubernetes/quickstart.html
1. CoreOS
2. Project Atomic
3. Ubuntu Snappy
4. RancherOS
5. Photon
https://github.com/CentOS/sig-atomic-buildscripts
https://github.com/CentOS/Community-Kickstarts
https://access.redhat.com/blogs/1169563/posts/1318283
http://www.projectatomic.io/docs/compose-your-own-tree/
http://developerblog.redhat.com/2015/01/08/creating-custom-atomic-trees-images-and-installers-part-1
http://developerblog.redhat.com/2015/01/15/creating-custom-atomic-trees-images-and-installers-part-2
/opt/opmgmt/install/pxelinux.cfg/01-78-2b-cb-69-10-f3
label CentOS Atomic Host 7
MENU DEFAULT
MENU LABEL CentOS Atomic Host 7 [01:78:2b:cb:69:10:f3]
KERNEL atomic7/vmlinuz
APPEND initrd=atomic7/initrd.img ip=dhcp BOOTIF=78:2b:cb:69:10:f3 inst.ks=http://install.localhost/kickstart/78:2b:cb:69:10:f3 ramdisk_size=102400 console=tty1 console=ttyS1,115200
/opt/opmgmt/install/kickstart/78:2b:cb:69:10:f3
#python -c 'import crypt; print(crypt.crypt("123456", "$6$MySalt"))'
rootpw --iscrypted $6$MySalt$e0fnxWlZ3UCN4HnSSx6U7zQGgzX7AlGBfZ75msCser0B2ZPRHBmwZjOVW6Cai/1Ba5f7B5uTsucedaHsEd8W6/
auth --enableshadow --passalgo=sha512
keyboard us
timezone Asia/Shanghai
lang en_US.UTF-8
install
url --url=http://install.localhost/atomic7
bootloader --location=mbr --boot-drive=sda
clearpart --all --initlabel --drives=sda
part /boot --fstype=xfs --ondisk=sda --size=500
part / --fstype=xfs --ondisk=sda --grow
part swap --fstype=swap --ondisk=sda --size=8000
network --bootproto=static --device=78:2b:cb:69:10:f3 --gateway=192.168.48.1 --ip=192.168.48.122 --nameserver=192.168.48.116 --netmask=255.255.255.0 --ipv6=yes --onboot=yes --activate
network --hostname=bjyh-48-122
ostreesetup --nogpg --osname=centos-atomic-host --remote=centos-atomic-host --url=http://yum.localhost/centos/7/atomic/x86_64/repo --ref=centos-atomic-host/7/x86_64/standard
#firewall --disabled
selinux --disabled
firstboot --disabled
#services --disabled=cloud-init,cloud-config,cloud-final,cloud-init-local,docker-storage-setup
services --disabled=NetworkManager
services --enabled=network
reboot
%pre
/usr/sbin/parted -s /dev/sda mklabel gpt
%end
%post
ostree remote delete centos-atomic-host
ostree remote add --set=gpg-verify=false centos-atomic-host http://yum.localhost/centos/7/atomic/x86_64/repo
%end
# centos atomic host仅需要/boot /2个分区,缺少或者多出,安装启动时会报错,swap分区可默认用户centos
默认用户centos
docker容器服务器 - centos atomic host的更多相关文章
- centos atomic host第一次启动
centos atomic host安装完成会,第一次启动时会调用cloud-init等服务.这是个什么东东? cloud-init用于在创建虚拟机时通过元数据服务对虚拟机基本配置,包括常见的主机名, ...
- PhpStorm连接Docker容器配置xdebug断点调试
本教程主要演示xdebug在PhpStorm中配置方法. 一.环境说明 1.Mac笔记本(本教程演示过程使用的是Mac OS操作系统,和windows环境是有区别的,这一点需要特别注意): 2.在Ma ...
- docker容器的学习笔记
目录 Docker入门学习笔记(一) 1. 什么是Docker? 2. Docke的目标 3. Docker通常应用场景 4. Docker的基本组成 补:Docker容器相关技术简介 安装Docke ...
- Docker容器内连接宿主机即CentOS的Mysql服务器
docker的宿主机是虚拟机下的CentOS 博主最近遇到一种情况,从服务器拷贝了一份数据库在宿主机Mysql服务器上,想要用本地的数据库测试自己的代码正确性,但是项目程序都是靠docker一键部署的 ...
- .NetCore下使用IdentityServer4 & JwtBearer认证授权在CentOS Docker容器中运行遇到的坑及填坑
今天我把WebAPI部署到CentOS Docker容器中运行,发现原有在Windows下允许的JWTBearer配置出现了问题 在Window下我一直使用这个配置,没有问题 services.Add ...
- docker入门——安装(CentOS)、镜像、容器
Docker简介 什么是docker 官方解释: Docker is the company driving the container movement and the only container ...
- .net core3.0部署Linux服务器 使用Docker容器和Nginx反代理教程
本人刚接触.net core 由于公司项目需要部署在Linux上 近些日子学习和网上大面积搜教程 我在这给大家归拢归拢借鉴的教程做了套方案(我写的可以实现 但不一定是最好的 仅供参考) 我只用过cor ...
- Centos 配置开机启动脚本启动 docker 容器
Centos 配置开机启动脚本启动 docker 容器 Intro 我们的 Centos 服务器上部署了好多个 docker 容器,因故重启的时候就会导致还得手动去手动重启这些 docker 容器,为 ...
- 记录Linux CentOS 7系统完整部署Docker容器环境教程
笔者之前有在"详细介绍Ubuntu 16.04系统环境安装Docker CE容器的过程"文章中有介绍到利用Ubuntu系统安装Docker容器环境的过程.如果我们有使用CentOS ...
随机推荐
- 学习ios键盘和textfield之间操作体会
所需要计算就是,键盘移动以后是否遮挡住了textfield,需要用到的计算公式: int offset = 键盘的高度-(self.frame.size.height - self.textfiled ...
- NeHe OpenGL教程 第四课:旋转
转自[翻译]NeHe OpenGL 教程 前言 声明,此 NeHe OpenGL教程系列文章由51博客yarin翻译(2010-08-19),本博客为转载并稍加整理与修改.对NeHe的OpenGL管线 ...
- Mac 10.10下安装MySQL5.6.21提示安装失败
只要要在安装的第三步在自定里不要选Startup item就可以了
- laravel项目报错DecryptException:The MAC is invalid.
1.问题描述 把Laravel项目上传至服务器,本地数据库导出再导入至服务器数据库,一切运行正常,但是当进行用户登录时报错 DecryptException in compiled.php line ...
- 性能测试工具之Gatling
转载:http://ningandjiao.iteye.com/blog/2004579 Gatling一直是久闻其名但是未得机会运用,正好最近有需求做性能测试,于是趁此机会熟悉了一下,可以说,这是目 ...
- JDBC中的PreparedStatement-防止SQL注入攻击
在JDBC对数据库进行操作的时候,SQL注入是一种常见的针对数据库的注入攻击方式.如下面的代码所演示,在我们的提交字段中掺入了SQL语句,会使得程序的登录校验失效: package org.lyk.m ...
- spring mvc中的json整合
spring mvc整合过程中是有版本兼容的问题.具体的哪个版本的springmvc和哪个个版本的json包冲突我也无从考证了.我用的springmvc版本是3.2.1jaskson的版本是 1.1. ...
- sql server 根据执行计划查询耗时操作
with QS as( select cp.objtype as object_type, /*类型*/ db_name(st.dbid) as [database], /*数据库*/ object_ ...
- nyoj 102 次方求摸 快速幂
点击打开链接 次方求模 时间限制:1000 ms | 内存限制:65535 KB 难度:3 描述 求a的b次方对c取余的值 输入 第一行输入一个整数n表示测试数据的组数(n<100) 每组测 ...
- nyoj 91 阶乘之和
点击打开链接 阶乘之和 时间限制:3000 ms | 内存限制:65535 KB 难度: 描述 给你一个非负数整数n,判断n是不是一些数(这些数不允许重复使用,且为正数)的阶乘之和,如9=1!+2 ...