- dnf install nodejs
- dnf install python2
- dnf install python3
- dnf install golang
- dnf install php
- dnf install ruby
- dnf install perl
- dnf install java-1.8.0
- dnf install java-11
- dnf install maven
- dnf install scala
- dnf install cargo
- dnf install rust
- dnf install clang
- dnf install freeradius
- dnf install dpdk
- dnf install Docker
- dnf install MySQL-server
- dnf install podman
golang 默认安装 , GOPATH在/root/go下 , 没有配置go proxy 和也没有开启go module 功能 , 需要自行配置 。
- [root@pangu ~]# go version
- go version go1.11.5 linux/amd64
- vi /etc/profile
- export GO111MODULE=on
- export GOPROXY=https://goproxy.cn
- source /etc/profile
- go env
- systemctl start mysqld
- [root@pangu ~]# mysql
- Welcome to the MySQL monitor. Commands end with ; or g.
- Your MySQL connection id is 9
- Server version: 8.0.13 Source distribution
- Copyright (c) 2000, 2018, Oracle and/or its affiliates. All rights reserved.
- Oracle is a registered trademark of Oracle Corporation and/or its
- affiliates. Other names may be trademarks of their respective
- owners.
- Type 'help;' or 'h' for help. Type 'c' to clear the current input statement.
- mysql>
- dnf install php-pear php-devel make
- pecl install mcrypt
- vi /etc/php.ini
- extension=mcrypt.so
- php -m |grep mcrypt
那cockpit可以做什么呢
1). 支持web终端 , 在web中关闭防火墙 , selinux , 如图2

文章插图
2). 支持虚拟机管理 , 需要安装cockpit-machines 如图3

文章插图
3). 支持docker管理 , 需要安装cockpit-docker
4). 支持k8s dashboard管理 , 需要安装 cockpit-kubernetes
5). 支持web界面配置网卡bond , 如图4

文章插图
等等
cockpit 安装
- dnf install cockpit
- dnf install cockpit-machines
- systemctl enable --now cockpit.socket
Redhat7.6 引入了Podman 。Podman通过提供与Docker命令行类似的功能 。我们对比发现 CentOS8 中 cockpit-docker 不见了 。可能Redhat 更推荐用自家的podman 。CentOS7 和 CentOS8 cockpit 相关软件包对比如下:
- CentOS7
- [root@pangu]# yum list |grep cockpit
- cockpit.x86_64 195.1-1.el7.centos.0.1 @extras
- cockpit-bridge.x86_64 195.1-1.el7.centos.0.1 @extras
- cockpit-kubernetes.x86_64 195.1-1.el7.centos.0.1 @extras
- cockpit-machines.noarch 195.1-1.el7.centos.0.1 @extras
- cockpit-system.noarch 195.1-1.el7.centos.0.1 @extras
- cockpit-ws.x86_64 195.1-1.el7.centos.0.1 @extras
- cockpit-composer.noarch 1-1.el7 extras
- cockpit-dashboard.x86_64 195.1-1.el7.centos.0.1 extras
- cockpit-doc.x86_64 195.1-1.el7.centos.0.1 extras
- cockpit-docker.x86_64 195.1-1.el7.centos.0.1 extras
- cockpit-machines.x86_64 176-4.el7.centos extras
- cockpit-machines-ovirt.noarch 195.1-1.el7.centos.0.1 extras
- cockpit-packagekit.x86_64 176-4.el7.centos extras
- cockpit-packagekit.noarch 195.1-1.el7.centos.0.1 extras
- cockpit-pcp.x86_64 195.1-1.el7.centos.0.1 extras
- cockpit-storaged.noarch 195.1-1.el7.centos.0.1 extras
- cockpit-subions.noarch 160-1.el7.centos extras
- cockpit-tests.x86_64 195.1-1.el7.centos.0.1 extras
推荐阅读
- 装过花露水的瓶子怎么快速去味 花露水打碎了味道太浓怎么办
- ps中如何制作影子呢
- 无线宽带路由器除了WiFi上网还能有什么用,如何正确设置DHCP服务
- 「译」 如何做到一秒渲染一个移动页面
- 如何处理人际关系
- 如何去除腋毛
- 如何画舞台妆
- 如何保存乌龙茶
- 什么是轻触开关 轻触开关如何选购
- 久坐如何瘦腰呢
