首页 文章 精选 留言 我的

精选列表

搜索[操作系统],共10009篇文章
优秀的个人博客,低调大师

操作系统

166.6.1./etc/hosts 配置 # docker run --add-host=docker:10.180.0.1 --rm -it debian 166.6.2.sysctl $ docker run --sysctl net.ipv4.ip_forward=1 someimage 166.6.3.ulimits 查看 ulimit 设置 $ docker run --ulimit nofile=1024:1024 --rm debian sh -c "ulimit -n" $ docker run -it --ulimit as=1024 fedora /bin/bash $ docker run -d -u daemon --ulimit nproc=3 busybox top 原文出处:Netkiller 系列 手札 本文作者:陈景峯 转载请与作者联系,同时请务必标明文章原始出处和作者信息及本声明。

优秀的个人博客,低调大师

实战案例:操作系统

一、busybox BusyBox 是一个集成了一百多个最常用Linux命令和工具的软件。BusyBox 包含了一些简单的工具, 例如ls、cat和echo等等,还包含了一些更大、更复杂的工具,例grep、find、mount以及telnet。 有些人将 BusyBox 称为 Linux 工具里的瑞士军刀。简单的说BusyBox就好像是个大工具箱,它集 成压缩了 Linux 的许多工具和命令,也包含了 Android 系统的自带的shell。 1、在dockerhub中搜索busybox相关的镜像 root@docker-test:~# docker search busybox NAME DESCRIPTION STARS OFFICIAL AUTOMATED busybox Busybox base image. 1075 [OK] progrium/busybox 67 [OK] hypriot/rpi-busybox-httpd Raspberry Pi compatible Docker Image with ... 36 hypriot/armhf-busybox Busybox base image for ARM. 7 armhf/busybox Busybox base image. 3 armel/busybox Busybox base image. 2 onsi/grace-busybox 2 s390x/busybox Busybox base image. 2 p7ppc64/busybox Busybox base image for ppc64. 2 prom/busybox Prometheus Busybox Docker base images 2 [OK] aarch64/busybox Busybox base image. 2 arm32v7/busybox Busybox base image. 2 i386/busybox Busybox base image. 1 arm32v6/busybox Busybox base image. 1 ppc64le/busybox Busybox base image. 1 spotify/busybox Spotify fork of https://hub.docker.com/_/b... 1 flynn/busybox Busybox from Ubuntu 13.10 with libc 1 estesp/busybox Test repo of a 'manifest list' to encapsul... 0 podshumok/busybox 0 trollin/busybox 0 nranjan/busybox 0 arm64v8/busybox Busybox base image. 0 ddn0/busybox fork of official busybox 0 [OK] arm32v5/busybox Busybox base image. 0 himanshu0503/busybox 0 root@docker-test:~# 提示:带有OFFICIAL标记的说明是官方镜像 2、查看镜像 root@docker-test:~# docker images busybox latest e3826c3cb1d4 4 weeks ago 1.129 MB 3、运行busybox root@docker-test:~# docker run -it busybox 运行后随便执行几个命令试试 / # pwd / / # ifconfig eth0 Link encap:Ethernet HWaddr 02:42:C0:A8:C8:02 inet addr:192.168.200.2 Bcast:0.0.0.0 Mask:255.255.255.0 inet6 addr: fe80::42:c0ff:fea8:c802/64 Scope:Link UP BROADCAST RUNNING MTU:1500 Metric:1 RX packets:7 errors:0 dropped:0 overruns:0 frame:0 TX packets:7 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:578 (578.0 B) TX bytes:578 (578.0 B) lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:65536 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) / # busybox虽然小巧,但提供了常见的linux命令 二、CoreOS 这是一个基于docker的Linux发行版 下载地址:https://stable.release.core-os.net/amd64-usr/current/coreos_production_vmware_ova.ova 用vmware workstation运行这个虚拟机 本文转自 TtrToby 51CTO博客,原文链接:http://blog.51cto.com/freshair/1958352

资源下载

更多资源
Mario

Mario

马里奥是站在游戏界顶峰的超人气多面角色。马里奥靠吃蘑菇成长,特征是大鼻子、头戴帽子、身穿背带裤,还留着胡子。与他的双胞胎兄弟路易基一起,长年担任任天堂的招牌角色。

腾讯云软件源

腾讯云软件源

为解决软件依赖安装时官方源访问速度慢的问题,腾讯云为一些软件搭建了缓存服务。您可以通过使用腾讯云软件源站来提升依赖包的安装速度。为了方便用户自由搭建服务架构,目前腾讯云软件源站支持公网访问和内网访问。

Spring

Spring

Spring框架(Spring Framework)是由Rod Johnson于2002年提出的开源Java企业级应用框架,旨在通过使用JavaBean替代传统EJB实现方式降低企业级编程开发的复杂性。该框架基于简单性、可测试性和松耦合性设计理念,提供核心容器、应用上下文、数据访问集成等模块,支持整合Hibernate、Struts等第三方框架,其适用范围不仅限于服务器端开发,绝大多数Java应用均可从中受益。

WebStorm

WebStorm

WebStorm 是jetbrains公司旗下一款JavaScript 开发工具。目前已经被广大中国JS开发者誉为“Web前端开发神器”、“最强大的HTML5编辑器”、“最智能的JavaScript IDE”等。与IntelliJ IDEA同源,继承了IntelliJ IDEA强大的JS部分的功能。

用户登录
用户注册